Skip to content

Usage

Register a runner with GitLab Runner and configure it like this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[[runners]]
  name = "DrupalCI"
  url = "https://your.gitlab.url/"
  token = "..."
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "registry.lakedrops.com/docker/gitlab-drupal-ci:php-7.2"
    privileged = true
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
    shm_size = 0
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

Node version

When using node from within this framework, this defaults to version 12-stretch-slim but you can change the default version by setting the environment variable NODE_VERSION to one of these tags:

  • 8-jessie-slim
  • 10-jessie-slim
  • 12-stretch-slim
  • 13-stretch-slim

Credit