Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Dec 6 13:35:42 2020 +0100

    add options to enable dockerhub auth
This commit is contained in:
Robert Kaussow 2020-12-06 12:45:09 +00:00
parent ca07bad65b
commit 57cbe8727d

View File

@ -17,6 +17,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/).
* [droneci_autoscaler_agent_version](#droneci_autoscaler_agent_version) * [droneci_autoscaler_agent_version](#droneci_autoscaler_agent_version)
* [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes) * [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes)
* [droneci_autoscaler_db_type](#droneci_autoscaler_db_type) * [droneci_autoscaler_db_type](#droneci_autoscaler_db_type)
* [droneci_autoscaler_docker_auth_config](#droneci_autoscaler_docker_auth_config)
* [droneci_autoscaler_exposed_ports](#droneci_autoscaler_exposed_ports) * [droneci_autoscaler_exposed_ports](#droneci_autoscaler_exposed_ports)
* [droneci_autoscaler_gc_enabled](#droneci_autoscaler_gc_enabled) * [droneci_autoscaler_gc_enabled](#droneci_autoscaler_gc_enabled)
* [droneci_autoscaler_image](#droneci_autoscaler_image) * [droneci_autoscaler_image](#droneci_autoscaler_image)
@ -33,6 +34,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/).
* [droneci_autoscaler_pool_min](#droneci_autoscaler_pool_min) * [droneci_autoscaler_pool_min](#droneci_autoscaler_pool_min)
* [droneci_autoscaler_pool_ttl](#droneci_autoscaler_pool_ttl) * [droneci_autoscaler_pool_ttl](#droneci_autoscaler_pool_ttl)
* [droneci_autoscaler_restart_policy](#droneci_autoscaler_restart_policy) * [droneci_autoscaler_restart_policy](#droneci_autoscaler_restart_policy)
* [droneci_autoscaler_runner_env_file](#droneci_autoscaler_runner_env_file)
* [droneci_autoscaler_runner_privileged](#droneci_autoscaler_runner_privileged) * [droneci_autoscaler_runner_privileged](#droneci_autoscaler_runner_privileged)
* [droneci_autoscaler_runner_volumes](#droneci_autoscaler_runner_volumes) * [droneci_autoscaler_runner_volumes](#droneci_autoscaler_runner_volumes)
* [droneci_autoscaler_server_host](#droneci_autoscaler_server_host) * [droneci_autoscaler_server_host](#droneci_autoscaler_server_host)
@ -125,6 +127,23 @@ Database type to use (default sqlite). All other DB variable will ony be used it
droneci_autoscaler_db_type: sqlite droneci_autoscaler_db_type: sqlite
``` ```
### droneci_autoscaler_docker_auth_config
Docker registries auth config file (config.json).
#### Default value
```YAML
droneci_autoscaler_docker_auth_config: |
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "abc...xy="
}
}
}
```
### droneci_autoscaler_exposed_ports ### droneci_autoscaler_exposed_ports
#### Default value #### Default value
@ -175,6 +194,14 @@ droneci_autoscaler_instances:
agent_architecture: amd64 agent_architecture: amd64
sshkey: "dummy" sshkey: "dummy"
api_host: "drone-amd64.example.com" api_host: "drone-amd64.example.com"
docker_auth_config: |
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "abc...xy="
}
}
}
provider_config: provider_config:
- name: DRONE_HETZNERCLOUD_DATACENTER - name: DRONE_HETZNERCLOUD_DATACENTER
value: fsn1-dc14 value: fsn1-dc14
@ -311,6 +338,14 @@ droneci_autoscaler_pool_ttl: 50m
droneci_autoscaler_restart_policy: always droneci_autoscaler_restart_policy: always
``` ```
### droneci_autoscaler_runner_env_file
#### Default value
```YAML
droneci_autoscaler_runner_env_file: /etc/drone.conf
```
### droneci_autoscaler_runner_privileged ### droneci_autoscaler_runner_privileged
#### Default value #### Default value