aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org (unfollow)
Commit message (Collapse)AuthorFilesLines
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