Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Revert "Create Terraform plan before shutting down running containers" | EuAndreh | 2019-06-09 | 1 | -6/+6 |
| | | | | This reverts commit c8963acd02a5095bafb46c79abd45eec45059707. | ||||
* | Don't use terraform-full derivation | EuAndreh | 2019-06-09 | 3 | -6/+3 |
| | |||||
* | Create Terraform plan before shutting down running containers | EuAndreh | 2019-06-09 | 1 | -8/+8 |
| | |||||
* | Quote $() call (ShellCheck offense) | EuAndreh | 2019-06-09 | 1 | -1/+1 |
| | |||||
* | Use same NIX_PATH locally and on the CI | EuAndreh | 2019-06-09 | 1 | -0/+0 |
| | |||||
* | Make terraform-provider-godaddy available for Terraform | EuAndreh | 2019-06-09 | 1 | -0/+3 |
| | |||||
* | Remove CI dbg code | EuAndreh | 2019-06-09 | 1 | -2/+0 |
| | |||||
* | s/terraformGodaddy/terraformGodaddyBuild/ | EuAndreh | 2019-06-09 | 1 | -1/+1 |
| | |||||
* | ci dbg | EuAndreh | 2019-06-09 | 1 | -0/+2 |
| | |||||
* | Expose build of terraform-godaddy under subtasks attribute set | EuAndreh | 2019-06-09 | 1 | -1/+1 |
| | |||||
* | ci dbg: Revert "Revert "Update modSha256 for terraform-godaddy"" | EuAndreh | 2019-06-08 | 1 | -1/+1 |
| | | | | This reverts commit 4d04172f9027203e3656f74bd8cecdc0d9c45e69. | ||||
* | Revert "Update modSha256 for terraform-godaddy" | EuAndreh | 2019-06-08 | 1 | -1/+1 |
| | | | | This reverts commit 5ad5984f47860bdf3a85abeddef18d17c2095e69. | ||||
* | TODOs.org | EuAndreh | 2019-06-08 | 1 | -0/+1 |
| | |||||
* | Add quote around nested quote expansion | EuAndreh | 2019-06-08 | 1 | -1/+1 |
| | | | | Thanks ShellCheck :) | ||||
* | Remove unused $PUBLIC_KEY_ONLY | EuAndreh | 2019-06-08 | 1 | -1/+0 |
| | | | | Thanks ShellCheck. | ||||
* | Format vps.tf (terraform linter offense) | EuAndreh | 2019-06-08 | 1 | -3/+3 |
| | |||||
* | Format default.nix (nixfmt linter offense) | EuAndreh | 2019-06-08 | 1 | -2/+3 |
| | |||||
* | Update modSha256 for terraform-godaddy | EuAndreh | 2019-06-08 | 1 | -1/+1 |
| | |||||
* | TODOs.org | EuAndreh | 2019-06-08 | 1 | -0/+4 |
| | |||||
* | Use terraform-godaddy and Terraform 0.11 | EuAndreh | 2019-06-08 | 4 | -10/+32 |
| | | | | | | | | | | | | 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. | ||||
* | Update terraform to 0.12 | EuAndreh | 2019-06-08 | 1 | -1/+1 |
| | |||||
* | Provision DNS entries with Terraform! :tada: | EuAndreh | 2019-06-08 | 1 | -0/+22 |
| | | | | Before all the DNS entries had to be entered manually on the web UI. | ||||
* | TODOs.org | EuAndreh | 2019-06-08 | 1 | -21/+21 |
| | |||||
* | Add credentials for manipulating DNS entries. | EuAndreh | 2019-06-08 | 1 | -0/+0 |
| | |||||
* | Generate UserKnownHostsFile dynamically instead of when rotating keys | EuAndreh | 2019-06-08 | 5 | -4/+5 |
| | | | | | | | | | | | | The previous solution would hardcode the server IP. This way we can change the server IP address that is hosting everything and keep the SSH keypair. Previously changing the IP address would require either calling the =./rotate-ssh-keys.sh= script or manually changing the IP address on the known-hosts.txt file. The IP address being duplicated itself was a code smell. Both SSH keypair and IP address can now be changed independently. | ||||
* | Use nextcloud.${TLD} instead of cloud.${TLD} as CNAME for Nextcloud installation | EuAndreh | 2019-06-08 | 2 | -1/+1 |
| | |||||
* | CI debug: remove --verbose flag from borg create command | EuAndreh | 2019-06-08 | 1 | -1/+0 |
| | | | | THe objective is to remove the logged files from the CI log. | ||||
* | TODOs.org | EuAndreh | 2019-06-08 | 1 | -1/+9 |
| | |||||
* | Add =any_errors_fatal: true= to provision.yml playbook | EuAndreh | 2019-06-07 | 1 | -0/+2 |
| | |||||
* | Revert "Add verbose logging for Ansible playbook command" | EuAndreh | 2019-06-07 | 1 | -1/+1 |
| | | | | This reverts commit 80ee903ac9f09c22b4ef3458393242fa929cff89. | ||||
* | Add verbose logging for Ansible playbook command | EuAndreh | 2019-06-07 | 1 | -1/+1 |
| | |||||
* | TODOs.org | EuAndreh | 2019-06-07 | 1 | -0/+6 |
| | |||||
* | Fix boolean logic bug on ${DESTROY_VOLUME} usage | EuAndreh | 2019-06-07 | 1 | -2/+2 |
| | |||||
* | Disable SC2034 for ${DOLLAR} interpolated variable | EuAndreh | 2019-06-07 | 1 | -0/+3 |
| | |||||
* | TODOs.org | EuAndreh | 2019-06-07 | 1 | -0/+2 |
| | |||||
* | Add ${DESTROY_VOLUME} operational toggle | EuAndreh | 2019-06-06 | 3 | -2/+13 |
| | | | | | | | | | | | | | 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. | ||||
* | Uncomment docker-compose starting Ansible task | EuAndreh | 2019-06-06 | 1 | -5/+5 |
| | |||||
* | Remove invalid --stats option from borg extract command | EuAndreh | 2019-06-06 | 1 | -1/+0 |
| | |||||
* | Fail fast on copied Bash files | EuAndreh | 2019-06-06 | 2 | -0/+2 |
| |