From 83ae433b17b2447d531b9dcfd78f13783732270b Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 21 Jul 2017 11:27:30 +1000 Subject: [PATCH 01/10] drone 0.8.0-rc.1-rancher1. --- templates/drone/4/README.md | 19 +++ templates/drone/4/docker-compose.yml.tpl | 116 +++++++++++++++ templates/drone/4/rancher-compose.yml | 179 +++++++++++++++++++++++ templates/drone/config.yml | 2 +- 4 files changed, 315 insertions(+), 1 deletion(-) create mode 100644 templates/drone/4/README.md create mode 100644 templates/drone/4/docker-compose.yml.tpl create mode 100644 templates/drone/4/rancher-compose.yml diff --git a/templates/drone/4/README.md b/templates/drone/4/README.md new file mode 100644 index 0000000..0349171 --- /dev/null +++ b/templates/drone/4/README.md @@ -0,0 +1,19 @@ +# Drone + +### Info: + +This template creates an instance of Drone CI server 0.8 along with selectable number of agents to perform the builds. + +### Usage: + +Select the Drone template from the catalog. Provide the following information: + +1. Publish port +2. Agents scale +3. Drone secret +4. Run mode. debug | release +3. Remote driver and config. (Ie. GitHub) +4. Database driver and config. (Ie. sqlite) + + +See [Drone documentation](http://readme.drone.io/admin) for complete information. diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl new file mode 100644 index 0000000..279192c --- /dev/null +++ b/templates/drone/4/docker-compose.yml.tpl @@ -0,0 +1,116 @@ +version: '2' +services: + agent: + image: ${drone_agent_image} + environment: + DRONE_SERVER: ${drone_server} + DRONE_SECRET: ${drone_secret} +{{- if (.Values.http_proxy)}} + HTTP_PROXY: ${http_proxy} + http_proxy: ${http_proxy} +{{- end}} +{{- if (.Values.https_proxy)}} + HTTPS_PROXY: ${https_proxy} + https_proxy: ${https_proxy} +{{- end}} +{{- if (.Values.no_proxy)}} + NO_PROXY: ${no_proxy} + no_proxy: ${no_proxy} +{{- end}} + volumes: + - /var/run/docker.sock:/var/run/docker.sock + links: + - server:drone + command: + - agent + labels: + io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} + io.rancher.container.hostname_override: container_name + server: + image: ${drone_server_image} + environment: + GIN_MODE: ${gin_mode} +{{- if (.Values.drone_debug)}} + DRONE_DEBUG: '${drone_debug}' +{{- end}} + DRONE_SECRET: ${drone_secret} + DRONE_OPEN: ${drone_open} +{{- if (.Values.drone_admin)}} + DRONE_ADMIN: ${drone_admins} +{{- end}} +{{- if (.Values.drone_orgs)}} + DRONE_ORGS: ${drone_orgs} +{{- end}} +{{- if eq .Values.drone_driver "GitHub"}} + DRONE_GITHUB: true + DRONE_GITHUB_CLIENT: ${drone_driver_client} + DRONE_GITHUB_SECRET: ${drone_driver_secret} +{{- end}} +{{- if eq .Values.drone_driver "Bitbucket Cloud"}} + DRONE_BITBUCKET: true + DRONE_BITBUCKET_CLIENT: ${drone_driver_client} + DRONE_BITBUCKET_SECRET: ${drone_driver_secret} +{{- end}} +{{- if eq .Values.drone_driver "Bitbucket Server"}} + DRONE_STASH: true + DRONE_STASH_GIT_USERNAME: ${drone_driver_user} + DRONE_STASH_GIT_PASSWORD: ${drone_driver_password} + DRONE_STASH_CONSUMER_KEY: ${drone_driver_client} + DRONE_STASH_CONSUMER_RSA_STRING: ${drone_driver_secret} + DRONE_STASH_URL: ${drone_driver_url} +{{- end}} +{{- if eq .Values.drone_driver "GitLab"}} + DRONE_GITLAB: true + DRONE_GITLAB_CLIENT: ${drone_driver_secret} + DRONE_GITLAB_SECRET: ${drone_driver_secret} + DRONE_GITLAB_URL: ${drone_driver_url} +{{- end}} +{{- if eq .Values.drone_driver "Gogs"}} + DRONE_GOGS: true + DRONE_GOGS_URL: ${drone_driver_url} +{{- end}} +{{- if ne .Values.database_driver "sqlite"}} + DRONE_DATABASE_DRIVER: ${database_driver} + DRONE_DATABASE_DATASOURCE: ${database_source} +{{- end}} +{{- if (.Values.http_proxy)}} + HTTP_PROXY: ${http_proxy} + http_proxy: ${http_proxy} +{{- end}} +{{- if (.Values.https_proxy)}} + HTTPS_PROXY: ${https_proxy} + https_proxy: ${https_proxy} +{{- end}} +{{- if (.Values.no_proxy)}} + NO_PROXY: ${no_proxy} + no_proxy: ${no_proxy} +{{- end}} + labels: + io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} + io.rancher.container.hostname_override: container_name +{{- if eq .Values.database_driver "sqlite"}} + io.rancher.sidekicks: server-volume + volumes_from: + - server-volume + server-volume: + image: rawmind/alpine-volume:0.0.2-1 + environment: + SERVICE_GID: '0' + SERVICE_UID: '0' + SERVICE_VOLUME: /var/lib/drone + network_mode: none + volumes: + - /var/lib/drone + labels: + io.rancher.container.start_once: 'true' + io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} + io.rancher.container.hostname_override: container_name +{{- end}} + lb: + image: rancher/load-balancer-service + ports: + - ${host_port}:8000/tcp + links: + - server:server + labels: + io.rancher.scheduler.affinity:host_label_soft: drone_lb=true diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml new file mode 100644 index 0000000..b27c195 --- /dev/null +++ b/templates/drone/4/rancher-compose.yml @@ -0,0 +1,179 @@ +version: 2 +catalog: + name: Drone + version: 0.8.0-rc.1-rancher1 + upgrade_from: 0.5-rancher1 + description: | + Drone CI Server ref http://readme.drone.io/admin/installation-guide/ + questions: + - variable: host_port + label: Drone server Host Port + description: | + Port that will be exposed on service creation + required: true + default: 8000 + type: int + - variable: agent_scale + label: Drone agent scale + description: Drone agent scale to deploy + required: true + default: 1 + type: int + - variable: drone_secret + label: Server and agents secret. + description: Server and agents secret to be communicate. http://readme.drone.io/admin/user-registration/ + type: password + required: true + - variable: gin_mode + label: Run mode + description: "Drone run mode, GIN_MODE" + type: enum + default: "release" + options: + - "release" + - "debug" + required: true + - variable: drone_open + label: Open registration + description: | + Users self register. http://readme.drone.io/admin/user-registration/ + required: true + default: true + type: enum + options: + - true + - false + - variable: drone_admin + label: Drone Admin + description: List of admins for drone comma seperated. http://readme.drone.io/admin/user-admins/ + type: string + required: false + - variable: drone_orgs + label: Organizations + description: Comman seperated list of org that can access drone. http://readme.drone.io/admin/user-registration/ + type: string + required: false + - variable: "drone_driver" + type: "enum" + required: true + label: "Remote Driver" + default: "GitHub" + description: "Remote Git and Auth scheme. ref http://readme.drone.io/admin" + options: + - GitHub + - GitLab + - Gogs + - Bitbucket Cloud + - Bitbucket Server + - variable: drone_driver_client + label: Remote Driver client + description: "Client key from remote driver. Required for GitHub, Bitbucket Cloud, Bitbucket Server and GitLab." + type: string + required: false + - variable: drone_driver_secret + label: Remote Driver secret + description: "Secret key from remote driver. Required for GitHub, Bitbucket Cloud, Bitbucket Server and GitLab." + type: multiline + required: false + - variable: drone_driver_url + label: Remote Driver URL + description: "Remote Driver server url. Required for GitLab, Gogs and Bitbucket Server; see http://readme.drone.io/admin." + type: string + required: false + - variable: drone_driver_user + label: Remove Driver Username + description: "Remote Driver username. Required for BitBucket Server; see http://docs.drone.io/install-for-bitbucket-server/." + type: string + required: false + - variable: drone_driver_password + label: Remove Driver Password + description: "Remote Driver password. Required for BitBucket Server, http://docs.drone.io/install-for-bitbucket-server/." + type: password + required: false + - variable: drone_server + label: Drone Server + description: "Drone sever identifier. Used by the agent to connect to the server (does not require change)." + type: string + default: "ws://drone:8000/ws/broker" + - variable: drone_server_image + label: Drone Server Image + description: "Docker image used for the Drone server container." + type: string + default: "drone/drone:0.8.0-rc.1" + - variable: drone_agent_image + label: Drone Agent Image + description: "Docker image used for the Drone agent container(s)." + type: string + default: "drone/drone:0.8.0-rc.1" + - variable: database_driver + label: Database Driver + description: "Database driver. If sqlite, additional volume would be mounted at /var/lib/drone." + type: enum + default: "sqlite" + options: + - "sqlite" + - "mysql" + - "postgres" + required: true + - variable: "database_source" + type: "string" + label: "Database source" + description: "Database datasource. Required if database driver is mysql or postgres, http://readme.drone.io/admin/database-engines/" + required: false + - variable: "http_proxy" + type: string + label: HTTP Proxy + description: "Optional: HTTP forward proxy URL." + required: false + - variable: "https_proxy" + type: string + label: HTTPS Proxy + description: "Optional: HTTPS forward proxy URL." + required: false + - variable: "no_proxy" + type: string + label: No Proxy + description: "Optional: No proxy hosts (comma-separated hostnames/IPs)." + required: false + default: "drone" + - variable: "drone_debug" + label: Drone Debug + description: "Enable debug output with the Drone server." + type: enum + options: + - 'true' + - 'false' + default: 'false' +services: + agent: + scale: ${agent_scale} + start_on_create: true + server: + scale: 1 + start_on_create: true + health_check: + port: 8000 + interval: 2000 + unhealthy_threshold: 3 + strategy: recreate + request_line: GET / HTTP/1.0 + healthy_threshold: 2 + response_timeout: 2000 + lb: + scale: 1 + start_on_create: true + lb_config: + certs: [] + port_rules: + - priority: 1 + protocol: http + service: server + source_port: ${host_port} + target_port: 8000 + health_check: + healthy_threshold: 2 + response_timeout: 2000 + port: 42 + unhealthy_threshold: 3 + interval: 2000 + strategy: recreate diff --git a/templates/drone/config.yml b/templates/drone/config.yml index d30faef..e501783 100644 --- a/templates/drone/config.yml +++ b/templates/drone/config.yml @@ -1,5 +1,5 @@ name: Drone description: | Drone CI Server -version: 0.7.1-rancher1 +version: 0.8.0-rc.1-rancher1 category: Continuous Integration From c2f3e7a12666f7a0c8ecd33c7b07a394dd58dbd4 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 21 Jul 2017 12:51:04 +1000 Subject: [PATCH 02/10] Fix missing DRONE_HOST env; expose server ports; fix agent image ref; fix drone server address. --- templates/drone/4/docker-compose.yml.tpl | 4 ++++ templates/drone/4/rancher-compose.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index 279192c..831a6fc 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -29,6 +29,7 @@ services: server: image: ${drone_server_image} environment: + DRONE_HOST: drone GIN_MODE: ${gin_mode} {{- if (.Values.drone_debug)}} DRONE_DEBUG: '${drone_debug}' @@ -106,6 +107,9 @@ services: io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} io.rancher.container.hostname_override: container_name {{- end}} + ports: + - 9000/tcp + - 8000/tcp lb: image: rancher/load-balancer-service ports: diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml index b27c195..922a0ea 100644 --- a/templates/drone/4/rancher-compose.yml +++ b/templates/drone/4/rancher-compose.yml @@ -66,12 +66,12 @@ catalog: - Bitbucket Cloud - Bitbucket Server - variable: drone_driver_client - label: Remote Driver client + label: Remote Driver Client description: "Client key from remote driver. Required for GitHub, Bitbucket Cloud, Bitbucket Server and GitLab." type: string required: false - variable: drone_driver_secret - label: Remote Driver secret + label: Remote Driver Secret description: "Secret key from remote driver. Required for GitHub, Bitbucket Cloud, Bitbucket Server and GitLab." type: multiline required: false @@ -81,12 +81,12 @@ catalog: type: string required: false - variable: drone_driver_user - label: Remove Driver Username + label: Remote Driver Username description: "Remote Driver username. Required for BitBucket Server; see http://docs.drone.io/install-for-bitbucket-server/." type: string required: false - variable: drone_driver_password - label: Remove Driver Password + label: Remote Driver Password description: "Remote Driver password. Required for BitBucket Server, http://docs.drone.io/install-for-bitbucket-server/." type: password required: false @@ -94,7 +94,7 @@ catalog: label: Drone Server description: "Drone sever identifier. Used by the agent to connect to the server (does not require change)." type: string - default: "ws://drone:8000/ws/broker" + default: "drone:9000" - variable: drone_server_image label: Drone Server Image description: "Docker image used for the Drone server container." @@ -104,7 +104,7 @@ catalog: label: Drone Agent Image description: "Docker image used for the Drone agent container(s)." type: string - default: "drone/drone:0.8.0-rc.1" + default: "drone/agent:0.8.0-rc.1" - variable: database_driver label: Database Driver description: "Database driver. If sqlite, additional volume would be mounted at /var/lib/drone." From 28e9c1f416f5fef775efd1138a7f9ac1d687634c Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 21 Jul 2017 15:03:04 +1000 Subject: [PATCH 03/10] Parameterise DRONE_HOST env var. --- templates/drone/4/docker-compose.yml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index 831a6fc..e675aab 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -29,7 +29,7 @@ services: server: image: ${drone_server_image} environment: - DRONE_HOST: drone + DRONE_HOST: ${drone_host} GIN_MODE: ${gin_mode} {{- if (.Values.drone_debug)}} DRONE_DEBUG: '${drone_debug}' From 1e71f1fc1a48160b1dfda57086c4ede4b93a7d84 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 21 Jul 2017 15:05:12 +1000 Subject: [PATCH 04/10] Parameterise DRONE_HOST env var. --- templates/drone/4/rancher-compose.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml index 922a0ea..1c12f52 100644 --- a/templates/drone/4/rancher-compose.yml +++ b/templates/drone/4/rancher-compose.yml @@ -6,21 +6,25 @@ catalog: description: | Drone CI Server ref http://readme.drone.io/admin/installation-guide/ questions: + - variable: drone_host + label: Drone Host URL + description: Intended URL Drone will be hosted on, e.g. http://drone.mycompany.com. + required: true + type: string - variable: host_port - label: Drone server Host Port - description: | - Port that will be exposed on service creation + label: Drone Server Host Port + description: Public port that will be exposed on service creation. required: true default: 8000 type: int - variable: agent_scale - label: Drone agent scale + label: Drone Agent Scale description: Drone agent scale to deploy required: true default: 1 type: int - variable: drone_secret - label: Server and agents secret. + label: Server and Agents Secret description: Server and agents secret to be communicate. http://readme.drone.io/admin/user-registration/ type: password required: true @@ -34,7 +38,7 @@ catalog: - "debug" required: true - variable: drone_open - label: Open registration + label: Open Registration description: | Users self register. http://readme.drone.io/admin/user-registration/ required: true From bc9554079a5d7503e51110cb2eb7e5c8f913e0e1 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 21 Jul 2017 15:06:29 +1000 Subject: [PATCH 05/10] Expose ports on correct server service. --- templates/drone/4/docker-compose.yml.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index e675aab..198c832 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -93,6 +93,9 @@ services: io.rancher.sidekicks: server-volume volumes_from: - server-volume + ports: + - 9000/tcp + - 8000/tcp server-volume: image: rawmind/alpine-volume:0.0.2-1 environment: @@ -107,9 +110,6 @@ services: io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} io.rancher.container.hostname_override: container_name {{- end}} - ports: - - 9000/tcp - - 8000/tcp lb: image: rancher/load-balancer-service ports: From 395c15c72f051ee03e486e784fe1dceddd09db00 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Mon, 24 Jul 2017 22:31:56 +1000 Subject: [PATCH 06/10] Don't expose ports directly for drone server. --- templates/drone/4/docker-compose.yml.tpl | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index 198c832..7574992 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -93,9 +93,6 @@ services: io.rancher.sidekicks: server-volume volumes_from: - server-volume - ports: - - 9000/tcp - - 8000/tcp server-volume: image: rawmind/alpine-volume:0.0.2-1 environment: From d16edb7b5c74abc9d3a5f8115261a4c6fd824825 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Mon, 24 Jul 2017 22:35:43 +1000 Subject: [PATCH 07/10] Use modern rancher lb image and fix port map. --- templates/drone/4/docker-compose.yml.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index 7574992..14c3d7f 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -108,9 +108,9 @@ services: io.rancher.container.hostname_override: container_name {{- end}} lb: - image: rancher/load-balancer-service + image: rancher/lb-service-haproxy:v0.6.4 ports: - - ${host_port}:8000/tcp + - ${host_port}:${host_port} links: - server:server labels: From f826533c59f8b80cd648f7740ac5d00c24c65f1d Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Tue, 25 Jul 2017 21:30:39 +1000 Subject: [PATCH 08/10] Employ use of drone version/tag instead of separate images, lb as global schedule. --- templates/drone/4/docker-compose.yml.tpl | 7 +++---- templates/drone/4/rancher-compose.yml | 21 ++++++++++----------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index 14c3d7f..b822ae1 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -1,7 +1,7 @@ version: '2' services: agent: - image: ${drone_agent_image} + image: drone/agent:${drone_version} environment: DRONE_SERVER: ${drone_server} DRONE_SECRET: ${drone_secret} @@ -27,7 +27,7 @@ services: io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} io.rancher.container.hostname_override: container_name server: - image: ${drone_server_image} + image: drone/drone:${drone_version} environment: DRONE_HOST: ${drone_host} GIN_MODE: ${gin_mode} @@ -111,7 +111,6 @@ services: image: rancher/lb-service-haproxy:v0.6.4 ports: - ${host_port}:${host_port} - links: - - server:server labels: + io.rancher.scheduler.global: 'true' io.rancher.scheduler.affinity:host_label_soft: drone_lb=true diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml index 1c12f52..2f7dc05 100644 --- a/templates/drone/4/rancher-compose.yml +++ b/templates/drone/4/rancher-compose.yml @@ -99,16 +99,16 @@ catalog: description: "Drone sever identifier. Used by the agent to connect to the server (does not require change)." type: string default: "drone:9000" - - variable: drone_server_image - label: Drone Server Image - description: "Docker image used for the Drone server container." - type: string - default: "drone/drone:0.8.0-rc.1" - - variable: drone_agent_image - label: Drone Agent Image - description: "Docker image used for the Drone agent container(s)." - type: string - default: "drone/agent:0.8.0-rc.1" + - variable: drone_version + label: Drone Version + description: "Drone version/Docker tag used for the Drone container images." + type: enum + default: "0.8.0-rc.1" + options: + - 0.8.0-rc.1 + - 0.8.0 + - '0.8' + - latest - variable: database_driver label: Database Driver description: "Database driver. If sqlite, additional volume would be mounted at /var/lib/drone." @@ -164,7 +164,6 @@ services: healthy_threshold: 2 response_timeout: 2000 lb: - scale: 1 start_on_create: true lb_config: certs: [] From caa454c1237123d0b0f9d12dc72d5519d5c3f15f Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Tue, 25 Jul 2017 22:12:06 +1000 Subject: [PATCH 09/10] Parameterise the host LB host label used for affinity scheduling. --- templates/drone/4/docker-compose.yml.tpl | 2 +- templates/drone/4/rancher-compose.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/drone/4/docker-compose.yml.tpl b/templates/drone/4/docker-compose.yml.tpl index b822ae1..b2ed55b 100644 --- a/templates/drone/4/docker-compose.yml.tpl +++ b/templates/drone/4/docker-compose.yml.tpl @@ -113,4 +113,4 @@ services: - ${host_port}:${host_port} labels: io.rancher.scheduler.global: 'true' - io.rancher.scheduler.affinity:host_label_soft: drone_lb=true + io.rancher.scheduler.affinity:host_label_soft: ${drone_lb_host_label} diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml index 2f7dc05..bac6c11 100644 --- a/templates/drone/4/rancher-compose.yml +++ b/templates/drone/4/rancher-compose.yml @@ -148,6 +148,12 @@ catalog: - 'true' - 'false' default: 'false' + - variable: drone_lb_host_label + label: Drone LB Host Label + description: Host Label (soft affinity) for scheduling of the load balancer service. + required: true + default: "drone_lb=true" + type: string services: agent: scale: ${agent_scale} From 38e577c1cabaaed07162d838c2cdf8d3006e0744 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Tue, 25 Jul 2017 22:13:11 +1000 Subject: [PATCH 10/10] Minor casing fix. --- templates/drone/4/rancher-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/drone/4/rancher-compose.yml b/templates/drone/4/rancher-compose.yml index bac6c11..ee8bbec 100644 --- a/templates/drone/4/rancher-compose.yml +++ b/templates/drone/4/rancher-compose.yml @@ -150,7 +150,7 @@ catalog: default: 'false' - variable: drone_lb_host_label label: Drone LB Host Label - description: Host Label (soft affinity) for scheduling of the load balancer service. + description: Host label (soft affinity) for scheduling of the load balancer service. required: true default: "drone_lb=true" type: string