2019년 3월 7일 목요일

gitlab "fatal: unable to access 'https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@holyxlat.com/root/test-project.git/': Could not resolve host:

fatal: unable to access 'https://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@holyxlat.com/root/test-project.git/': Could not resolve host: holyxlat.com
/bin/bash: line 69: cd: /builds/root/test-project: No such file or directory
ERROR: Job failed: exit code 1

[solution]

$ vi /etc/gitlab-runner/config.toml

[[runners]]
  name = "test-runner"
  url = "https://holyxlat.com:1443"
  token = "gpp2ahsxs8xkB4AeZZxX"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "java:8"
    privileged = true
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
    extra_hosts = ["holyxlat.com:127.0.0.1"]  // ["<hostname>":"<ip address>"]

댓글 없음:

댓글 쓰기