gitlab-ce to 9.4.2 and gitlab-runner to 9.4.1 added as new version

This commit is contained in:
Tayyeb
2017-08-01 07:15:55 +04:30
parent 516cfdff04
commit c1e33ae921
9 changed files with 192 additions and 5 deletions
@@ -3,7 +3,7 @@ version: '2'
services:
gitlab-runner-config:
image: gitlab/gitlab-runner:alpine-v9.4.1
image: gitlab/gitlab-runner:alpine-v9.3.0
stdin_open: true
volumes:
- /etc/gitlab-runner/
@@ -31,7 +31,7 @@ services:
io.rancher.container.start_once: 'true'
gitlab-runner:
image: gitlab/gitlab-runner:alpine-v9.4.1
image: gitlab/gitlab-runner:alpine-v9.3.0
stdin_open: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
@@ -2,7 +2,7 @@ version: '2'
catalog:
name: "gitlab-multi-runner"
version: "9.4.1"
version: "9.3.0"
description: "a Gitlab pipelines multi-runner, that will spawn privates runners in your infra."
minimum_rancher_version: v1.5.0
# maximum_rancher_version:
@@ -0,0 +1,46 @@
version: '2'
services:
gitlab-runner-config:
image: gitlab/gitlab-runner:alpine-v9.4.1
stdin_open: true
volumes:
- /etc/gitlab-runner/
tty: true
command:
- register
- -n
- --url
- ${GITLAB_URL}
- --registration-token
- ${GITLAB_TOKEN}
- --tag-list
- ${GITLAB_TAGS}
- --executor
- docker
- --description
- Rancher Docker Runner
- --docker-image
- docker:latest
- --docker-volumes
- /var/run/docker.sock:/var/run/docker.sock
- --docker-privileged
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
gitlab-runner:
image: gitlab/gitlab-runner:alpine-v9.4.1
stdin_open: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
tty: true
volumes_from:
- gitlab-runner-config
command:
- run
labels:
io.rancher.sidekicks: gitlab-runner-config
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true'
@@ -0,0 +1,37 @@
version: '2'
catalog:
name: "gitlab-multi-runner"
version: "9.4.1"
description: "a Gitlab pipelines multi-runner, that will spawn privates runners in your infra."
minimum_rancher_version: v1.5.0
# maximum_rancher_version:
# upgrade_from: # The previous versions that this template can be upgraded from
questions:
- variable: "GITLAB_URL"
label: "Gitlab Url"
description: "Url to your Gitlab CI endpoint"
type: "string"
default: "https://gitlab.com/ci"
required: true
- variable: "GITLAB_TOKEN"
label: "Gitlab Token"
description: "Token provided in you project settings"
type: "string"
default: "xxxxxxxxxxxxxxxxxxxx"
required: true
- variable: "GITLAB_TAGS"
label: "Gitlab Tags"
description: "Tags to apply"
type: "string"
default: "dev"
required: false
services:
gitlab-runner-config:
scale: 1
start_on_create: true
gitlab-runner:
start_on_create: true