Commit a46ba045 authored by Geoff Simmons's avatar Geoff Simmons

Move a test script that will be used by many examples & tests.

parent 958841f4
......@@ -29,6 +29,8 @@
mkpath := $(abspath $(lastword $(MAKEFILE_LIST)))
mkdir := $(dir $(mkpath))
TESTDIR=$(mkdir)/../../test
all: deploy
deploy-helm:
......@@ -53,7 +55,7 @@ verify:
wait:
@echo Waiting until varnish-ingress Pods are not configured for Ingress
$(mkdir)/wait.sh app=varnish-ingress
$(TESTDIR)/wait.sh app=varnish-ingress
uninstall-helm:
@helm uninstall viking-ingress
......
......@@ -6,16 +6,6 @@ if [ -z "$1" ]; then
fi
MYDIR=$(dirname ${BASH_SOURCE[0]})
source ${MYDIR}/../../test/utils.sh
source ${MYDIR}/utils.sh
NS=default
if [ -n "$2" ]; then
NS=$2
fi
TMO=120
if [ -n "$3" ]; then
TMO=$3
fi
wait_until_not_configured $1 ${NS} ${TMO}
wait_until_not_configured "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment