Commit 59e6ac34 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Actualiza valores de configuración

Corrige ajustes de trabajos concurrentes. Peticiones aceptadas máximas a
3, trabajos simultáneos máximos a 1.

Deshabilita caché de contenedores de runner, innecesario e inunda de
volúmenes el entorno.

Habilita modo privilegiado, requisito para usar docker in docker.

Para funcionar con versión de docker 19.03 y superiores, hace falta
deshabilitar TLS explícitamente. Se añade ajuste para propagarlo a los
contenedores creados por el runner. Más info:
https://about.gitlab.com/releases/2019/07/31/docker-in-docker-with-docker-19-dot-03/
parent 0768bd1b
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -10,14 +10,15 @@ REGISTER_LOCKED=false
REGISTER_RUN_UNTAGGED=true
RUNNER_NAME=redmic-gitlab-runner
RUNNER_TAG_LIST=custom-runner
RUNNER_LIMIT=3
RUNNER_REQUEST_CONCURRENCY=1
RUNNER_LIMIT=1
RUNNER_REQUEST_CONCURRENCY=3
RUNNER_OUTPUT_LIMIT=40960
RUNNER_EXECUTOR=docker
RUNNER_ENV=DOCKER_TLS_CERTDIR=

DOCKER_IMAGE=alpine
DOCKER_PRIVILEGED=false
DOCKER_DISABLE_CACHE=false
DOCKER_PRIVILEGED=true
DOCKER_DISABLE_CACHE=true
DOCKER_SHM_SIZE=1000000000
DOCKER_MEMORY=4g
DOCKER_MEMORY_RESERVATION=1g
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ services:
      RUNNER_REQUEST_CONCURRENCY:
      RUNNER_OUTPUT_LIMIT:
      RUNNER_EXECUTOR:
      RUNNER_ENV:
      CACHE_TYPE:
      CACHE_SHARED:
      CACHE_S3_SERVER_ADDRESS: