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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南