Robert Kaussow
9725af8bee
Author: Robert Kaussow <mail@geeklabor.de> Date: Tue Jun 16 22:03:44 2020 +0200 add restart policy
3.8 KiB
3.8 KiB
title | type |
---|---|
droneci_runner_docker | docs |
Setup Drone CI docker runner
- Default Variables
- droneci_runner_docker_capacity
- droneci_runner_docker_container_name
- droneci_runner_docker_image
- droneci_runner_docker_memory_limit
- droneci_runner_docker_memory_reservation
- droneci_runner_docker_networks
- droneci_runner_docker_networks_applied
- droneci_runner_docker_restart_policy
- droneci_runner_docker_secret
- droneci_runner_docker_server
- droneci_runner_docker_service_directory
- droneci_runner_docker_service_stopped
- droneci_runner_docker_socket_path
- droneci_runner_docker_version
- Dependencies
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.