File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -64,18 +64,12 @@ CONFIG=/tmp/python-gitlab.cfg
64
64
65
65
cleanup () {
66
66
rm -f " ${CONFIG} "
67
- log " Stopping gitlab-test docker container..."
68
- docker stop gitlab-test > /dev/null &
69
- docker_stop_pid=$!
70
- log " Waiting for gitlab-test docker container to exit..."
71
- docker wait gitlab-test > /dev/null
72
- wait " ${docker_stop_pid} "
73
- log " Removing gitlab-test docker container..."
74
- docker rm gitlab-test > /dev/null
75
67
log " Deactivating Python virtualenv..."
76
68
command -v deactivate > /dev/null 2>&1 && deactivate || true
77
69
log " Deleting python virtualenv..."
78
70
rm -rf " $VENV "
71
+ log " Stopping gitlab-test docker container..."
72
+ docker rm -f gitlab-test > /dev/null
79
73
log " Done."
80
74
}
81
75
[ -z " ${BUILD_TEST_ENV_AUTO_CLEANUP+set} " ] || {
You can’t perform that action at this time.
0 commit comments