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
posta 2 mesi fa121 visualizzazioni
2 Risposte
0
Risposta accettata

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
ESPERTO
con risposta 2 mesi fa
profile pictureAWS
ESPERTO
verificato 2 mesi fa
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
ESPERTO
Ranjith
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande