在自定义身份验证后运行Gitlab CI?

在自定义身份验证后运行Gitlab CI?,gitlab,gitlab-ci,gitlab-ci-runner,Gitlab,Gitlab Ci,Gitlab Ci Runner,我刚刚试着用gitlab的APT存储库在我的Debian主机上安装gitlab ce。我在配置了runner的情况下将其拉入并推送到主机,并出现以下错误: 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 serv

我刚刚试着用gitlab的APT存储库在我的Debian主机上安装gitlab ce。我在配置了runner的情况下将其拉入并推送到主机,并出现以下错误:

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

用手指跑步者也无济于事。我是否必须删除HTTPS身份验证才能使该工具正常工作?

我最终通过SSL托管了该网站,并确保gitlab.somedomain.com指向localhost,因此不需要本地身份验证。因为我还想要一个Docker runner,所以我必须设置一个本地DNS服务器并让Docker使用它。

对不起,但是你想做什么?您是对私有存储库使用基本HTTP身份验证,还是对gitlab实例使用.htaccess保护?据我所知,建议使用部署密钥作为机器或构建工具访问存储库。除此之外,请添加您的GL、GLCI和GLCIR版本。