xoxys.droneci_runner_docker/index.md
Robert Kaussow 4a4454b7ea commit ec30230a0e
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Sun Dec 5 13:13:34 2021 +0100

    feat: add option droneci_drone_runner_labels
2021-12-05 12:23:47 +00:00

4.0 KiB

title type
droneci_runner_docker docs

Source Code Build Status License: MIT

Setup Drone CI docker runner


Default Variables

droneci_drone_runner_labels

Default value

droneci_drone_runner_labels: []

droneci_runner_docker_capacity

Default value

droneci_runner_docker_capacity: 2

droneci_runner_docker_container_name

Default value

droneci_runner_docker_container_name: droneci_runner_docker

droneci_runner_docker_image

Default value

droneci_runner_docker_image: drone/drone-runner-docker:{{ droneci_runner_docker_version
  }}

droneci_runner_docker_memory_limit

Default value

droneci_runner_docker_memory_limit: _unset_

Example usage

droneci_runner_docker_memory_limit: 512m

droneci_runner_docker_memory_reservation

Default value

droneci_runner_docker_memory_reservation: _unset_

Example usage

droneci_runner_docker_memory_reservation: 256m

droneci_runner_docker_networks

Default value

droneci_runner_docker_networks:
  - name: droneci_default
    external: true

Example usage

droneci_runner_docker_networks:
  - name: default
    # optional network driver, defaults to 'bride'
    driver: host

droneci_runner_docker_networks_applied

Default value

droneci_runner_docker_networks_applied:
  - droneci_default

droneci_runner_docker_restart_policy

Default value

droneci_runner_docker_restart_policy: always

droneci_runner_docker_secret

Default value

droneci_runner_docker_secret: myveryownsecret

droneci_runner_docker_server

Default value

droneci_runner_docker_server: droneci

droneci_runner_docker_service_directory

Default value

droneci_runner_docker_service_directory: /var/lib/docker/services/droneci_runner_docker

droneci_runner_docker_service_stopped

Default value

droneci_runner_docker_service_stopped: false

droneci_runner_docker_socket_path

Default value

droneci_runner_docker_socket_path: /var/run/docker.sock

droneci_runner_docker_version

Default value

droneci_runner_docker_version: latest

Dependencies

None.