Commit 65a38ab3 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Usa Docker mediante socket al host, revisa límites

En lugar de complicar la configuración (que actualmente no funcionaba
correctamente) haciendo uso de dind con TLS y demás, se simplifica la
interacción con Docker daemon mediante el montaje del socket que provee
el host.

Ajusta los límites de trabajos y peticiones a sus valores por defecto.
El límite que interesaba retocar está fuera de ámbito ("concurrent" a
nivel de raíz en la config), y no es posible editarlo sin tocar el
fichero generado posteriormente.
parent c7c093b1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,16 +10,16 @@ REGISTER_LOCKED=false
REGISTER_RUN_UNTAGGED=true
RUNNER_NAME=redmic-gitlab-runner
RUNNER_TAG_LIST=custom-runner
RUNNER_LIMIT=1
RUNNER_REQUEST_CONCURRENCY=3
RUNNER_LIMIT=0
RUNNER_REQUEST_CONCURRENCY=1
RUNNER_OUTPUT_LIMIT=40960
RUNNER_EXECUTOR=docker
RUNNER_ENV=DOCKER_TLS_CERTDIR=/certs
RUNNER_ENV=

DOCKER_IMAGE=alpine:latest
DOCKER_PRIVILEGED=true
DOCKER_DISABLE_CACHE=false
DOCKER_VOLUMES=/certs/client
DOCKER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
DOCKER_NETWORK_MODE=gitlab-net
DOCKER_SHM_SIZE=1000000000
DOCKER_MEMORY=4g