diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-01-02 00:23:19 +0000 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-01-02 00:23:19 +0000 |
| commit | 51d48e2af6b4890fa9b58b5f2c036a6394f7e596 (patch) | |
| tree | 1dadf18920f41e209a9629b7de089a53702d6d1b | |
| parent | 66df8049eae4b3ec83467a81723b8b2d13f0b7ed (diff) | |
Remove staging-fresh and prod-fresh targets
I initially created these targets so that I could easily redeploy a full server
from the terminal, including creating the necessary VPSs using my libcloud
helper repository.
However, a couple of years in, I have never done a -fresh deploy. While I am
planning to migrate to a different hosting provider soon, it doesn't have a
libcloud backend, so it turns out that this -fresh idea was overengineered and
unecessary.
I already have a runbook for transferring VPSs, so I can gradually automate
that instead if it becomes necessary.
| -rw-r--r-- | Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -3,7 +3,7 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -.PHONY: check staging prod transport lint staging-fresh prod-fresh +.PHONY: check staging prod transport lint check: make lint @@ -23,15 +23,3 @@ transport: lint: precious --ascii lint --all - -staging-fresh: - ~/Documents/libcloud/recreate xmpp-continuous-nonprod - ANSIBLE_SSH_ARGS="-F /tmp/early_ssh_config" ansible-playbook --forks 1 \ - --inventory inventory/staging.ini playbook.yaml - -prod-fresh: - echo "You are about to recreate PROD. Sleeping for 60s to let this sink in" - sleep 60 - ~/Documents/libcloud/recreate xmpp-prod - ANSIBLE_SSH_ARGS="-F /tmp/early_ssh_config" ansible-playbook --forks 1 \ - --inventory inventory/prod.ini playbook.yaml |
