| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use correct Droplet size slug | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | | | | Taken from https://developers.digitalocean.com/documentation/v2/#list-all-sizes | ||||
| * | Rotate SSH key and use correct VPS_COMMIT_SHA on provisioning | EuAndreh | 2019-05-28 | 2 | -5/+6 |
| | | |||||
| * | Rotate SSH key secret | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | |||||
| * | Disable StrictHostKeyChecking for CI SSH configuration | EuAndreh | 2019-05-28 | 1 | -0/+2 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-28 | 1 | -1/+5 |
| | | | | | Extend on how to use =vps-state= to store Terraform state. | ||||
| * | Configure git for vps-state repo in ./scripts/ci/setup.sh | EuAndreh | 2019-05-28 | 3 | -4/+6 |
| | | |||||
| * | Use SSH to fetch vps-state so we can push to it later | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-28 | 1 | -0/+11 |
| | | | | | Expand on the decision of using =vps-state= to store Terraform files. | ||||
| * | Add git config metadata to enable commiting in CI | EuAndreh | 2019-05-28 | 1 | -0/+2 |
| | | |||||
| * | Fix mixed usage of $PLAN_FILE variable | EuAndreh | 2019-05-28 | 1 | -4/+5 |
| | | | | | Split $PLAN_FILE into $PLAN_FILE_NAME and $PLAN_FILE_PATH. | ||||
| * | Store plan file in vps-state too | EuAndreh | 2019-05-28 | 1 | -4/+18 |
| | | |||||
| * | Fix shell.nix path in nix-shell custom shebang | EuAndreh | 2019-05-28 | 2 | -2/+2 |
| | | |||||
| * | Fix script references in .build.yml | EuAndreh | 2019-05-28 | 1 | -6/+3 |
| | | |||||
| * | Split scripts into CI and VPS box | EuAndreh | 2019-05-28 | 5 | -2/+4 |
| | | |||||
| * | Remove git rev-parse from .envrc | EuAndreh | 2019-05-28 | 3 | -2/+2 |
| | | |||||
| * | Rotate secrets | EuAndreh | 2019-05-28 | 1 | -0/+0 |
| | | |||||
| * | Remove set -x from ci-setup.sh | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | |||||
| * | Suppress output of docker-compose config | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | | | | | This derivation sources =.envrc= and it's output can potentially leak secret environment variables from it. | ||||
| * | Fix docker-compose config step | EuAndreh | 2019-05-28 | 1 | -1/+2 |
| | | | | | | | | 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. | ||||
| * | Fix Nextcloud image name | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | |||||
| * | Split Bash variable declaration from assignment (shellcheck offense) | EuAndreh | 2019-05-28 | 1 | -0/+0 |
| | | |||||
| * | Add =set -x= to ci-setup.sh | EuAndreh | 2019-05-28 | 1 | -1/+1 |
| | | |||||
| * | Add backup routing before possibly tearing down machine | EuAndreh | 2019-05-28 | 6 | -11/+21 |
| | | | | | | | | | | | 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. | ||||
| * | Add secrets/borg_remote{.pub} SSH keypair | EuAndreh | 2019-05-28 | 2 | -0/+0 |
| | | |||||
| * | Rename ./secrets/id_rsa{.pub} -> ./secrets/vps_box{.pub} | EuAndreh | 2019-05-28 | 5 | -3/+3 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-27 | 1 | -0/+2 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-27 | 1 | -0/+1 |
| | | | | | Add =Nice to have= task on docker-compose version | ||||
| * | TODOs.org | EuAndreh | 2019-05-27 | 1 | -0/+9 |
| | | | | | Add notes on creating backups, and questions on the best strategies available. | ||||
| * | Add variables to properly tag a backup | EuAndreh | 2019-05-27 | 1 | -0/+0 |
| | | |||||
| * | Add --color to ls alias | EuAndreh | 2019-05-27 | 1 | -1/+1 |
| | | |||||
| * | Add cd to /home/vps/ in profile | EuAndreh | 2019-05-27 | 1 | -0/+1 |
| | | | | | | Just a nice to have when SSH'ing interactively, doesn't have and effect on non-interactive SSH commands. | ||||
| * | Use ssh pipe and cat instead of hacky temporary file descriptor | EuAndreh | 2019-05-27 | 1 | -3/+1 |
| | | | | | Taken from http://compgroups.net/comp.unix.shell/-scp-dev-fd-63-not-a-regular-file/3063561 | ||||
| * | WIP: take a backup during deployment | EuAndreh | 2019-05-27 | 2 | -2/+11 |
| | | | | | | | | Before possibly tearing down the machine, while all services are stopped (after the =docker-compose down= command), create a new backup with the current data. The backup tag should include the commit SHA of the deployment. | ||||
| * | Add more descriptive error message for FIXME derivation test | EuAndreh | 2019-05-27 | 1 | -1/+5 |
| | | |||||
| * | Add bash_aliases.sh and scp it when deploying a new box | EuAndreh | 2019-05-27 | 2 | -0/+4 |
| | | |||||
| * | Add Nextcloud recipe to docker-compose.yaml | EuAndreh | 2019-05-27 | 2 | -0/+19 |
| | | |||||
| * | Use Bash variables for domain names and container ports | EuAndreh | 2019-05-27 | 2 | -9/+9 |
| | | |||||
| * | Fix formatting of default.nix (linter offense) | EuAndreh | 2019-05-27 | 1 | -7/+2 |
| | | |||||
| * | Revert Terraform to "default" version | EuAndreh | 2019-05-27 | 1 | -1/+1 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-27 | 1 | -4/+25 |
| | | |||||
| * | Run terraform init before running terraform apply | EuAndreh | 2019-05-26 | 1 | -0/+1 |
| | | |||||
| * | Use Terraform 0.12.0 in nix-shell and CI | EuAndreh | 2019-05-26 | 1 | -2/+7 |
| | | |||||
| * | ci dbg | EuAndreh | 2019-05-26 | 1 | -0/+1 |
| | | |||||
| * | Change permission of ./secrets/id_rsa after git crypt unlock | EuAndreh | 2019-05-26 | 1 | -0/+2 |
| | | |||||
| * | Disable StrictHostKeyChecking for SSH access | EuAndreh | 2019-05-26 | 1 | -0/+1 |
| | | |||||
| * | Fix missing argument to ssh | EuAndreh | 2019-05-26 | 1 | -1/+1 |
| | | |||||
| * | Fix call to ./provision.sh in .build.yml | EuAndreh | 2019-05-26 | 1 | -1/+1 |
| | | |||||
| * | Specify shell type to ShellCheck in nix-shell shebang files | EuAndreh | 2019-05-26 | 2 | -0/+2 |
| | | |||||
| * | Format default.nix (nixfmt offense) | EuAndreh | 2019-05-26 | 1 | -7/+2 |
| | | |||||
| * | Use more robust Bash cd approach | EuAndreh | 2019-05-26 | 4 | -3/+3 |
| | | |||||
