Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
de55f6af
Commit
de55f6af
authored
9 years ago
by
Thomas Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix error in stop script
parent
fed3994c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/objectstore/stop-swift-ceph.sh
+13
-11
13 additions, 11 deletions
tests/objectstore/stop-swift-ceph.sh
with
13 additions
and
11 deletions
tests/objectstore/stop-swift-ceph.sh
+
13
−
11
View file @
de55f6af
...
...
@@ -23,16 +23,18 @@ if [ -z "$thisFolder" ]; then
thisFolder
=
"."
fi
;
# stopping and removing docker containers
for
container
in
`
cat
$thisFolder
/dockerContainerCeph.
$EXECUTOR_NUMBER
.swift
`
;
do
if
[
-n
"
$DEBUG
"
]
;
then
docker logs
$container
fi
echo
"Stopping and removing docker container
$container
"
# kills running container and removes it
docker
rm
-f
$container
done
;
if
[
-e
$thisFolder
/dockerContainerCeph.
$EXECUTOR_NUMBER
.swift
]
;
then
# stopping and removing docker containers
for
container
in
`
cat
$thisFolder
/dockerContainerCeph.
$EXECUTOR_NUMBER
.swift
`
;
do
if
[
-n
"
$DEBUG
"
]
;
then
docker logs
$container
fi
echo
"Stopping and removing docker container
$container
"
# kills running container and removes it
docker
rm
-f
$container
done
;
fi
;
# cleanup
rm
$thisFolder
/swift.config.php
rm
$thisFolder
/dockerContainerCeph.
$EXECUTOR_NUMBER
.swift
\ No newline at end of file
rm
-rf
$thisFolder
/swift.config.php
rm
-rf
$thisFolder
/dockerContainerCeph.
$EXECUTOR_NUMBER
.swift
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment