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
7c234d22
Commit
7c234d22
authored
Mar 09, 2015
by
Piotr Szczesniak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5177 from roberthbailey/guestbook-teardown
Always stop the guestbook example regardless of how the tests finishes.
parents
d9848524
451727aa
Show 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 @
7c234d22
...
...
@@ -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