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
bf42ea26
Commit
bf42ea26
authored
Dec 08, 2014
by
Deyuan Deng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use EXIT pseudo-signal
parent
7f2d0c0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
local-up-cluster.sh
hack/local-up-cluster.sh
+1
-1
test-integration.sh
hack/test-integration.sh
+1
-1
No files found.
hack/local-up-cluster.sh
View file @
bf42ea26
...
@@ -150,6 +150,6 @@ cleanup()
...
@@ -150,6 +150,6 @@ cleanup()
exit
0
exit
0
}
}
trap
cleanup EXIT
SIGINT
trap
cleanup EXIT
while
true
;
do
read
x
;
done
while
true
;
do
read
x
;
done
hack/test-integration.sh
View file @
bf42ea26
...
@@ -33,7 +33,7 @@ cleanup() {
...
@@ -33,7 +33,7 @@ cleanup() {
"
${
KUBE_ROOT
}
/hack/build-go.sh"
"
$@
"
cmd/integration
"
${
KUBE_ROOT
}
/hack/build-go.sh"
"
$@
"
cmd/integration
# Run cleanup to stop etcd on interrupt or other kill signal.
# Run cleanup to stop etcd on interrupt or other kill signal.
trap
cleanup
HUP INT QUIT TERM
trap
cleanup
EXIT
kube::etcd::start
kube::etcd::start
...
...
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