我刚尝试使用Gitlab的APT存储库在我的Debian主机上安装gitlab-ce。我拉了this example并将其推送到我的主机并配置了一个转轮,并收到以下错误:
gitlab-ci-multi-runner 0.7.2 (998cf5d)
Using Docker executor with image php:5.6 ...
Pulling docker image mysql:latest ...
Starting service mysql:latest ...
Waiting for services to be up and running...
Pulling docker image gitlab/gitlab-runner:service ...
Pulling docker image gitlab/gitlab-runner:cache ...
Pulling docker image gitlab/gitlab-runner:build ...
Pulling docker image php:5.6 ...
Running on runner-4d0395b6-project-2-concurrent-0 via gitlab...
Cloning repository...
Cloning into '/builds/d33tah/gitlab-ci-test'...
fatal: Authentication failed for 'https://gitlab-ci-token:xxxxxx@gitlab.somedomain.com/d33tah/gitlab-ci-test.git/'
ERROR: Build failed with: exit code 1
指向跑步者http://localhost/ci也没有帮助。我是否必须删除我的HTTPS身份验证才能使该工具正常工作?
答案 0 :(得分:0)
我最终通过SSL托管网站,并确保gitlab.somedomain.com指向localhost,以便https://gitlab.somedomain.com不需要本地身份验证。由于我也想要一个Docker运行器,我必须设置一个本地DNS服务器并让Docker使用它。