Gitlab Runner config file

PHOTO EMBED

Fri Jan 12 2024 09:52:44 GMT+0000 (Coordinated Universal Time)

Saved by @Shuhab #bash

concurrent = 1
check_interval = 0
shutdown_timeout = 0

[session_server]
  session_timeout = 3600
[[runners]]
  name = "Runner Name - Docker"
  url = "https://gitlab.?.com/"
  token = "<Gitlab-Runner-Token"
  executor = "docker"
  # Path to the custom CA certificate
  tls-ca-file = "path to certs"
  [runners.docker]
    gpus = "all"
    privileged = false
    tls_verify = false
    image = "docker:stable"  # Specify the default Docker image for running jobs
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0  # Disable Docker build sharing
    [runners.docker.auth]
      username = "<gitlab-Token>"
      password = "<Token-Password>"

[[runners]]
  name = "Runner Name - Shell"
  url = "https://gitlab.?.com/"
  token = "<Gitlab-Runner-Token>"
  executor = "shell"
  # Path to the custom CA certificate
  tls-ca-file = "path to certs"
content_copyCOPY