diff options
-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..." |