Code Pipeline - GitLab source - does not list all repositores

1

I've set up a new GitLab connection per https://docs.aws.amazon.com/codepipeline/latest/userguide/connections-gitlab.html but it only lists my direct projects - myusername/projectA myusername/projectB etc

I want to use a project I have access to on GitLab under another group - https://gitlab.com/company name/group/app.git (that's the clone URL, I can view the project via the GitLab web interface under my account too.

I can't enter extravision/messenger/messenger/ under 'Repository name' as the 'branch name' then just says An unspecified error occurred. (Click here to retry).

Am i missing something?

Tom
已提问 9 个月前325 查看次数
2 回答
1
已接受的回答

We have added support for GitLab group projects in CodePipeline. When you create a pipeline through the console, after selecting the GitLab connection, you can manually enter the fully qualified project name in the repository field - step 9 in the [documentation] (https://docs.aws.amazon.com/codepipeline/latest/userguide/connections-gitlab.html#connections-gitlab-console). This is also supported when creating a pipeline through API/CLI or CloudFormation or CDK.

profile pictureAWS
专家
Ranjith
已回答 8 个月前
0

Hi. Tom,

Only user-level repositories are supported with GitLab: see final sentence below from the page you point

Important
Connections only support repositories that are created at the user level in GitLab. 
Repositories (called projects in GitLab) at the group level are not supported for 
connections. For example, do not use a repository in GitLab with the following 
format: group-name/repository-name. Your repository must be a repository 
with the following format: user/repository-name.

A workaround could be to fork and clone the repo that you need under your name and synchronize it with original on a regular basis. Best,

Didier

profile pictureAWS
专家
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容