...
- Verify there are no SNAPSHOTs and we are up-to-date with other team's released artifacts. The CI/CD daily release job does this by automatically failing if a SNAPSHOT is defined in the pom.xml's.
- Use the Self Releases Workflow (Nexus2) to release artifacts. Look at comments by Jorge Hernandez for steps.
- Update the OOM team K8S Helm Charts.
Note: If using maven version or release plugin, also manually check the versions are set correctly in the POMs, these plugins can miss POMs especially if they do not have Java source code in them.
"mvn -DnewVersion=6.X.X-SNAPSHOT versions:set versions:update-child-modules versions:commit"
2. For any new changes to be done post-Release. Then the we must update to the next SNAPSHOT version:
Release Order | Repo (released version) | Notes | Example Commit(s) for upgrading versions | |||
---|---|---|---|---|---|---|
1 | policy/parent TBD | all pom.xml's version.properties | ||||
2a | policy/docker 2.0.0 | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/docker/+/114316 | |||
2b | policy/common TBD | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/common/+/114285 | 2c | policy/clamp TBD | all pom.xml's version.properties In main pom.xml change the following properties
|
3 | policy/models TBD | all pom.xml's version.properties In main pom.xml change the following properties
| ||||
4a | policy/api TBD | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/api/+/114288 | |||
4b | policy/pap TBD | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/pap/+/114290 | |||
4c | policy/drools-pdp TBD | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
Update policy/drools-applications dockerfile to pull this image (see below) Update policy/drools-applications files:
| ||||
4d | policy/apex-pdp TBD | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| https://gerrit.onap.org/r/c/policy/apex-pdp/+/114292 | |||
4e | policy/xacml-pdp TBD | all pom.xml's version.properties In main pom.xml consider changing the policy.common.version property:
| https://gerrit.onap.org/r/c/policy/xacml-pdp/+/114324 | |||
4f | policy/distribution TBD | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/distribution/+/114291 | |||
4g | policy/clamp TBD | all pom.xml's version.properties In main pom.xml change the following properties
| ||||
5 - Dependent only on policy/drools-pdp | policy/drools-applications TBD | all pom.xml's version.properties In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/drools-applications/+/114862 | |||
6 - Dependent only on policy/models | policy/clamp | all pom.xml's (currently only one) In main pom.xml change the following properties
| https://gerrit.onap.org/r/c/policy/clamp/+/118101 |
When branching, its easiest to update the .gitreview file ON the new branch in order to ensure that new gerritt gerrit submissions are tracked on that branch.
...