aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODOs.org1
-rwxr-xr-xscripts/ci/provision.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODOs.org b/TODOs.org
index 368b185..fc1e3f3 100644
--- a/TODOs.org
+++ b/TODOs.org
@@ -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..."