-
Task
-
Resolution: Done
-
Major
-
7.9.0.GA
-
None
-
None
-
2020 Week 46-48 (from Nov 9)
-
Undefined
-
https://github.com/jboss-container-images/rhdm-7-image/pull/402, https://github.com/jboss-container-images/rhdm-7-image/pull/403, https://github.com/jboss-container-images/rhpam-7-image/pull/437, https://github.com/jboss-container-images/rhpam-7-image/pull/438, https://github.com/jboss-container-images/jboss-kie-modules/pull/406, https://github.com/jboss-container-images/jboss-kie-modules/pull/407, https://github.com/kiegroup/kie-cloud-tools/pull/30, https://github.com/kiegroup/kie-cloud-tools/pull/31
In order to build the RHBA container images with CPaaS we need to specify the consumed artifacts so they:
- use artifact file name as the artifact identifier.
- have an unique name for both products RHPAM/RHDM.
The first is needed because we cannot change the definition of the file name to be used for the artifacts from the CPaaS build.
The second is necessary because we have currently a naming collision with the product artifacts when building RHPAM and RHDM container images on CPaaS. In order to avoid this, and to be able to build everything in a single pipeline execution, we would need that the artifact names in the list below could be differentiated by product. Something like adding the product prefix to the artifact name would avoid the collision.
RHPAM
- business_central_distribution.zip
- business_central_monitoring_distribution.zip
- add_ons_distribution.zip
- kie_server_distribution.zip
RHDM
- add_ons_distribution.zip
- decision_central_distribution.zip
- kie_server_distribution.zip
After a quick look I found a couple of places where these artifacts are referenced. For kie_server_distribution.zip for example:
- https://github.com/jboss-container-images/jboss-kie-modules/blob/master/tools/build-overrides/build-overrides.sh#L704
- https://github.com/jboss-container-images/rhpam-7-image/blob/master/kieserver/modules/kieserver/module.yaml#L21
Proposed change is to append the product name on artifacts.