diff options
author | EuAndreh <eu@euandre.org> | 2019-06-05 23:11:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-05 23:11:23 -0300 |
commit | acc4b6ac3d0346e46fcaeb1074f8f74aa8336e8b (patch) | |
tree | 7ab7472f6aae2cf677880fca5b45f94b10f2ac35 /scripts/ci/setup.sh | |
parent | TODOs.org (diff) | |
download | toph-acc4b6ac3d0346e46fcaeb1074f8f74aa8336e8b.tar.gz toph-acc4b6ac3d0346e46fcaeb1074f8f74aa8336e8b.tar.xz |
Restore backup in Ansible instead of Bash
Diffstat (limited to 'scripts/ci/setup.sh')
-rwxr-xr-x | scripts/ci/setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh index 63e3657..dbbf32a 100755 --- a/scripts/ci/setup.sh +++ b/scripts/ci/setup.sh @@ -18,7 +18,7 @@ popd echo "Done." # git smudge after git-crypt clears file permissions -chmod 600 ./secrets/ssh/vps-box-client +chmod 400 ./secrets/ssh/vps-box-client cat .envrc >> ~/.buildenv source .envrc @@ -32,3 +32,5 @@ envsubst < ./ssh.env.conf >> ~/.ssh/config envsubst < ./hosts.env > ./hosts envsubst < ./docker-compose.env.yaml > ./docker-compose.yaml envsubst < ./user-data.env.sh > ./user-data.sh +envsubst < ./scripts/box/create-backup.env.sh > ./scripts/box/create-backup.sh +envsubst < ./scripts/box/restore-backup.env.sh > ./scripts/box/restore-backup.sh |