summaryrefslogtreecommitdiffstats
path: root/ci/launch_docker_container.sh
diff options
context:
space:
mode:
authorShrenik <shrenik.jain@research.iiit.ac.in>2017-05-31 00:38:55 +0530
committerShrenik <shrenik.jain@research.iiit.ac.in>2017-06-05 22:22:41 +0530
commit5596aa1f65580af279b27569fbddac292cbcc2a6 (patch)
tree7eccb0fd3e9e5aec847cfbfd34a8c36e62b32837 /ci/launch_docker_container.sh
parent8f3c6859e483961fd9740bb662bbd049b512bba2 (diff)
Adding CORS
Adds flask-cors module so that SwaggerUI can examine content from a different container JIRA: STORPERF-129 Change-Id: I9c47a2ea464da83910c368d771dce13f5364ca23 Signed-off-by: Shrenik <shrenik.jain@research.iiit.ac.in>
Diffstat (limited to 'ci/launch_docker_container.sh')
-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 \