summaryrefslogtreecommitdiffstats
path: root/jjb/testsuite/testsuite-docker.sh
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-05-02 16:00:03 -0400
committerJerry Flood <jf9860@att.com>2017-05-03 11:48:42 -0400
commitffab4f773e77204e96cd6c37cbeb1979ad41e302 (patch)
treeb3e41f3c119eadd6cedd5d7a22112c544f3a338c /jjb/testsuite/testsuite-docker.sh
parent5b598346c4943e967ecc7891745d408954592f7c (diff)
Add the demo git to the build.
robot repo should use demo repo as a submodule instead of a copy of their stuff. Coordination is needed between demo Also move the shell script out of the template as per review Issue: TEST-14 Change-Id: I0c1d8d9d3b1317d1c099c8fdaafa389af71d7b60 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'jjb/testsuite/testsuite-docker.sh')
-rw-r--r--jjb/testsuite/testsuite-docker.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/testsuite/testsuite-docker.sh b/jjb/testsuite/testsuite-docker.sh
new file mode 100644
index 000000000..33eea4f81
--- /dev/null
+++ b/jjb/testsuite/testsuite-docker.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES ================='
+cp $WORKSPACE/docker/* .
+docker -D build -t openecomp/testsuite .
+export REPO="nexus3.onap.org:10003"
+for tag in $tags
+do
+ docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:$tag
+ docker push $REPO/openecomp/testsuite:$tag
+done