aboutsummaryrefslogtreecommitdiff
path: root/scripts/box (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migration: Remove Ansible and Docker code, move only to NixOSEuAndreh2020-08-104-51/+0
|
* Output all generated files on ./generated/, refactor .envrc variablesEuAndreh2019-06-101-0/+11
|
* Send logs via email after finishing provision.shEuAndreh2019-06-101-0/+2
| | | | The email will be send for both sucessfull and failed runs.
* Remove --progress from borg createEuAndreh2019-06-101-1/+0
| | | | It shows filenames in CI output log.
* Don't run restore backup Ansible task when not requiredEuAndreh2019-06-101-7/+0
| | | | | | | 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.
* CI debug: remove --verbose flag from borg create commandEuAndreh2019-06-081-1/+0
| | | | THe objective is to remove the logged files from the CI log.
* Disable SC2034 for ${DOLLAR} interpolated variableEuAndreh2019-06-071-0/+3
|
* Add ${DESTROY_VOLUME} operational toggleEuAndreh2019-06-061-0/+7
| | | | | | | | | | | | | 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.
* Remove invalid --stats option from borg extract commandEuAndreh2019-06-061-1/+0
|
* Fail fast on copied Bash filesEuAndreh2019-06-062-0/+2
|
* Unify quoted strings from restore-backup.env.shEuAndreh2019-06-061-1/+1
|
* Use ${DOLLAR}{VAR} to double scape bash variable in .env templatesEuAndreh2019-06-061-2/+2
|
* Remove debug echoEuAndreh2019-06-051-1/+0
|
* Fix ShellCheck offensesEuAndreh2019-06-052-3/+3
|
* Restore from backup in fresh volumeEuAndreh2019-06-052-1/+20
|
* Use specific known keys for connecting with the backup serverEuAndreh2019-06-051-1/+1
|
* Fix ShellCheck offensesEuAndreh2019-06-051-0/+1
|
* Use Ansible instead of Bash for provisioningEuAndreh2019-06-052-0/+3
| | | | | | | | | | | | | | | | | | The deployment is not quite working, and I'm unable to test right now: DigitalOcean is returning 503 for my requests. As of this commit, I can run =ansible-playbook provider.yml= more than once and it will actually be idempotent. Notes: - SSH fingerprint are now taken from the public key file instead of manually supplying it in the terraform template using the =digitalocean_ssh_key= resource; - use Ansible instead of ad-hoc Bash scripts for provisioning the Droplets created by Terraform; - use the =filename.env.extension= to create the concrete files in CI; - use the =user_data= to add the know SSH key pair to the newly created Droplet; - add =rotate-ssh-keys.sh= utils;
* Split scripts into CI and VPS boxEuAndreh2019-05-282-0/+14