aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-07-19 09:32:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-19 09:32:25 +0000
commit2f911f3f0500b3a1a0f5352282e88e2aea925a6d (patch)
treea6408ad63191bac77260252402d9fcc13b25048d /build.sh
parent0e593e964c648d8794b7945d77ae9dd41c7e59ac (diff)
parent6ff8e6fd6be9f1fc57506db52432a1cb20f4db99 (diff)
Merge "Add script to build all containers"
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 00000000..dbc79e0d
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+set -e
+
+repo=${repo:-opnfv}
+
+(cd docker && docker build -t "${repo}/functest" .)
+docker push "${repo}/functest"
+
+for dir in docker/core docker/healthcheck docker/smoke; do
+ (cd ${dir} && docker build -t "${repo}/functest-${dir##**/}" .)
+ docker push "${repo}/functest-${dir##**/}"
+done
+
+exit $?