diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-13 16:50:55 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-13 16:50:55 -0700 |
| commit | ffa2a169ea98fb54a29d90ca158059e79e2816ba (patch) | |
| tree | 018461d031b71178fa48b9672d8e39bac4de1270 /ob-deploy-branch.sh | |
initial commit
Diffstat (limited to 'ob-deploy-branch.sh')
| -rwxr-xr-x | ob-deploy-branch.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ob-deploy-branch.sh b/ob-deploy-branch.sh new file mode 100755 index 0000000..2af4340 --- /dev/null +++ b/ob-deploy-branch.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +branch="${1}" +buildroot="$(pwd)" + +pushd ${buildroot}/conf +cp ${HOME}/env.yaml.openbook . +rm -f env.yaml +ln -s env.yaml.openbook env.yaml +popd +pushd ${buildroot} +ansible-playbook -i inventory_json_${branch}.rb openbook_installer.yaml +popd |
