Skip to content

Commit 9a668f3

Browse files
Fix upload
1 parent 2384cd5 commit 9a668f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/upload_function.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ case ${1} in
4545
kubectl exec -n ${NAMESPACE} ${CLUSTER}-pulsar-broker-0 -- bin/pulsar-admin packages upload function://public/default/test-go-function --path /pulsar/go-examples/exclamationFunc --description "test golang function"
4646
;;
4747
node)
48+
kubectl cp "${PULSAR_HOME}/.ci/examples/node-examples" "${NAMESPACE}/${CLUSTER}-pulsar-broker-0:/pulsar/"
4849
kubectl exec -n ${NAMESPACE} ${CLUSTER}-pulsar-broker-0 -- bin/pulsar-admin packages upload function://public/default/test-node-function --path /pulsar/node-examples/exclamation.js --description "test nodejs function"
4950
;;
5051
esac

0 commit comments

Comments
 (0)