File tree Expand file tree Collapse file tree
.ci/tests/integration/cases/quoted-function-details Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,21 @@ PULSAR_NAMESPACE=${PULSAR_NAMESPACE:-"default"}
2626PULSAR_RELEASE_NAME=${PULSAR_RELEASE_NAME:- " sn-platform" }
2727E2E_KUBECONFIG=${E2E_KUBECONFIG:- " /tmp/e2e-k8s.config" }
2828MANIFESTS_FILE=" ${BASE_DIR} " /.ci/tests/integration/cases/quoted-function-details/manifests.yaml
29- FUNCTION_NAME=function-details-quoted-sample
30- STS_NAME=${FUNCTION_NAME} -function
3129
3230source " ${BASE_DIR} " /.ci/helm.sh
3331
32+ FUNCTION_NAME=function-details-quoted-sample
33+ STS_NAME=${FUNCTION_NAME} -function
34+
3435if [ ! " $KUBECONFIG " ]; then
3536 export KUBECONFIG=${E2E_KUBECONFIG}
3637fi
3738
39+ if [ -z " ${FUNCTION_NAME} " ]; then
40+ echo " function name is empty"
41+ exit 1
42+ fi
43+
3844cleanup () {
3945 kubectl delete -f " ${MANIFESTS_FILE} " > /dev/null 2>&1 || true
4046}
You can’t perform that action at this time.
0 commit comments