webdetails / cbf2

Pentaho Docker Utilities
36 stars 36 forks source link

EE image build patching broken. #12

Open usbrandon opened 6 years ago

usbrandon commented 6 years ago

EE image builds with patching appears to be from a different time and place. Patches from Hitachi Vantara Pentaho now are only .bin files. A ticket to professional support resulted in a suggestion to

PentahoServer-SP-${product.version}.exe -i silent -DEULA_ACCEPT=true -DMANUAL_PATCH_PATH=/tmp/dump -DSILENT_LOG=/tmp/pentaho-installer.log -DSOURCE_VERSION=8.0.0.0-28

-DSILENT_LOG is optional and will give a legible explanation of the execution's result -DMANUAL_PATCH_PATH must already exist -DSOURCE_VERSION is the version of the product to be patched.

Exit Codes: See Silent installation section above

The patches do not extract to the destination specified, but rather /tmp/patch name. The existing shell script used to look for BIServer within the patch, but does that would not exist anymore due to the new structure.

The 'processing' part of the patch also does not work anymore, for reasons I haven't traced yet.

Finally the image produced retains the old / base version 8.0.0.0-28 after patching. Not sure if that is a symptom of failed patching or just a get to it later feature.

Hitachi Vantara Pentaho crews seem to enjoy 'zip' builds that include patches and are distributed as blah-dist.zip's. Nevermind, customers like me have asked for ages, and it did not come to fruition. So this fact probably plays into the neglect of this functionality.