Post release tasks (BUILD-595)

[BUILD-642] dx-core cloud webapp should be uploaded to cloud S3 Created: 13/Jan/22  Updated: 10/Feb/22  Resolved: 10/Feb/22

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Team: Foundation

 Description   

From fgrilli:
 
Speaking of staging 6.2.x, it occurred to me that dx-core is a special module in that it needs to upload the cloud webapp to S3. For that it needs

  • an additional profile mvn clean release:perform -Pstaging,magnolia-cloud-deploy -Dgoals=deploy  and
  • AWS credentials must be set as env variables

This looks to me like a post-release task. We don't really need to use the Maven profile & plugin to push an artifact to S3, but since our executors are on Jenkins, maybe it's easiest to use them. TBD.

UPDATE:

Version 1.1.1 of the maven cloud plugin can be used standalone. After release:perform from dx-core root one should be able to do
mvn -am -pl :magnolia-dx-core-cloud-webapp clean deploy -Pmagnolia-cloud-deploy -DskipTests -Dmaven.install.skip=true -Dmaven.deploy.skip=true


Generated at Sun Feb 11 23:43:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.