Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
a46ba045
Commit
a46ba045
authored
Aug 20, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move a test script that will be used by many examples & tests.
parent
958841f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
Makefile
examples/hello/Makefile
+3
-1
wait.sh
test/wait.sh
+11
-0
No files found.
examples/hello/Makefile
View file @
a46ba045
...
...
@@ -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
...
...
examples/hello
/wait.sh
→
test
/wait.sh
View file @
a46ba045
...
...
@@ -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
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment