FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
ensure that cleanup() runs if terminated by the user · andreascian/python-gitlab@17914a3 · GitHub
andreascian
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commit
17914a3
Browse files
Browse the repository at this point in the history
Browse files
rhansen
committed
ensure that cleanup() runs if terminated by the user
1 parent
58106a0
commit
17914a3
Copy full SHA for 17914a3
1 file changed
+1
Lines changed: 1 addition & 0 deletions
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
tools
build_test_env.sh
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
tools/build_test_env.sh
Copy file name to clipboard
Expand all lines: tools/build_test_env.sh
+1
Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ cleanup() {
59
59
}
60
60
[
-z
"
${BUILD_TEST_ENV_AUTO_CLEANUP+set}
"
]
||
{
61
61
trap
cleanup EXIT
62
+
trap
'
exit 1
'
HUP INT TERM
62
63
}
63
64
64
65
docker run --name gitlab-test --detach --publish 8080:80 \
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments