From 3723f31714924778edb0d424cdb2303c7447ce8e Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Fri, 8 Dec 2017 09:58:15 -0700 Subject: Support overriding the openbook-v4-installer git repo URL --- build-docker-containers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-docker-containers.sh') 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/ -- cgit v1.3