File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 6868# suite/file 'setup' in bats, but we'd lose output on success). During dev, you
6969# may want to add --show-output-of-passing-tests (and read bats docs for other
7070# cmdline args).
71+ #
72+ # In CI, this target is executed containerized (and uses docker-in-docker).
73+ # $(KUBECONFIG) (a mount source) must be a path on the host.
7174.PHONY : tests
7275tests : image
7376 echo " KUBECONFIG: $( KUBECONFIG) " && \
@@ -90,7 +93,7 @@ tests: image
9093 --entrypoint " /bin/bash" \
9194 $(BATS_IMAGE ) \
9295 -c " set -ex; cd /cwd; \
93- echo ' kubeconfig head: ' ; cat /kubeconfig | head -n2; \
96+ cat /kubeconfig | head -n2; \
9497 kubectl get nodes; \
9598 echo ' Running k8s cluster cleanup (invasive)... ' ; \
9699 bash tests/bats/cleanup-from-previous-run.sh 2>&1 | tee -a $$ {_RUNDIR}/cleanup.outerr; \
You can’t perform that action at this time.
0 commit comments