aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-11 11:57:54 -0300
committerEuAndreh <eu@euandre.org>2019-06-11 11:57:54 -0300
commit160f976463ce535bcf156179012e4e9d976cf0a1 (patch)
tree0604bab245fa6392294c8fff02a1df702e540834
parentTODOs.org (diff)
downloadserver-160f976463ce535bcf156179012e4e9d976cf0a1.tar.gz
server-160f976463ce535bcf156179012e4e9d976cf0a1.tar.xz
Remove duplicated dangling shutdown code
-rwxr-xr-xscripts/ci/deploy.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh
index d4eccd0..8d514ba 100755
--- a/scripts/ci/deploy.sh
+++ b/scripts/ci/deploy.sh
@@ -51,11 +51,6 @@ envsubst < ./scripts/box/create-backup.env.sh > ./generated/create-backup.sh
envsubst < ./scripts/box/restore-backup.env.sh > ./generated/restore-backup.sh
echo "Done."
-echo "Shutting down running containers and backing up data..."
-create-known-hosts-file
-ssh "$TLD" /home/vps/create-backup.sh > ./logs/borg-create.txt 2>&1
-echo "Done."
-
echo "Running the Ansible shutdown.yaml playbook..."
create-known-hosts-file
ansible-playbook -v shutdown.yaml > ./logs/ansible-shutdown.txt