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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠