Gitlab Artifacts错误:将工件上传到协调器......禁止

时间:2016-12-21 10:28:13

标签: continuous-integration gitlab http-status-code-401 artifacts

第一次使用工件时遇到问题。当CI运行器尝试上载工件时,该问题可见:

ERROR: Uploading artifacts to coordinator... forbidden  id=1698 responseStatus=403 Forbidden status=403 Forbidden token=xxxxxx
FATAL: permission denied                           
ERROR: Build failed: exit status 1

我在Ubuntu 14.04上使用Omnibus软件包 - 安装了最新版本。在Admin部分启用了工件,将文件大小设置为100MB,并在gitlab.rb配置中:

## Build Artifacts
gitlab_rails['artifacts_enabled'] = true
#gitlab_rails['artifacts_path'] = "/var/opt/gitlab/git-data/artifacts"`

sudo gitlab-rake gitlab:env:info的输出:

System information
System:         Ubuntu 14.04
Current User:   git
Using RVM:      no
Ruby Version:   2.3.1p112
Gem Version:    2.6.6
Bundler Version:1.13.6
Rake Version:   10.5.0
Sidekiq Version:4.2.1

GitLab information
Version:        8.14.5
Revision:       6f43aa0
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
URL:            https://githost.net
HTTP Clone URL: https://githost.net/some-group/some-project.git
SSH Clone URL:  git@githost.net:some-group/some-project.git
Using LDAP:     yes
Using Omniauth: no

GitLab Shell
Version:        4.0.3
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:            /opt/gitlab/embedded/bin/git

日志中没有多少 - 生产日志只显示对... /工件的POST请求。

任何想法?

0 个答案:

没有答案