Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Unify quoted strings from restore-backup.env.sh | EuAndreh | 2019-06-06 | 1 | -1/+1 | |
| | ||||||
* | Use ${DOLLAR}{VAR} to double scape bash variable in .env templates | EuAndreh | 2019-06-06 | 2 | -2/+7 | |
| | ||||||
* | Notify when backup fails instead od saying nothing | EuAndreh | 2019-06-06 | 1 | -1/+1 | |
| | ||||||
* | Don't start docker-compose services while debugging restore-backup.sh | EuAndreh | 2019-06-06 | 1 | -5/+5 | |
| | ||||||
* | Make message when for shellEnvironment when running tests more readable | EuAndreh | 2019-06-06 | 1 | -1/+1 | |
| | ||||||
* | Allow backups to fail for now | EuAndreh | 2019-06-06 | 2 | -1/+2 | |
| | ||||||
* | Add mode to all files being copied by Ansible | EuAndreh | 2019-06-06 | 1 | -7/+7 | |
| | | | | | | | | | | Use strict 400 or 500 modes: r: 4 w: 2 x: 1 4 means read-only, while 5 means readable and executable. None are writable: immuatable infrastructure check. | |||||
* | Re-add Ansible task to create /home/vps/ directory | EuAndreh | 2019-06-05 | 1 | -0/+4 | |
| | ||||||
* | Remove debug echo | EuAndreh | 2019-06-05 | 1 | -1/+0 | |
| | ||||||
* | Fix ShellCheck offenses | EuAndreh | 2019-06-05 | 3 | -3/+5 | |
| | ||||||
* | Restore backup in Ansible instead of Bash | EuAndreh | 2019-06-05 | 5 | -18/+18 | |
| | ||||||
* | TODOs.org | EuAndreh | 2019-06-05 | 1 | -1/+2 | |
| | ||||||
* | Restore from backup in fresh volume | EuAndreh | 2019-06-05 | 4 | -10/+48 | |
| | ||||||
* | Add Ansible to shell derivation | EuAndreh | 2019-06-05 | 1 | -0/+1 | |
| | | | | Required to run =ansible-playbook= in the CI pipeline. | |||||
* | Format vps.tf (linter offense) | EuAndreh | 2019-06-05 | 1 | -1/+1 | |
| | ||||||
* | TODOs.org | EuAndreh | 2019-06-05 | 1 | -0/+1 | |
| | ||||||
* | Add volume to VPS | EuAndreh | 2019-06-05 | 3 | -4/+18 | |
| | | | | Don't destroy everything on deploy. This would destroy the volume too. | |||||
* | Always destroy infrastructure before applying | EuAndreh | 2019-06-05 | 2 | -1/+6 | |
| | ||||||
* | Script: rotate SSH keys | EuAndreh | 2019-06-05 | 5 | -0/+0 | |
| | ||||||
* | Uncomment accidentally commented code | EuAndreh | 2019-06-05 | 1 | -6/+6 | |
| | ||||||
* | Script: rotate SSH keys | EuAndreh | 2019-06-05 | 5 | -0/+0 | |
| | ||||||
* | Remove duplicate chmod on borg-remote | EuAndreh | 2019-06-05 | 1 | -1/+0 | |
| | ||||||
* | Remove ansible-lint | EuAndreh | 2019-06-05 | 3 | -17/+6 | |
| | | | | It wasn't trivial to configure: Ansible tried to work on /homeless-shelter :facepalm: | |||||
* | TODOs.org | EuAndreh | 2019-06-05 | 1 | -1/+2 | |
| | ||||||
* | Script: rotate SSH keys | EuAndreh | 2019-06-05 | 5 | -0/+0 | |
| | ||||||
* | Add ansible lint in test stage | EuAndreh | 2019-06-05 | 2 | -0/+11 | |
| | ||||||
* | TODOs.org | EuAndreh | 2019-06-05 | 1 | -1/+5 | |
| | ||||||
* | Fix git-crypt configuration | EuAndreh | 2019-06-05 | 10 | -1/+1 | |
| | ||||||
* | Add ./secrets/borg/meta.txt | EuAndreh | 2019-06-05 | 1 | -0/+2 | |
| | ||||||
* | Use specific known keys for connecting with the backup server | EuAndreh | 2019-06-05 | 5 | -3/+6 | |
| | ||||||
* | Change permission of borg client key | EuAndreh | 2019-06-05 | 1 | -0/+1 | |
| | ||||||
* | Add borgbackup package in Ansible recipe | EuAndreh | 2019-06-05 | 1 | -2/+2 | |
| | ||||||
* | Uncomment phases from provision.sh | EuAndreh | 2019-06-05 | 1 | -13/+13 | |
| | | | | | I was letting it be commented during iteration, it shouldn't have been committed this way. | |||||
* | TODOs.org | EuAndreh | 2019-06-05 | 2 | -13/+33 | |
| | ||||||
* | Add note on SSH logs | EuAndreh | 2019-06-05 | 1 | -0/+2 | |
| | ||||||
* | Use non-standard port for SSH | EuAndreh | 2019-06-05 | 3 | -0/+2 | |
| | ||||||
* | Fix permission of server private key on boot | EuAndreh | 2019-06-05 | 1 | -0/+1 | |
| | ||||||
* | Remove unused cloud-config.env.yaml | EuAndreh | 2019-06-05 | 2 | -8/+0 | |
| | ||||||
* | Use known-hosts.txt with public key from the rotated SSH key pair | EuAndreh | 2019-06-05 | 1 | -0/+1 | |
| | ||||||
* | Fix typo in user-data.env.sh | EuAndreh | 2019-06-05 | 1 | -1/+1 | |
| | ||||||
* | Prevent Ansible from generating provision.retry files | EuAndreh | 2019-06-05 | 1 | -1/+2 | |
| | ||||||
* | cd into ./vps/ before running CI commands | EuAndreh | 2019-06-05 | 1 | -3/+6 | |
| | ||||||
* | Revert "Use =nix build= instead of =nix-build=" | EuAndreh | 2019-06-05 | 1 | -1/+1 | |
| | | | | | | | This reverts commit c835e5ed00690d5dc05f4073ad2f7d52e56fe502. The =nix build= command isn't CI friendly: it prints many empty lines instead of the build progress. | |||||
* | Fix subtasks.dockerComposeLint derivation | EuAndreh | 2019-06-05 | 1 | -0/+2 | |
| | ||||||
* | Fix ShellCheck offenses | EuAndreh | 2019-06-05 | 3 | -2/+6 | |
| | ||||||
* | Clean leftovers from rotate-ssh-keys.sh | EuAndreh | 2019-06-05 | 1 | -18/+2 | |
| | ||||||
* | Format vps.tf (linter offense) | EuAndreh | 2019-06-05 | 1 | -1/+1 | |
| | ||||||
* | Use Ansible instead of Bash for provisioning | EuAndreh | 2019-06-05 | 29 | -64/+301 | |
| | | | | | | | | | | | | | | | | | | 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; | |||||
* | Use =nix build= instead of =nix-build= | EuAndreh | 2019-06-04 | 1 | -1/+1 | |
| | ||||||
* | Fix "dotfiles" name left over | EuAndreh | 2019-06-04 | 1 | -1/+1 | |
| |