aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Switch off $DESTROY_VOLUME toggleEuAndreh2019-06-101-1/+1
* Output all generated files on ./generated/, refactor .envrc variablesEuAndreh2019-06-1015-70/+72
* TODOs.orgEuAndreh2019-06-101-15/+27
* Store updated Terraform files in case of failureEuAndreh2019-06-102-1/+10
* Only send log email when running on CIEuAndreh2019-06-101-0/+7
* Ignore /logs.txtEuAndreh2019-06-101-1/+1
* ci dbgEuAndreh2019-06-101-1/+1
* Fix missing stdout redirection '>' characterEuAndreh2019-06-101-1/+1
* Trust commited keyEuAndreh2019-06-102-1/+4
* Add filename to logs.txt output•••Taken from: https://stackoverflow.com/questions/5917413/concatenate-multiple-files-but-include-filename-as-section-headers EuAndreh2019-06-101-1/+1
* Put terraform output in email logs.txtEuAndreh2019-06-101-3/+3
* Commit public key instead of downloading itEuAndreh2019-06-102-1/+64
* Re enable $DESTROY_VOLUME toggleEuAndreh2019-06-101-0/+0
* Import GPG key before provisioningEuAndreh2019-06-102-0/+1
* Disable SC2016 warningsEuAndreh2019-06-101-0/+2
* Change order of stderr -> stdout redirection•••Thanks ShellCheck. EuAndreh2019-06-101-2/+2
* Encrypt attached logEuAndreh2019-06-103-3/+6
* Show in email subject if the run failedEuAndreh2019-06-102-2/+16
* Send logs via email after finishing provision.sh•••The email will be send for both sucessfull and failed runs. EuAndreh2019-06-108-3/+54
* Disable $DESTROY_VOLUME operational toggleEuAndreh2019-06-101-0/+0
* Remove --progress from borg create•••It shows filenames in CI output log. EuAndreh2019-06-101-1/+0
* Change SSH portEuAndreh2019-06-101-0/+0
* Use create_known_hosts_file function instead of duplicating behaviourEuAndreh2019-06-101-3/+6
* Fail CI run if backup failsEuAndreh2019-06-102-4/+5
* Don't run restore backup Ansible task when not required•••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. EuAndreh2019-06-102-8/+2
* Create generated-known-hosts.txt twice•••Since it can change after being destroyed by Terraform, we can't create it before and use it later. EuAndreh2019-06-101-0/+1
* Allow shutdown process to failEuAndreh2019-06-101-2/+2
* Provision DNS entries using DigitalOcean instead of DNS registrar•••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. EuAndreh2019-06-106-64/+135
* Change $TLDEuAndreh2019-06-091-0/+0
* Rotate DNS registrar keysEuAndreh2019-06-091-0/+0
* Revert "Create Terraform plan before shutting down running containers"•••This reverts commit c8963acd02a5095bafb46c79abd45eec45059707. EuAndreh2019-06-091-6/+6
* Don't use terraform-full derivationEuAndreh2019-06-093-6/+3
* Create Terraform plan before shutting down running containersEuAndreh2019-06-091-8/+8
* Quote $() call (ShellCheck offense)EuAndreh2019-06-091-1/+1
* Use same NIX_PATH locally and on the CIEuAndreh2019-06-091-0/+0
* Make terraform-provider-godaddy available for TerraformEuAndreh2019-06-091-0/+3
* Remove CI dbg codeEuAndreh2019-06-091-2/+0
* s/terraformGodaddy/terraformGodaddyBuild/EuAndreh2019-06-091-1/+1
* ci dbgEuAndreh2019-06-091-0/+2
* Expose build of terraform-godaddy under subtasks attribute setEuAndreh2019-06-091-1/+1
* ci dbg: Revert "Revert "Update modSha256 for terraform-godaddy""•••This reverts commit 4d04172f9027203e3656f74bd8cecdc0d9c45e69. EuAndreh2019-06-081-1/+1
* Revert "Update modSha256 for terraform-godaddy"•••This reverts commit 5ad5984f47860bdf3a85abeddef18d17c2095e69. EuAndreh2019-06-081-1/+1
* TODOs.orgEuAndreh2019-06-081-0/+1
* Add quote around nested quote expansion•••Thanks ShellCheck :) EuAndreh2019-06-081-1/+1
* Remove unused $PUBLIC_KEY_ONLY•••Thanks ShellCheck. EuAndreh2019-06-081-1/+0
* Format vps.tf (terraform linter offense)EuAndreh2019-06-081-3/+3
* Format default.nix (nixfmt linter offense)EuAndreh2019-06-081-2/+3
* Update modSha256 for terraform-godaddyEuAndreh2019-06-081-1/+1
* TODOs.orgEuAndreh2019-06-081-0/+4
* Use terraform-godaddy and Terraform 0.11•••The =terraform-godaddy= package supports only Terraform 0.11 as of now. It is not packaged by default by nixpkgs, and the =postInstall= hook is required because Terraform looks for providers usinthe the =terraform-provider-$name= template, which the package doesn't follow. I had to remove the loop on vps.tf since it requires Terraform 0.12. I'll either wait for =terraform-godaddy= to upgrade to 0.12 or try to do it myself if it bothers me enough. EuAndreh2019-06-084-10/+32