monorepo CI/CD pipeline using one a single pipeline for my forntend and backend in codepipeline

0

How to a achieve a monorepo CI/CD pipeline using one a single pipeline for my forntend and backend in codepipeline

Nafiu
已提问 2 个月前121 查看次数
2 回答
0
已接受的回答

Hello.

Are the front end and back end separated by repositories such as GitHub?
If the repositories are separate, I think you will need two CodePipelines.
As of March 2024, CodePipeline cannot track multiple repositories, so you must create a pipeline for each repository.
https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-about-starting.html

profile picture
专家
已回答 2 个月前
profile pictureAWS
专家
已审核 2 个月前
0

A pipeline can have multiple CodeConnections sources (GitHub), and each source can have it's own triggers (or not have triggers). So you can define a pipeline that has two sources pointing to the same repository, but with different filters for file paths - one for frontend and one for backend. When a change in either the frontend or backend file path is received, a new pipeline execution is started with the source that triggered the pipeline cloning the specific commit, and the other source cloning the HEAD commit. You can also have a pipeline with a trigger for frontend source and no trigger on the backend source.

Can you explain what the single pipeline that will be triggered for changes from both frontend and backend paths will do?

profile pictureAWS
专家
Ranjith
已回答 1 个月前

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

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

回答问题的准则