summaryrefslogtreecommitdiff
path: root/build-docker-containers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-docker-containers.sh')
-rwxr-xr-xbuild-docker-containers.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-docker-containers.sh b/build-docker-containers.sh
index 7a7f971..c7663b6 100755
--- a/build-docker-containers.sh
+++ b/build-docker-containers.sh
@@ -3,6 +3,7 @@
artifact="${1}"
branch="${2}"
buildroot="$(pwd)"
+installer_url="${3:git@github.vcp.vzwnet.com:konstca/openbook-v4-installer.git}"
# clean docker containers
for i in $(sudo docker ps | grep -v 'COMMAND' | grep -v 'database' | awk '{print $1}'); do
@@ -35,7 +36,7 @@ sudo /root/openbook_build/ci/build.sh ${artifact}
# refresh openbook-v4-installer repo (ansible playbook)
pushd ${HOME}
-git clone git@github.vcp.vzwnet.com:konstca/openbook-v4-installer.git
+git clone ${installer_url}
sudo rsync -aq --delete --exclude=.git /root/openbook_build/ansible/ openbook-v4-installer/
sudo chown -R jenkins: openbook-v4-installer
pushd openbook-v4-installer/