Loading csp-lmc-mid/.make/k8s.mk +2 −2 Original line number Diff line number Diff line Loading @@ -194,7 +194,8 @@ k8s_test = tar -c test-harness/ | \ # base64 payload is given a boundary "~~~~BOUNDARY~~~~" and extracted using perl # clean up the run to completion container # exit the saved status k8s_test: deploy show wait## test the application on K8s k8s_test: deploy wait## test the application on K8s @echo "KUBE_NAMESPACE: $(KUBE_NAMESPACE)" $(call k8s_test,test); \ status=$$?; \ rm -fr build; \ Loading @@ -203,7 +204,6 @@ k8s_test: deploy show wait## test the application on K8s perl -ne 'BEGIN {$$on=0;}; if (index($$_, "~~~~BOUNDARY~~~~")!=-1){$$on+=1;next;}; print if $$on % 2;' | \ base64 -d | tar -xzf -; \ kubectl --namespace $(KUBE_NAMESPACE) delete pod $(TEST_RUNNER); \ make delete exit $$status Loading Loading
csp-lmc-mid/.make/k8s.mk +2 −2 Original line number Diff line number Diff line Loading @@ -194,7 +194,8 @@ k8s_test = tar -c test-harness/ | \ # base64 payload is given a boundary "~~~~BOUNDARY~~~~" and extracted using perl # clean up the run to completion container # exit the saved status k8s_test: deploy show wait## test the application on K8s k8s_test: deploy wait## test the application on K8s @echo "KUBE_NAMESPACE: $(KUBE_NAMESPACE)" $(call k8s_test,test); \ status=$$?; \ rm -fr build; \ Loading @@ -203,7 +204,6 @@ k8s_test: deploy show wait## test the application on K8s perl -ne 'BEGIN {$$on=0;}; if (index($$_, "~~~~BOUNDARY~~~~")!=-1){$$on+=1;next;}; print if $$on % 2;' | \ base64 -d | tar -xzf -; \ kubectl --namespace $(KUBE_NAMESPACE) delete pod $(TEST_RUNNER); \ make delete exit $$status Loading