aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/setup.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-05Fix ShellCheck offensesEuAndreh1-2/+4
2019-06-05Use Ansible instead of Bash for provisioningEuAndreh1-3/+11
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-05-28Configure git for vps-state repo in ./scripts/ci/setup.shEuAndreh1-1/+5
2019-05-28Fix shell.nix path in nix-shell custom shebangEuAndreh1-1/+1
2019-05-28Split scripts into CI and VPS boxEuAndreh1-0/+1
2019-05-28Remove set -x from ci-setup.shEuAndreh1-1/+1
2019-05-28Add =set -x= to ci-setup.shEuAndreh1-1/+1
2019-05-28Add backup routing before possibly tearing down machineEuAndreh1-0/+1
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-28Rename ./secrets/id_rsa{.pub} -> ./secrets/vps_box{.pub}EuAndreh1-1/+1
2019-05-26Change permission of ./secrets/id_rsa after git crypt unlockEuAndreh1-0/+2
2019-05-26Specify shell type to ShellCheck in nix-shell shebang filesEuAndreh1-0/+1
2019-05-26Use more robust Bash cd approachEuAndreh1-1/+1
2019-05-26Use nix-shell shebang to run CI scriptsEuAndreh1-1/+2
2019-05-26Prepare builds.sr.ht CI environment before running build tasksEuAndreh1-0/+16
Make content of .envrc available to subsequent build jobs.