aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-08TODOs.orgEuAndreh1-21/+21
2019-06-08Use nextcloud.${TLD} instead of cloud.${TLD} as CNAME for Nextcloud installationEuAndreh1-1/+1
2019-06-08TODOs.orgEuAndreh1-1/+9
2019-06-07TODOs.orgEuAndreh1-0/+6
2019-06-07TODOs.orgEuAndreh1-0/+2
2019-06-06Allow backups to fail for nowEuAndreh1-0/+1
2019-06-05TODOs.orgEuAndreh1-1/+2
2019-06-05TODOs.orgEuAndreh1-0/+1
2019-06-05Always destroy infrastructure before applyingEuAndreh1-1/+2
2019-06-05TODOs.orgEuAndreh1-1/+2
2019-06-05TODOs.orgEuAndreh1-1/+5
2019-06-05TODOs.orgEuAndreh1-0/+19
2019-06-05Use Ansible instead of Bash for provisioningEuAndreh1-3/+29
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;
2019-06-04TODOs.orgEuAndreh1-0/+1
2019-06-04TODOs.orgEuAndreh1-0/+4
2019-06-02TODOs.orgEuAndreh1-0/+2
2019-06-01TODOs.orgEuAndreh1-0/+1
2019-05-30TODOs.orgEuAndreh1-5/+52
2019-05-28Use Floating IP on DropletEuAndreh1-1/+7
2019-05-28TODOs.orgEuAndreh1-1/+5
Extend on how to use =vps-state= to store Terraform state.
2019-05-28TODOs.orgEuAndreh1-0/+11
Expand on the decision of using =vps-state= to store Terraform files.
2019-05-28Add backup routing before possibly tearing down machineEuAndreh1-1/+4
Create a new backup entry before running =terraform apply=, which may (or may not) destroy the current machine. This shouldn't be an issue for the backup itself, since all of the data should be stored in a separate Block Storage Volume, but we can take advantage of the sevices already needing to be taken down in order to perform a full backup of the data.
2019-05-27TODOs.orgEuAndreh1-0/+2
2019-05-27TODOs.orgEuAndreh1-0/+1
Add =Nice to have= task on docker-compose version
2019-05-27TODOs.orgEuAndreh1-0/+9
Add notes on creating backups, and questions on the best strategies available.
2019-05-27TODOs.orgEuAndreh1-4/+25
2019-05-26TODOs.orgEuAndreh1-3/+12
2019-05-26TODOs.orgEuAndreh1-10/+34
2019-05-26TODOs.orgEuAndreh1-1/+8
2019-05-26Add gnupg to allow pipeline to import GPG keysEuAndreh1-1/+1
2019-05-26Automate provisioning and deployment of VPSEuAndreh1-0/+4
In order to perform that I had to remove Terraform's =.tfstate= files from the repository. Terraform does support "backends" for storing the state files, but I settled for storing it on a separate repo (vps-state). For now it solves the state management problem: - it has history of states; - all state files are GPG encrypted; - there's no coordination however, but only the CI should perform a deploy in order to avoid race conditions. I had to add GPG and SSH keys to sr.ht to achieve that: - SSH public key to my profile to authorize it to push to vps-state repo; - SSH private key to the secret builds.sr.ht environment to enable push to the repository from the pipeline; - GPG public key to git-crypt to make it possible for the pipeline to unlock the encrypted content; - GPG private key to the secret builds.sr.ht environment to enable decrypting git-crypt content from the pipeline. In order to avoid divergent environment from local and CI, the ./provision.sh script is ran through nix-shell.
2019-05-26Add static file server container with nginxEuAndreh1-1/+2
2019-05-26TODOs.orgEuAndreh1-2/+21
2019-05-25TODOs.orgEuAndreh1-3/+5
2019-05-25TODOs.orgEuAndreh1-21/+26
2019-05-25Remove provisioning from TerraformEuAndreh1-0/+4
2019-05-25TODOs.orgEuAndreh1-1/+1
2019-05-25Add lint checks and a pipeline to check using NixEuAndreh1-5/+8
2019-05-25TODOs.orgEuAndreh1-13/+19
2019-05-25TODOs.orgEuAndreh1-3/+11