почему gitlib-runner использует http вместо https, который был настроен? - PullRequest
0 голосов
/ 17 октября 2019

Вот /etc/gitlab-runner/config.toml

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "node2"
  url = "https://git.cp.xxxx.com/"
  token = "53QP9XP_3L2z7o1XXXX"
  executor = "shell"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

[[runners]]
  name = "test-ci"
  url = "https://git.cp.xxxxx.com/"
  token = "AehS76JzyC47qvXXXXX"
  executor = "shell"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

, и бегун не работает, потому что наш gitlab использует только https

Running with gitlab-runner 12.3.0 (a8a019e0)
  on test-ci AehS76Jz
Using Shell executor...
Running on node2...
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /home/gitlab-runner/builds/AehS76Jz/0/game/testci/.git/
fatal: unable to access 'http://gitlab-ci-token:[MASKED]@git.cp.xxxx.com/game/testci.git/': The requested URL returned error: 500
ERROR: Job failed: exit status 1

Почему бегун gitlab пытается получить клон, используя http, а нечем https который был настроен?

...