File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4343# cmdline args).
4444.PHONY : tests
4545tests : image
46+ echo " KUBECONFIG: $( KUBECONFIG) " && \
4647 mkdir -p tests-out && \
4748 export _RUNDIR=$$(mktemp -p tests-out -d -t bats-tests-$$(date +%s ) -XXXXX ) && \
4849 docker run \
@@ -60,9 +61,9 @@ tests: image
6061 -u $(shell id -u ${USER}) :$(shell id -g ${USER}) \
6162 --entrypoint " /bin/bash" \
6263 $(BATS_IMAGE ) \
63- -c " set -x ; cd /cwd; \
64+ -c " set -ex ; cd /cwd; \
6465 echo ' kubeconfig head:' ; cat /kubeconfig | head -n2; \
65- echo ' kubectl get nodes' || exit 1 ; \
66+ kubectl get nodes; \
6667 echo ' Running k8s cluster cleanup (invasive)... ' ; \
6768 bash tests/bats/cleanup-from-previous-run.sh & > $$ {_RUNDIR}/cleanup.outerr || \
6869 (echo ' Cleanup failed:' ; cat $$ {_RUNDIR}/cleanup.outerr); \
You can’t perform that action at this time.
0 commit comments