summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2017-05-29 20:59:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-29 20:59:25 +0000
commit9c45fac0bbe4f32c1c6baea0ed27c351fe757ae8 (patch)
treedf220441ac02271ebc5a678006a3611083b12191 /ci
parent8f3c6859e483961fd9740bb662bbd049b512bba2 (diff)
parentd96edc28f85b78f9323d407191d60e0d9c8749e2 (diff)
Merge "Adding docker tag"
Diffstat (limited to 'ci')
-rwxr-xr-xci/launch_docker_container.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/launch_docker_container.sh b/ci/launch_docker_container.sh
index b119946..ec9c4d8 100755
--- 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 \