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
preguntada hace 2 meses121 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile pictureAWS
EXPERTO
revisado hace 2 meses
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
EXPERTO
Ranjith
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas