diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-12-08 09:58:15 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-12-08 09:58:15 -0700 |
| commit | 3723f31714924778edb0d424cdb2303c7447ce8e (patch) | |
| tree | 0991e7001c85737bc693f14dd64655135022f7e7 /build-docker-containers.sh | |
| parent | 6566b6759c4c23e797c6bc55f1463f16db145678 (diff) | |
Support overriding the openbook-v4-installer git repo URL
Diffstat (limited to 'build-docker-containers.sh')
| -rwxr-xr-x | build-docker-containers.sh | 3 |
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/ |
