Docker based build runner for the Drone controller
This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Luke Murphy ee1eb1804f
Add drone first stab
2020-03-25 19:34:57 +01:00
ansible Mount docker stuff into container 2020-03-25 11:48:37 +01:00
sbin Copy/Pasta and adapt Gitea config 2020-03-24 13:57:22 +01:00
.drone.yml Add drone first stab 2020-03-25 19:34:57 +01:00
.envrc.sample Copy/Pasta and adapt Gitea config 2020-03-24 13:57:22 +01:00
CHECKS Only check for HTTP 200 (if possible) 2020-03-25 11:57:23 +01:00
Dockerfile Skip entrypoint as we don't need it 2020-03-25 11:48:30 +01:00
README.md Bootstrap runner repo 2020-03-24 15:46:51 +01:00
app.json Bootstrap runner repo 2020-03-24 15:46:51 +01:00
requirements.txt Copy/Pasta and adapt Gitea config 2020-03-24 13:57:22 +01:00

README.md

drone-docker-runner

https://drone.io/

Setup

Pre-requisites

  1. You have SSH access to dokku.autonomic.zone
  2. You have sudo privilege escalation working
Host dokku.autonomic.zone
  Hostname dokku.autonomic.zone
  User <your-username>
  Port 222
  IdentityFile ~/.ssh/<your-ssh-key-private-file>

See the password-store under autonomic-dokku for your sudo password.

Environment

  1. Clone the infrastructure repository
  2. Copy the sample file: cp .envrc.sample .envrc
  3. Ensure that the .envrc PASSWORD_STORE_DIR env var points to the infrastructure/credentials/password-store

Python

You only need to do this if you're working with Ansible vault (encrypting/decrypting new secrets).

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Deploy

$ git remote add dokku dokku@dokku.autonomic.zone:drone-docker-runner
$ git push dokku