diff options
author | EuAndreh <eu@euandre.org> | 2019-06-06 20:39:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-06 20:40:18 -0300 |
commit | a53af7b7287bb5341892956751c2a75301b6b433 (patch) | |
tree | 33752743842e216c1b81c9e6fcddc48c932684c7 | |
parent | Add mode to all files being copied by Ansible (diff) | |
download | server-a53af7b7287bb5341892956751c2a75301b6b433.tar.gz server-a53af7b7287bb5341892956751c2a75301b6b433.tar.xz |
Allow backups to fail for now
-rw-r--r-- | TODOs.org | 1 | ||||
-rwxr-xr-x | scripts/ci/provision.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -139,6 +139,7 @@ Right now the script fails on Terraform commands before reaching git commands. I ** TODO Email verbose (Ansible) log files in case of error builds.sr.ht only emails the link. Should it be extended to support encrypted log attachments? ** TODO Use environment variables for SSH key paths and volume mounts +** TODO Don't allow backups to fail * Must ** Fully deployable from code Use NixOps and Terraform to fully automate all of the configuration. diff --git a/scripts/ci/provision.sh b/scripts/ci/provision.sh index a56d9f6..3c0c04a 100755 --- a/scripts/ci/provision.sh +++ b/scripts/ci/provision.sh @@ -24,7 +24,7 @@ setup_borg_files() { echo "Shutting down running containers and backing up data..." ssh "$TLD" "cd /home/vps/ && docker-compose down" setup_borg_files ./scripts/box/create-backup.env.sh create-backup.sh -ssh "$TLD" /home/vps/create-backup.sh +ssh "$TLD" /home/vps/create-backup.sh ||: echo "Done." echo "Initializing Terraform..." |