Reputation: 105
I have a repository in GitLab (Lambda Functions) and want to work with the AWS CDK pipeline (https://aws.amazon.com/blogs/developer/cdk-pipelines-continuous-delivery-for-aws-cdk-applications) to develop CI/CD pipeline. In AWS CDK docs there is nowhere mention about Gitlab. Will really appreciate it if someone can confirm this.
Upvotes: 1
Views: 2567
Reputation: 179
For anyone looking the accepted answer is no longer correct. AWS Supports Gitlab connections. I should mention since this is asking for CDK there is a level 1 construct you can use.
Upvotes: 0
Reputation: 96
Maybe this answer comes too late for you:
What you can do:
These providers are supported at the moment:
"GitHub; you can also use CodeStar or AWS CodeCommit"
(https://docs.aws.amazon.com/cdk/v2/guide/cdk_pipeline.html)
You can setup an empty repository in AWS CodeCommit and then use the GitLab repository mirroring to replicate the changes to AWS CodeCommit.
https://docs.gitlab.com/ee/user/project/repository/mirror/
Upvotes: 0
Reputation: 336
Only Bitbucket, GitHub, GitHub Enterprise Server actions are supported natively with codepipelines at the moment. You will need a custom lambda for gitlab. https://aws.amazon.com/quickstart/architecture/git-to-s3-using-webhooks/ can help you with that.
You can use s3 source actions after implementing up git to s3 logic
Upvotes: 3