No description
Find a file
Glenn d5cd99a595
All checks were successful
continuous-integration/drone/push Build is passing
ci: fix tagging
2024-10-19 12:09:21 +02:00
.drone.yml ci: fix tagging 2024-10-19 12:09:21 +02:00
docker-compose.yml Initial import 2022-08-18 20:29:48 +02:00
Dockerfile feat: Bump version to 1.8.3 2024-10-19 11:48:36 +02:00
entrypoint-wrapper.sh Initial import 2022-08-18 20:29:48 +02:00
README.md docs: update dokku update 2024-10-19 11:55:57 +02:00

Drone Runner

Setup on Dokku

Create APP

dokku apps:create cicd-agent

Setup Network

dokku network:create cicd_net
dokku network:set cicd-agent attach-post-create cicd_net
dokku proxy:disable cicd-agent

Setup Volumes

dokku storage:mount cicd-agent /var/run/docker.sock:/var/run/docker.sock

Setup Configuration

dokku config:set cicd-agent DRONE_RPC_PROTO=http
dokku config:set cicd-agent DRONE_RPC_HOST=drone
dokku config:set cicd-agent DRONE_RUNNER_CAPACITY=2
dokku config:set cicd-agent DRONE_RUNNER_NETWORKS=cicd_net
dokku config:set cicd-agent DRONE_DEBUG=false
dokku config:set cicd-agent DRONE_TRACE=false

Setup Secrets

dokku config:set cicd-agent DRONE_RPC_SECRET=$(dokku config:get cicd DRONE_RPC_SECRET)

Deploy

git remote add dokku dokku@dinlas.apps.glenux.net:cicd-agent
git push dokku master

dokku git:from-image cicd-agent "glenux/service-drone-runner:$IMAGE_TAG"