xoxys.droneci_runner_docker/index.md
Robert Kaussow 9725af8bee commit 0b01e68655
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Tue Jun 16 22:03:44 2020 +0200

    add restart policy
2020-06-16 20:08:00 +00:00

3.8 KiB

title type
droneci_runner_docker docs

Source Code Build Status License: MIT

Setup Drone CI docker runner


Default Variables

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_droneci
    external: true

Example usage

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

droneci_runner_docker_networks_applied

Default value

droneci_runner_docker_networks_applied:
  - droneci_droneci

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.