Commit ecf88843 authored by Mathéo CIMBARO's avatar Mathéo CIMBARO
Browse files

Simple sh

parent 602b2d07
concurrent = 8
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = NAME
url = URL
token = TOKEN
executor = "docker"
environment = ["DOCKER_TLS_CERTDIR=", "DOCKER_DRIVER=overlay2", "DOCKER_HOST=tcp://docker:2375/"]
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
image = "docker:19.03.15"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/certs/client", "/cache"]
shm_size = 0
#!/bin/bash
sudo gitlab-runner register -n \
--name NAME \
--url URL \
--registration-token TOKEN \
--executor docker \
--env "DOCKER_TLS_CERTDIR=" \
--env "DOCKER_DRIVER=overlay2" \
--env "DOCKER_HOST=tcp://docker:2375/" \
--docker-image "docker:19.03.15" \
--docker-privileged \
--docker-volumes "/certs/client" \
--docker-volumes "/cache" \
--limit 8
Supports Markdown
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