Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Turn off $DESTROY_VOLUME toggle | EuAndreh | 2019-06-11 | 1 | -1/+1 | |
| | ||||||
* | Run shutdown with Ansible instead of Bash | EuAndreh | 2019-06-11 | 4 | -17/+34 | |
| | ||||||
* | Run Terraform refresh when not destroying everything | EuAndreh | 2019-06-11 | 1 | -1/+2 | |
| | ||||||
* | Debug failing Ansible logs | EuAndreh | 2019-06-11 | 1 | -1/+1 | |
| | ||||||
* | s/mail_debug_log/finish_phase/ | EuAndreh | 2019-06-11 | 1 | -2/+2 | |
| | ||||||
* | Log when finished runnign trap | EuAndreh | 2019-06-11 | 1 | -0/+2 | |
| | ||||||
* | Debug failing Ansible playbook logs | EuAndreh | 2019-06-11 | 1 | -1/+1 | |
| | ||||||
* | Log if trap was called on error or normal exit | EuAndreh | 2019-06-11 | 1 | -2/+10 | |
| | ||||||
* | Debug failing run of Ansible playbook | EuAndreh | 2019-06-11 | 1 | -1/+1 | |
| | ||||||
* | Don't rely on git when running .buildenv and .envrc | EuAndreh | 2019-06-11 | 1 | -1/+1 | |
| | ||||||
* | Revert "Install gitMinimal package to allow getting git SHA in .buildenv" | EuAndreh | 2019-06-11 | 1 | -2/+0 | |
| | | | | This reverts commit 8bb7cd9d1f090a3e20e212566746b61a5f1fe4e9. | |||||
* | Install gitMinimal package to allow getting git SHA in .buildenv | EuAndreh | 2019-06-11 | 1 | -0/+2 | |
| | ||||||
* | Run git crypt lock inside trap function | EuAndreh | 2019-06-11 | 1 | -7/+7 | |
| | ||||||
* | Move envsubst calls out of setup.sh into deploy.sh | EuAndreh | 2019-06-11 | 2 | -7/+9 | |
| | ||||||
* | Set the directory before sourcing | EuAndreh | 2019-06-11 | 2 | -2/+1 | |
| | ||||||
* | Quiet import GPG | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Allow envrc to be sourced in CI | EuAndreh | 2019-06-10 | 2 | -3/+4 | |
| | ||||||
* | Remove call to =cd= in envrc files | EuAndreh | 2019-06-10 | 2 | -1/+0 | |
| | ||||||
* | Reorder setup.sh | EuAndreh | 2019-06-10 | 1 | -6/+6 | |
| | ||||||
* | Switch $DESTROY_VOLUME back on | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Switch off $DESTROY_VOLUME toggle | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Output all generated files on ./generated/, refactor .envrc variables | EuAndreh | 2019-06-10 | 15 | -70/+72 | |
| | ||||||
* | TODOs.org | EuAndreh | 2019-06-10 | 1 | -15/+27 | |
| | ||||||
* | Store updated Terraform files in case of failure | EuAndreh | 2019-06-10 | 2 | -1/+10 | |
| | ||||||
* | Only send log email when running on CI | EuAndreh | 2019-06-10 | 1 | -0/+7 | |
| | ||||||
* | Ignore /logs.txt | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | ci dbg | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Fix missing stdout redirection '>' character | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Trust commited key | EuAndreh | 2019-06-10 | 2 | -1/+4 | |
| | ||||||
* | Add filename to logs.txt output | EuAndreh | 2019-06-10 | 1 | -1/+1 | |
| | | | | | Taken from: https://stackoverflow.com/questions/5917413/concatenate-multiple-files-but-include-filename-as-section-headers | |||||
* | Put terraform output in email logs.txt | EuAndreh | 2019-06-10 | 1 | -3/+3 | |
| | ||||||
* | Commit public key instead of downloading it | EuAndreh | 2019-06-10 | 2 | -1/+64 | |
| | ||||||
* | Re enable $DESTROY_VOLUME toggle | EuAndreh | 2019-06-10 | 1 | -0/+0 | |
| | ||||||
* | Import GPG key before provisioning | EuAndreh | 2019-06-10 | 2 | -0/+1 | |
| | ||||||
* | Disable SC2016 warnings | EuAndreh | 2019-06-10 | 1 | -0/+2 | |
| | ||||||
* | Change order of stderr -> stdout redirection | EuAndreh | 2019-06-10 | 1 | -2/+2 | |
| | | | | Thanks ShellCheck. | |||||
* | Encrypt attached log | EuAndreh | 2019-06-10 | 3 | -3/+6 | |
| | ||||||
* | Show in email subject if the run failed | EuAndreh | 2019-06-10 | 2 | -2/+16 | |
| | ||||||
* | Send logs via email after finishing provision.sh | EuAndreh | 2019-06-10 | 8 | -3/+54 | |
| | | | | The email will be send for both sucessfull and failed runs. | |||||
* | Disable $DESTROY_VOLUME operational toggle | EuAndreh | 2019-06-10 | 1 | -0/+0 | |
| | ||||||
* | Remove --progress from borg create | EuAndreh | 2019-06-10 | 1 | -1/+0 | |
| | | | | It shows filenames in CI output log. | |||||
* | Change SSH port | EuAndreh | 2019-06-10 | 1 | -0/+0 | |
| | ||||||
* | Use create_known_hosts_file function instead of duplicating behaviour | EuAndreh | 2019-06-10 | 1 | -3/+6 | |
| | ||||||
* | Fail CI run if backup fails | EuAndreh | 2019-06-10 | 2 | -4/+5 | |
| | ||||||
* | Don't run restore backup Ansible task when not required | EuAndreh | 2019-06-10 | 2 | -8/+2 | |
| | | | | | | | Instead of performing this task on the generated =restore-backup.sh= file, do it on provision.yaml. The boolean logic is less confusing and the interpolation is less tricky. | |||||
* | Create generated-known-hosts.txt twice | EuAndreh | 2019-06-10 | 1 | -0/+1 | |
| | | | | | Since it can change after being destroyed by Terraform, we can't create it before and use it later. | |||||
* | Allow shutdown process to fail | EuAndreh | 2019-06-10 | 1 | -2/+2 | |
| | ||||||
* | Provision DNS entries using DigitalOcean instead of DNS registrar | EuAndreh | 2019-06-10 | 6 | -64/+135 | |
| | | | | | | | | | | | | | 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. | |||||
* | Change $TLD | EuAndreh | 2019-06-09 | 1 | -0/+0 | |
| | ||||||
* | Rotate DNS registrar keys | EuAndreh | 2019-06-09 | 1 | -0/+0 | |
| |