drone-runner-docker

by Drone

Helm chartv0.7.0App 1.8.1Verified publisherOfficial

A Helm chart for the Drone Docker runner which uses Docker-in-Docker (dind)

About this chart

Drone Docker runner

Drone is a Continuous Integration platform built on container technology.

This Chart is for installing the Docker runner for Drone.

Installing Drone Docker runner

See the drone-runner-docker chart installation guide.

Configuring Drone Docker runner

See values.yaml to see the Chart's default values. Refer to the Docker runner reference for a more complete list of options.

:information_source: In addition to the Drone Docker runner container, this chart runs Docker-in-Docker (to run Docker containers in pipelines) and Drone GC (for automatically pruning Docker images) containers within the pod.

To adjust an existing Drone install's configuration:

# If you have a values file:
helm upgrade drone-runner-docker drone/drone-runner-docker --namespace drone --values drone-runner-docker-values.yaml
# If you want to change one value and don't have a values file:
helm upgrade drone-runner-docker drone/drone-runner-docker --namespace drone --reuse-values --set someKey=someVal

Upgrading Drone Docker runner

Read the release notes to make sure there are no backwards incompatible changes. Make adjustments to your values as needed, then run helm upgrade:

# This pulls the latest version of the drone chart from the repo.
helm repo update
helm upgrade drone-runner-docker drone/drone-runner-docker --namespace drone --values drone-runner-docker-values.yaml

Uninstalling Drone Docker runner

To uninstall/delete the drone deployment in the drone namespace:

helm delete drone-runner-docker --namespace drone

Substitute your values if they differ from the examples. See helm delete --help for a full reference on delete parameters and flags.

Support

For questions, suggestions, and discussion, visit the Drone community site.

Deploy drone-runner-docker with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has drone-runner-docker on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdrone-runner-docker is pinned at v0.7.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply