| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2020-08-10 | Migration: Remove Ansible and Docker code, move only to NixOS | EuAndreh | 1 | -105/+0 | |
| 2020-08-02 | deploy.sh: mv -> cp | EuAndreh | 1 | -1/+1 | |
| 2020-08-02 | Rename DESTROY_VOLUME -> DESTROY_VPS | EuAndreh | 1 | -1/+1 | |
| 2020-08-02 | Revert "provision.env.yaml: Tweak relative paths" | EuAndreh | 1 | -1/+2 | |
| This reverts commit cb15c40682b990697087380e102cd39fca47f6d9. Instead of the previous solution, copy the provision.yaml file before running the Ansible playbook. | |||||
| 2020-08-02 | provision.yaml: Use environment value of VPS_VOLUME_NAME | EuAndreh | 1 | -1/+2 | |
| 2019-06-11 | deploy.sh: assert dir before running finish-phase | EuAndreh | 1 | -0/+3 | |
| Avoid failures that happened between a pushd and a popd to fail to call ./scripts/ci/mail.sh. | |||||
| 2019-06-11 | Don't fail when =terraform apply= is a noop | EuAndreh | 1 | -1/+1 | |
| 2019-06-11 | Remove duplicated dangling shutdown code | EuAndreh | 1 | -5/+0 | |
| 2019-06-11 | Run shutdown with Ansible instead of Bash | EuAndreh | 1 | -15/+13 | |
| 2019-06-11 | Run Terraform refresh when not destroying everything | EuAndreh | 1 | -1/+2 | |
| 2019-06-11 | Debug failing Ansible logs | EuAndreh | 1 | -1/+1 | |
| 2019-06-11 | s/mail_debug_log/finish_phase/ | EuAndreh | 1 | -2/+2 | |
| 2019-06-11 | Log when finished runnign trap | EuAndreh | 1 | -0/+2 | |
| 2019-06-11 | Debug failing Ansible playbook logs | EuAndreh | 1 | -1/+1 | |
| 2019-06-11 | Log if trap was called on error or normal exit | EuAndreh | 1 | -2/+10 | |
| 2019-06-11 | Debug failing run of Ansible playbook | EuAndreh | 1 | -1/+1 | |
| 2019-06-11 | Run git crypt lock inside trap function | EuAndreh | 1 | -7/+7 | |
| 2019-06-11 | Move envsubst calls out of setup.sh into deploy.sh | EuAndreh | 1 | -0/+9 | |
| 2019-06-10 | Output all generated files on ./generated/, refactor .envrc variables | EuAndreh | 1 | -28/+16 | |
| 2019-06-10 | Store updated Terraform files in case of failure | EuAndreh | 1 | -0/+8 | |
| 2019-06-10 | ci dbg | EuAndreh | 1 | -1/+1 | |
| 2019-06-10 | Fix missing stdout redirection '>' character | EuAndreh | 1 | -1/+1 | |
| 2019-06-10 | Put terraform output in email logs.txt | EuAndreh | 1 | -3/+3 | |
| 2019-06-10 | Commit public key instead of downloading it | EuAndreh | 1 | -1/+1 | |
| 2019-06-10 | Import GPG key before provisioning | EuAndreh | 1 | -0/+1 | |
| 2019-06-10 | Change order of stderr -> stdout redirection | EuAndreh | 1 | -2/+2 | |
| Thanks ShellCheck. | |||||
| 2019-06-10 | Show in email subject if the run failed | EuAndreh | 1 | -1/+2 | |
| 2019-06-10 | Send logs via email after finishing provision.sh | EuAndreh | 1 | -2/+9 | |
| The email will be send for both sucessfull and failed runs. | |||||
| 2019-06-10 | Use create_known_hosts_file function instead of duplicating behaviour | EuAndreh | 1 | -3/+6 | |
| 2019-06-10 | Fail CI run if backup fails | EuAndreh | 1 | -3/+3 | |
| 2019-06-10 | Create generated-known-hosts.txt twice | EuAndreh | 1 | -0/+1 | |
| Since it can change after being destroyed by Terraform, we can't create it before and use it later. | |||||
| 2019-06-10 | Allow shutdown process to fail | EuAndreh | 1 | -2/+2 | |
| 2019-06-10 | Provision DNS entries using DigitalOcean instead of DNS registrar | EuAndreh | 1 | -1/+2 | |
| This way we can implement dynamic (provision-time) Floating IP, instead of a hardcoded pre-created Floating IP address. Related changes: - remove =terraform-godaddy= provider, use =digitalocean_record= instead; - create =generated-known-hosts= after provisioning instead of during =setup.sh=: use the =$(terraform output public_floating_ip)= value to make this file dynamic; - remote the =$PINNED_IP= and =$TF_VAR_floating_ip= variables; - add type and descriptions to variable declarations in Terraform recipe. | |||||
| 2019-06-09 | Revert "Create Terraform plan before shutting down running containers" | EuAndreh | 1 | -6/+6 | |
| This reverts commit c8963acd02a5095bafb46c79abd45eec45059707. | |||||
| 2019-06-09 | Don't use terraform-full derivation | EuAndreh | 1 | -3/+1 | |
| 2019-06-09 | Create Terraform plan before shutting down running containers | EuAndreh | 1 | -8/+8 | |
| 2019-06-09 | Quote $() call (ShellCheck offense) | EuAndreh | 1 | -1/+1 | |
| 2019-06-09 | Make terraform-provider-godaddy available for Terraform | EuAndreh | 1 | -0/+3 | |
| 2019-06-07 | Revert "Add verbose logging for Ansible playbook command" | EuAndreh | 1 | -1/+1 | |
| This reverts commit 80ee903ac9f09c22b4ef3458393242fa929cff89. | |||||
| 2019-06-07 | Add verbose logging for Ansible playbook command | EuAndreh | 1 | -1/+1 | |
| 2019-06-07 | Fix boolean logic bug on ${DESTROY_VOLUME} usage | EuAndreh | 1 | -2/+2 | |
| 2019-06-06 | Add ${DESTROY_VOLUME} operational toggle | EuAndreh | 1 | -2/+6 | |
| This way I can dynamically control whether to destroy and recreate all the existing infrastructure entirely from scratch. The advantages of doing so are: - test the non-existence of local state on every deployment; - make sure I can always recreate everything from scratch. The disadvantages are: - slower deployment times; - longer downtime during deployments. | |||||
| 2019-06-06 | Notify when backup fails instead od saying nothing | EuAndreh | 1 | -1/+1 | |
| 2019-06-06 | Allow backups to fail for now | EuAndreh | 1 | -1/+1 | |
| 2019-06-05 | Fix ShellCheck offenses | EuAndreh | 1 | -0/+2 | |
| 2019-06-05 | Restore backup in Ansible instead of Bash | EuAndreh | 1 | -6/+1 | |
| 2019-06-05 | Restore from backup in fresh volume | EuAndreh | 1 | -9/+26 | |
| 2019-06-05 | Add volume to VPS | EuAndreh | 1 | -4/+0 | |
| Don't destroy everything on deploy. This would destroy the volume too. | |||||
| 2019-06-05 | Always destroy infrastructure before applying | EuAndreh | 1 | -0/+4 | |
| 2019-06-05 | Uncomment accidentally commented code | EuAndreh | 1 | -6/+6 | |
