aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* cd into ./vps/ before running CI commandsEuAndreh2019-06-051-3/+6
* Revert "Use =nix build= instead of =nix-build="•••This reverts commit c835e5ed00690d5dc05f4073ad2f7d52e56fe502. The =nix build= command isn't CI friendly: it prints many empty lines instead of the build progress. EuAndreh2019-06-051-1/+1
* Fix subtasks.dockerComposeLint derivationEuAndreh2019-06-051-0/+2
* Fix ShellCheck offensesEuAndreh2019-06-053-2/+6
* Clean leftovers from rotate-ssh-keys.shEuAndreh2019-06-051-18/+2
* Format vps.tf (linter offense)EuAndreh2019-06-051-1/+1
* Use Ansible instead of Bash for provisioning•••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; EuAndreh2019-06-0529-64/+301
* Use =nix build= instead of =nix-build=EuAndreh2019-06-041-1/+1
* Fix "dotfiles" name left overEuAndreh2019-06-041-1/+1
* Build shell buildInputs in test derivation•••This way we make sure the =shell= derivation always builds, instead of seeing these kinds of failure during CI runs when it's trying to deploy. EuAndreh2019-06-041-7/+16
* Add utils.nix and remove common derivations from default.nixEuAndreh2019-06-042-79/+120
* TODOs.orgEuAndreh2019-06-041-0/+1
* Inline definition of rootSrcEuAndreh2019-06-041-2/+1
* TODOs.orgEuAndreh2019-06-041-0/+4
* TODOs.orgEuAndreh2019-06-021-0/+2
* TODOs.orgEuAndreh2019-06-011-0/+1
* TODOs.orgEuAndreh2019-05-301-5/+52
* Fix vps.tf formatting (linter offense)EuAndreh2019-05-281-1/+1
* Use Floating IP on DropletEuAndreh2019-05-283-1/+13
* Split $VPS_COMMIT_SHA variable declaration for exporting•••ShellCheck offense. EuAndreh2019-05-281-1/+2
* Use correct Droplet size slug•••Taken from https://developers.digitalocean.com/documentation/v2/#list-all-sizes EuAndreh2019-05-281-1/+1
* Rotate SSH key and use correct VPS_COMMIT_SHA on provisioningEuAndreh2019-05-282-5/+6
* Rotate SSH key secretEuAndreh2019-05-281-1/+1
* Disable StrictHostKeyChecking for CI SSH configurationEuAndreh2019-05-281-0/+2
* TODOs.org•••Extend on how to use =vps-state= to store Terraform state. EuAndreh2019-05-281-1/+5
* Configure git for vps-state repo in ./scripts/ci/setup.shEuAndreh2019-05-283-4/+6
* Use SSH to fetch vps-state so we can push to it laterEuAndreh2019-05-281-1/+1
* TODOs.org•••Expand on the decision of using =vps-state= to store Terraform files. EuAndreh2019-05-281-0/+11
* Add git config metadata to enable commiting in CIEuAndreh2019-05-281-0/+2
* Fix mixed usage of $PLAN_FILE variable•••Split $PLAN_FILE into $PLAN_FILE_NAME and $PLAN_FILE_PATH. EuAndreh2019-05-281-4/+5
* Store plan file in vps-state tooEuAndreh2019-05-281-4/+18
* Fix shell.nix path in nix-shell custom shebangEuAndreh2019-05-282-2/+2
* Fix script references in .build.ymlEuAndreh2019-05-281-6/+3
* Split scripts into CI and VPS boxEuAndreh2019-05-285-2/+4
* Remove git rev-parse from .envrcEuAndreh2019-05-283-2/+2
* Rotate secretsEuAndreh2019-05-281-0/+0
* Remove set -x from ci-setup.shEuAndreh2019-05-281-1/+1
* Suppress output of docker-compose config•••This derivation sources =.envrc= and it's output can potentially leak secret environment variables from it. EuAndreh2019-05-281-1/+1
* Fix docker-compose config step•••Add gitMinimal package to baseTasks to allow any derivation to =source .envrc= freely. dockerComposeLint sources it to properly lint the file that will be ran. EuAndreh2019-05-281-1/+2
* Fix Nextcloud image nameEuAndreh2019-05-281-1/+1
* Split Bash variable declaration from assignment (shellcheck offense)EuAndreh2019-05-281-0/+0
* Add =set -x= to ci-setup.shEuAndreh2019-05-281-1/+1
* Add backup routing before possibly tearing down machine•••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. EuAndreh2019-05-286-11/+21
* Add secrets/borg_remote{.pub} SSH keypairEuAndreh2019-05-282-0/+0
* Rename ./secrets/id_rsa{.pub} -> ./secrets/vps_box{.pub}EuAndreh2019-05-285-3/+3
* TODOs.orgEuAndreh2019-05-271-0/+2
* TODOs.org•••Add =Nice to have= task on docker-compose version EuAndreh2019-05-271-0/+1
* TODOs.org•••Add notes on creating backups, and questions on the best strategies available. EuAndreh2019-05-271-0/+9
* Add variables to properly tag a backupEuAndreh2019-05-271-0/+0
* Add --color to ls aliasEuAndreh2019-05-271-1/+1