Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
451727aa
Commit
451727aa
authored
Mar 09, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always stop the guestbook example regardless of how the tests finishes. This
should more reliably clean up the external load balancer.
parent
53ec66ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
guestbook.sh
hack/e2e-suite/guestbook.sh
+7
-1
No files found.
hack/e2e-suite/guestbook.sh
View file @
451727aa
...
...
@@ -33,9 +33,15 @@ export KUBECTL KUBE_CONFIG_FILE
source
"
${
KUBE_ROOT
}
/cluster/kube-env.sh"
source
"
${
KUBE_VERSION_ROOT
}
/cluster/
${
KUBERNETES_PROVIDER
}
/util.sh"
GUESTBOOK
=
"
${
KUBE_ROOT
}
/examples/guestbook"
function
teardown
()
{
${
KUBECTL
}
stop
-f
"
${
GUESTBOOK
}
"
}
prepare-e2e
GUESTBOOK
=
"
${
KUBE_ROOT
}
/examples/guestbook"
trap
"teardown"
EXIT
echo
"WARNING: this test is a no op that only attempts to launch guestbook resources."
# Launch the guestbook example
...
...
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