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
asked 8 months ago290 views
2 Answers
1
Accepted Answer

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
EXPERT
Ranjith
answered 7 months ago
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
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions