AEMasCS Build & Deploy Pipelines | Community
Skip to main content
November 28, 2022
Solved

AEMasCS Build & Deploy Pipelines

  • November 28, 2022
  • 3 replies
  • 1446 views

Hello everyone - We are moving from on-prem to the cloud (AEMasCS). Have a general question with regard to repo management and deployment, and inputs/suggestions from the community. 

We have X number of sites and each site has its own repository. In the current on-prem situation, we have different pipelines that build these repositories and deploy to prod as needed based on their own schedules/release timelines. But now with AEMasCS, I see that all the repositories need to be pushed under one parent repo and we need to build & deploy together (if I understand it correctly), which means all the repositories need to be built and deployed at once. In practice that will not work for us, is there a way we can segregate the build and deployments based on the repository? Can we have a different sub-set of pipelines?

Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by nitesh_kumar-1

@nvundavalli Multiple git repo is available on the cloud manager now, you can add repositories for each site.

 

As you can only have a single pipeline for production deployment you need to change the repository for the pipeline before triggering the build on the cloud manager for the site you want to deploy. However, please make sure there is no discrepancy between the dependencies across your repositories. This might result in build failure or show some unexpected behavior on the cloud.

 

If the repositories are interdependent I would still recommend bringing them under the same parent module. (Or use git-submodules)

 

Hope this helps.

3 replies

Avinash_Gupta_
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 28, 2022

@nvundavalli AEM Could manager aggregates all the packages from different multi tenant repos and consolidate it into a single package. The contents from multiple git repositories need to be mapped to different directories within the single Cloud Manager git repository. Unfortunately, there is a no way currently to segregate the builds and deployments from different repos and deploy individually using AEM cloud manager.

 

Here are some articles that you can refer to merge all your different repos and consolidate into a single cloud manager git repo.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/managing-code/working-with-multiple-source-git-repositories.html?lang=en 

 

https://varun-mitra.medium.com/aem-as-cloud-service-working-with-multiple-source-git-repositories-c0647e500552 

https://www.comwrap.com/en/blog/multi-tenancy-with-adobe-cloud-manager.html 

 

Hope this helps.

nitesh_kumar-1
Adobe Employee
nitesh_kumar-1Adobe EmployeeAccepted solution
Adobe Employee
December 2, 2022

@nvundavalli Multiple git repo is available on the cloud manager now, you can add repositories for each site.

 

As you can only have a single pipeline for production deployment you need to change the repository for the pipeline before triggering the build on the cloud manager for the site you want to deploy. However, please make sure there is no discrepancy between the dependencies across your repositories. This might result in build failure or show some unexpected behavior on the cloud.

 

If the repositories are interdependent I would still recommend bringing them under the same parent module. (Or use git-submodules)

 

Hope this helps.

December 5, 2022

Hi @nitesh_kumar-1  - appreciate your response. Can you pls point me to the documentation regarding “multiple git repo is available on the cloud now”.

Shashi_Mulugu
Community Advisor
Community Advisor
December 2, 2022

@nvundavalli unfortunately no, AEM cloud works different than On-Prem, AMS..its a dynamic architecture, everytime you do a deployment it creates fresh set of AEM instances and have a concept called golden master which is a combination of latest adobe instance + full set of latest appliance code.. so with this you can't install bits and pieces I.e module by module or app by app.. everytime deployment has to be complete deployment.

But different git sync process or with cloud manager multiple repo concept you can control if your latest changes from other repos are not pushed to Adobe Git while you plan for deployment of changes from only one git/module.