I have registered two runners, one shell and one docker. Neither of them is 
able to run my ci yaml file because none of the environment variables it 
depends on exist. For example     

- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com

Fails because CI_JOB_TOKEN is missing. I have echoed several of the 
variables I depend on and none of them exist. 

Here is my config.toml.

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "tim-laptop-runner"
  url = "https://gitlab.com";
  token = "XXXXXXXX"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "docker:18-dind"
    privileged = true
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
    cache_dir = "cache"
    shm_size = 0
  [runners.cache]

[[runners]]
  name = "tim-laptop-shell"
  url = "https://gitlab.com/";
  token = "S\XXXXXXXXX"
  executor = "shell"
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]


I really want to get this running on my laptop so any help would be much 
appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/43ef53de-76c0-46ad-967b-806251fb96b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to