-
Bug
-
Resolution: Done
-
Blocker
-
7.11.0.GA
-
None
-
2021 Week 10-12 (from Mar 8)
-
- install python, cekit and all required dependencies
- try to build jdbc extenstion image (rhpam-7-openshift-image/templates/contrib/jdbc/cekit) e.g. using '$ make db2'
-
Undefined
Build of KIE JDBC Driver extension image failing with cekit 3.8.0 . This issue was discovered during testing of 7.10.1 - Open as KIECLOU issue as for 7.10.1 build is mandatory to use CEKIT 3.2.0 and with this version build pass. Update to CEKIT 3.8.0 is done via KIECLOUD-351
Build of image fails in tests (behave test), when is check that install properties files exists. File does not exists as it was not found, according cekit log, during the build phase.
2021-03-24 22:28:47,946 cekit INFO Docker: + cp '/tmp/scripts/kie-custom-jdbc-driver/added/{install.sh,install.properties}' /extensions 2021-03-24 22:28:47,947 cekit INFO Docker: cp: can't stat '/tmp/scripts/kie-custom-jdbc-driver/added/{install.sh,install.properties}': No such file or directory
This is cause by syntax used in install.sh script. In newer version of CEKIT is not accepted "{install.sh,install.properties}" in copy command
To resolve issue it would be needed to split cp command in install.sh script https://github.com/jboss-container-images/rhpam-7-openshift-image/blob/master/templates/contrib/jdbc/cekit/modules/kie-custom-jdbc-driver/install.sh#L12