| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove extra newline at "Done.\n" messages | EuAndreh | 2019-05-26 | 2 | -8/+8 |
| | | |||||
| * | Fix unexpected shell scaping | EuAndreh | 2019-05-26 | 1 | -1/+1 |
| | | |||||
| * | Change GPG secret reference | EuAndreh | 2019-05-26 | 1 | -2/+1 |
| | | |||||
| * | Test using Debian to correctly import GPG secret | EuAndreh | 2019-05-26 | 1 | -4/+6 |
| | | | | | | Right now the NixOS image tries to import the GPG before installing GPG. Adding it as a package doesn't solve it. | ||||
| * | Add gnupg to allow pipeline to import GPG keys | EuAndreh | 2019-05-26 | 2 | -1/+3 |
| | | |||||
| * | Automate provisioning and deployment of VPS | EuAndreh | 2019-05-26 | 10 | -11/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Add 1 git-crypt collaborator | EuAndreh | 2019-05-26 | 1 | -0/+0 |
| | | | | | | | New collaborators: E69F5ACF euandreh@builds.sr.ht <euandreh@builds.sr.ht> | ||||
| * | Add static file server container with nginx | EuAndreh | 2019-05-26 | 2 | -1/+16 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-26 | 1 | -2/+21 |
| | | |||||
| * | Pull Docker images before running docker-compose up | EuAndreh | 2019-05-25 | 1 | -0/+1 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-25 | 1 | -3/+5 |
| | | |||||
| * | Increase droplet image to 1024mb | EuAndreh | 2019-05-25 | 1 | -1/+1 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-25 | 1 | -21/+26 |
| | | |||||
| * | Fix docker-compose.yaml rename references | EuAndreh | 2019-05-25 | 1 | -3/+3 |
| | | |||||
| * | Add "restart: always" rule for all containers | EuAndreh | 2019-05-25 | 1 | -0/+3 |
| | | |||||
| * | Remove extra quotes from docker-compose | EuAndreh | 2019-05-25 | 1 | -4/+4 |
| | | |||||
| * | Add shell.nix pointing to shell derivation in default.nix | EuAndreh | 2019-05-25 | 1 | -0/+1 |
| | | |||||
| * | Update .tfstate files | EuAndreh | 2019-05-25 | 2 | -0/+0 |
| | | |||||
| * | Restart docker-compose after deployment | EuAndreh | 2019-05-25 | 3 | -5/+10 |
| | | |||||
| * | Remove provisioning from Terraform | EuAndreh | 2019-05-25 | 4 | -28/+21 |
| | | |||||
| * | Use apt_wait before interacting with apt-get | EuAndreh | 2019-05-25 | 1 | -3/+20 |
| | | |||||
| * | Move provisioning code into provision.sh | EuAndreh | 2019-05-25 | 2 | -8/+8 |
| | | |||||
| * | Don't run shellcheck on encrypted Bash code | EuAndreh | 2019-05-25 | 1 | -1/+2 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-25 | 1 | -1/+1 |
| | | |||||
| * | Add /result to .gitignore | EuAndreh | 2019-05-25 | 1 | -1/+4 |
| | | |||||
| * | Format default.nix (nixfmt offense) | EuAndreh | 2019-05-25 | 1 | -10/+7 |
| | | |||||
| * | Fix formatTerraform stage | EuAndreh | 2019-05-25 | 1 | -1/+1 |
| | | |||||
| * | Add dockerComposeLint job stage | EuAndreh | 2019-05-25 | 2 | -5/+16 |
| | | |||||
| * | Add lint checks and a pipeline to check using Nix | EuAndreh | 2019-05-25 | 4 | -6/+114 |
| | | |||||
| * | Format vps.tf | EuAndreh | 2019-05-25 | 1 | -13/+16 |
| | | |||||
| * | Check-in Terraform .tfstate files using git-crypt | EuAndreh | 2019-05-25 | 4 | -0/+2 |
| | | |||||
| * | Add .terraform to .gitignore | EuAndreh | 2019-05-25 | 1 | -0/+2 |
| | | |||||
| * | Don't use pub_key and pvt_key as input variables | EuAndreh | 2019-05-25 | 3 | -5/+6 |
| | | | | | Embed SSH keypair directly into git-crypt. | ||||
| * | Remove docker-compose.yml from git-crypt | EuAndreh | 2019-05-25 | 3 | -1/+42 |
| | | |||||
| * | Add simple DigitalOcean droplet skeleton for Terraform | EuAndreh | 2019-05-25 | 2 | -0/+36 |
| | | |||||
| * | Use specific folder for volumes | EuAndreh | 2019-05-25 | 1 | -0/+0 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-25 | 1 | -13/+19 |
| | | |||||
| * | Start docker-compose.yml skeleton with Wallabag | EuAndreh | 2019-05-25 | 3 | -0/+1 |
| | | |||||
| * | Remove existing NixOps configuration | EuAndreh | 2019-05-25 | 3 | -33/+0 |
| | | |||||
| * | Test nixcloud-webservices | EuAndreh | 2019-05-25 | 3 | -14/+27 |
| | | |||||
| * | TODOs.org | EuAndreh | 2019-05-25 | 1 | -3/+11 |
| | | |||||
| * | Add simple stub VM definition | EuAndreh | 2019-05-25 | 6 | -0/+22 |
| | | |||||
| * | Add 1 git-crypt collaborator | EuAndreh | 2019-05-24 | 2 | -0/+4 |
| | | | | | | | New collaborators: CD356060 EuAndreh <eu@euandre.org> | ||||
| * | TODOs.org | EuAndreh | 2019-05-24 | 1 | -0/+21 |
