aboutsummaryrefslogtreecommitdiff
path: root/scripts/box/user-data.env.sh (unfollow)
Commit message (Expand)AuthorFilesLines
2019-06-11s/mail_debug_log/finish_phase/EuAndreh1-2/+2
2019-06-11Log when finished runnign trapEuAndreh1-0/+2
2019-06-11Debug failing Ansible playbook logsEuAndreh1-1/+1
2019-06-11Log if trap was called on error or normal exitEuAndreh1-2/+10
2019-06-11Debug failing run of Ansible playbookEuAndreh1-1/+1
2019-06-11Don't rely on git when running .buildenv and .envrcEuAndreh1-1/+1
2019-06-11Revert "Install gitMinimal package to allow getting git SHA in .buildenv"•••This reverts commit 8bb7cd9d1f090a3e20e212566746b61a5f1fe4e9. EuAndreh1-2/+0
2019-06-11Install gitMinimal package to allow getting git SHA in .buildenvEuAndreh1-0/+2
2019-06-11Run git crypt lock inside trap functionEuAndreh1-7/+7
2019-06-11Move envsubst calls out of setup.sh into deploy.shEuAndreh2-7/+9
2019-06-11Set the directory before sourcingEuAndreh2-2/+1
2019-06-10Quiet import GPGEuAndreh1-1/+1
2019-06-10Allow envrc to be sourced in CIEuAndreh2-3/+4
2019-06-10Remove call to =cd= in envrc filesEuAndreh2-1/+0
2019-06-10Reorder setup.shEuAndreh1-6/+6
2019-06-10Switch $DESTROY_VOLUME back onEuAndreh1-1/+1
2019-06-10Switch off $DESTROY_VOLUME toggleEuAndreh1-1/+1
2019-06-10Output all generated files on ./generated/, refactor .envrc variablesEuAndreh15-70/+72
2019-06-10TODOs.orgEuAndreh1-15/+27
2019-06-10Store updated Terraform files in case of failureEuAndreh2-1/+10
2019-06-10Only send log email when running on CIEuAndreh1-0/+7
2019-06-10Ignore /logs.txtEuAndreh1-1/+1
2019-06-10ci dbgEuAndreh1-1/+1
2019-06-10Fix missing stdout redirection '>' characterEuAndreh1-1/+1
2019-06-10Trust commited keyEuAndreh2-1/+4
2019-06-10Add filename to logs.txt output•••Taken from: https://stackoverflow.com/questions/5917413/concatenate-multiple-files-but-include-filename-as-section-headers EuAndreh1-1/+1
2019-06-10Put terraform output in email logs.txtEuAndreh1-3/+3
2019-06-10Commit public key instead of downloading itEuAndreh2-1/+64
2019-06-10Re enable $DESTROY_VOLUME toggleEuAndreh1-0/+0
2019-06-10Import GPG key before provisioningEuAndreh2-0/+1
2019-06-10Disable SC2016 warningsEuAndreh1-0/+2
2019-06-10Change order of stderr -> stdout redirection•••Thanks ShellCheck. EuAndreh1-2/+2
2019-06-10Encrypt attached logEuAndreh3-3/+6
2019-06-10Show in email subject if the run failedEuAndreh2-2/+16
2019-06-10Send logs via email after finishing provision.sh•••The email will be send for both sucessfull and failed runs. EuAndreh8-3/+54
2019-06-10Disable $DESTROY_VOLUME operational toggleEuAndreh1-0/+0
2019-06-10Remove --progress from borg create•••It shows filenames in CI output log. EuAndreh1-1/+0
2019-06-10Change SSH portEuAndreh1-0/+0
2019-06-10Use create_known_hosts_file function instead of duplicating behaviourEuAndreh1-3/+6
2019-06-10Fail CI run if backup failsEuAndreh2-4/+5
2019-06-10Don't run restore backup Ansible task when not required•••Instead of performing this task on the generated =restore-backup.sh= file, do it on provision.yaml. The boolean logic is less confusing and the interpolation is less tricky. EuAndreh2-8/+2
2019-06-10Create generated-known-hosts.txt twice•••Since it can change after being destroyed by Terraform, we can't create it before and use it later. EuAndreh1-0/+1
2019-06-10Allow shutdown process to failEuAndreh1-2/+2
2019-06-10Provision DNS entries using DigitalOcean instead of DNS registrar•••This way we can implement dynamic (provision-time) Floating IP, instead of a hardcoded pre-created Floating IP address. Related changes: - remove =terraform-godaddy= provider, use =digitalocean_record= instead; - create =generated-known-hosts= after provisioning instead of during =setup.sh=: use the =$(terraform output public_floating_ip)= value to make this file dynamic; - remote the =$PINNED_IP= and =$TF_VAR_floating_ip= variables; - add type and descriptions to variable declarations in Terraform recipe. EuAndreh6-64/+135
2019-06-09Change $TLDEuAndreh1-0/+0
2019-06-09Rotate DNS registrar keysEuAndreh1-0/+0
2019-06-09Revert "Create Terraform plan before shutting down running containers"•••This reverts commit c8963acd02a5095bafb46c79abd45eec45059707. EuAndreh1-6/+6
2019-06-09Don't use terraform-full derivationEuAndreh3-6/+3
2019-06-09Create Terraform plan before shutting down running containersEuAndreh1-8/+8
2019-06-09Quote $() call (ShellCheck offense)EuAndreh1-1/+1