-
Choerodon平台版本:0.13.0
-
运行环境:自主搭建
-
问题描述:
一键部署完成后,因为没有部署runner,手工部署成功了。
合并分支成功以后,进入持续集成阶段。
进入gitlab查看日志,发现没办法下载项目。
日志如下:
Running with gitlab-runner 11.5.1 (7f00c780)
on runner-7b49dcc4f-cxkzr 4343c0f6
Using Kubernetes namespace: c7n-system
Using Kubernetes executor with image registry.cn-hangzhou.aliyuncs.com/choerodon-tools/cibase:0.7.0 …
Waiting for pod c7n-system/runner-4343c0f6-project-2-concurrent-0r9zvp to be running, status is Pending
Waiting for pod c7n-system/runner-4343c0f6-project-2-concurrent-0r9zvp to be running, status is Pending
Waiting for pod c7n-system/runner-4343c0f6-project-2-concurrent-0r9zvp to be running, status is Pending
Running on runner-4343c0f6-project-2-concurrent-0r9zvp via runner-7b49dcc4f-cxkzr…
Cloning repository…
Cloning into ‘/operation-xiaowei-01/jiqiren-v1’…
remote: You are not allowed to download code from this project.
fatal: unable to access ‘http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@gitlab.paywei.cn/operation-xiaowei-01/jiqiren-v1.git/’: The requested URL returned error: 403
/bin/bash: line 60: cd: /operation-xiaowei-01/jiqiren-v1: No such file or directory
ERROR: Job failed: command terminated with exit code 1
请问是哪里配置错误了呢?
触发pipline的用户没有该gitlab应用的权限,请切换有权限的用户重新触发pipeline