Code Review
/
storperf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9917119
)
Adding docker tag
07/35507/1
author
mbeierl
<mark.beierl@dell.com>
Mon, 29 May 2017 20:57:09 +0000
(16:57 -0400)
committer
mbeierl
<mark.beierl@dell.com>
Mon, 29 May 2017 20:57:09 +0000
(16:57 -0400)
Adds the tag to use when running docker from the DOCKER_TAG environment
variable.
Change-Id: Idde85510df01f8a809049dac62872db0c8a5bf25
JIRA: STORPERF-128
Signed-off-by: mbeierl <mark.beierl@dell.com>
ci/launch_docker_container.sh
patch
|
blob
|
history
diff --git
a/ci/launch_docker_container.sh
b/ci/launch_docker_container.sh
index
b119946
..
ec9c4d8
100755
(executable)
--- a/
ci/launch_docker_container.sh
+++ b/
ci/launch_docker_container.sh
@@
-29,7
+29,12
@@
then
sudo chown 33:33 job/carbon
fi
-docker pull opnfv/storperf:latest
+if [ -z $DOCKER_TAG ]
+then
+ DOCKER_TAG=latest
+fi
+
+docker pull opnfv/storperf:$DOCKER_TAG
docker run -d --env-file `pwd`/job/admin.rc \
-p 5000:5000 \