[skip ci] add variable to set agent distro
This commit is contained in:
parent
fa26ce9722
commit
0ef753e171
@ -47,6 +47,7 @@ droneci_autoscaler_agent_image: "drone/drone-runner-docker:{{ droneci_autoscaler
|
||||
droneci_autoscaler_agent_concurrency: 2
|
||||
droneci_autoscaler_agent_os: linux
|
||||
droneci_autoscaler_agent_architecture: amd64
|
||||
droneci_autoscaler_agent_distro: ubuntu
|
||||
droneci_autoscaler_agent_volumes: []
|
||||
droneci_autoscaler_agent_package_upgrade: False
|
||||
|
||||
|
@ -13,7 +13,7 @@ bootcmd:
|
||||
apt:
|
||||
sources:
|
||||
docker.list:
|
||||
source: deb [arch={% if inst.agent_architecture | default(droneci_autoscaler_agent_architecture) == "arm" %}armhf{% elif inst.agent_architecture | default(droneci_autoscaler_agent_architecture) == "arm64" %}arm64{% else %}amd64{% endif %}] https://download.docker.com/linux/ubuntu $RELEASE stable
|
||||
source: deb [arch={% if inst.agent_architecture | default(droneci_autoscaler_agent_architecture) == "arm" %}armhf{% elif inst.agent_architecture | default(droneci_autoscaler_agent_architecture) == "arm64" %}arm64{% else %}amd64{% endif %}] https://download.docker.com/linux/{{ inst.agent_distro | default(droneci_autoscaler_agent_distro) }} $RELEASE stable
|
||||
keyid: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
|
||||
|
||||
packages:
|
||||
|
Loading…
Reference in New Issue
Block a user