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
asked a month ago110 views
2 Answers
0
Accepted Answer

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
EXPERT
answered a month ago
profile pictureAWS
EXPERT
reviewed a month ago
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
EXPERT
Ranjith
answered a month 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