Hi All,
We have different teams managing different tenants of a site, on a single AEM instance. Each team needs to do a deployment for their own tenant independently.
We have an option of going with a Maven Multi module project in a Single GIT repo, where each module corresponds to a single tenant, and we can have profile based builds to do a deployment for each tenant independently. Does ACM support profile based builds? I don't seem to find any related documentation around this.
Any suggestions / solutions please..
Thanks.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Is this for AMS or Cloud Service?
In AEM Cloud Service, you cannot install parts of the code base, every deployment creates a new image and your complete code package has to be deployed every time. If Cloud Service is on the roadmap already, I'd try to stick to the best practices for that. Even though it might be possible for you to do this on AMS.
FWIW, this document explains what you are looking to do https://docs.adobe.com/content/help/en/experience-manager-cloud-service/onboarding/getting-access/cr...
The ideal goal is to have automated tests, also, IMO, with multiple tenants, the sooner you catch the bugs, the better. lots of customers wait until Stage to merge all the code and deploy once, this is too late to cause issues. Deploy everything together on dev, write automated tests, catch bugs early.
Check these documents https://docs.adobe.com/content/help/en/experience-manager-cloud-manager/using/getting-started/create...
https://maven.apache.org/guides/introduction/introduction-to-profiles.html,it tells about Maven Profiles that can be used to define how the build should be different in different environments, including Cloud Manager.
Thanks!!
This talks about managing builds on different environments using environment variables. But, I am looking for performing multiple profile builds based on the need to a single environment.
For Ex: On Single DEV environment I want to do a build of module1 (using profile1) today, and a build of module2 (using profile2) next week.
I don't think the CM supports the profiles. You can create a two different release branches for each site and checkin the changes to those respective branches individually. You can use the release branch to deploy them to AMS servers using CM.
After deployment, merge those release branches back to master so your master repo would be in sync.
Thanks,
Singaiah
@kautuk_sahni , @kaushal_mall can you please help here
Is this for AMS or Cloud Service?
In AEM Cloud Service, you cannot install parts of the code base, every deployment creates a new image and your complete code package has to be deployed every time. If Cloud Service is on the roadmap already, I'd try to stick to the best practices for that. Even though it might be possible for you to do this on AMS.
FWIW, this document explains what you are looking to do https://docs.adobe.com/content/help/en/experience-manager-cloud-service/onboarding/getting-access/cr...
The ideal goal is to have automated tests, also, IMO, with multiple tenants, the sooner you catch the bugs, the better. lots of customers wait until Stage to merge all the code and deploy once, this is too late to cause issues. Deploy everything together on dev, write automated tests, catch bugs early.
This is for AMS currently, but there is a planned upgrade to Cloud Service towards the year end. So, a scalable solution helps.
Thanks in Advance.
@kaushal_mallgreat to hear from you, hope you are doing good. Our ask was whether we can deploy individual projects as modules from within a parent project, on demand using profiles. The link you provided clearly calls out why that's not possible in AEM as a cloud service. We actually raised this with the dedicated adobe support for one of our clients and to my surprise below is the response what we received.
o You can have only 1 pipeline per environment but can manage multiple builds through maven profiles
o Maven profiles support : Pipeline variables are identical between AMS and Cloud Service (CS) so maven profile is supported in CS as well.
o You may explore env.CM_BUILD variable for setting up profile variables. Go through below link, see section "Activating Maven Profiles in Cloud Manager"
Looks like , either we are missing something or Adobe support response is not right. Your thoughts?
Stay Safe
This documentation no longer appears to be available. Any chance there is an updated link?
Views
Likes
Replies
Views
Likes
Replies