Commit 70e64f52 authored by Kevin Daudt's avatar Kevin Daudt 💻

runners: define profiles

The docker container now reads the runner configuration from profiles.
Define 2 profiles for the Alpine Linux Gitlab CI runners.
parent fd080de3
Pipeline #5140 passed with stage
in 29 seconds
......@@ -4,6 +4,7 @@ services:
image: alpinelinux/gitlab-runner:latest-${ALPINE_ARCH}
restart: always
volumes:
- ./profiles:/data/profiles
- /srv/docker/gitlab-runner-${ALPINE_ARCH}/conf:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
environment:
......
RUNNER_NAME="image-builder ($ALPINE_ARCH)"
REGISTRATION_TOKEN=$GITLAB_REGISTRATION_TOKEN_DOCKER
RUNNER_TAG_LIST=docker-alpine,ci-docker-image,$ALPINE_ARCH
RUNNER_LIMIT=1
DOCKER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
RUNNER_NAME="shared-runner ($ALPINE_ARCH)"
REGISTRATION_TOKEN=$GITLAB_REGISTRATION_TOKEN_SHARED
RUNNER_TAG_LIST=docker-alpine,ci-build,$ALPINE_ARCH
RUNNER_LIMIT=2
RUNNER_OUTPUT_LIMIT=102400
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment