Hi all,
in the last times we realized that the current setup of reproducible checks
is not behaving as expected.
In theory, the module should be first built and installed; soon after, it
should be rebuilt, and the new artifact compared with the previous one.
This does not happen due to a missing "clean" in the profile.
At the same time, we discovered that some modules inside kogito-runtimes
are not reproducible: those are "tests" modules that create projects out of
models.
Since the reproducible check is delegated to a maven profile, it is not
easy to exclude these modules, and it is not even easy to recreate exactly
what should be required for 100% compliant reproducible check.
So, we decided to remove the profile and implement the check inside the
build-chain itself.
This PR <https://github.com/apache/incubator-kie-kogito-pipelines/pull/1247>
add
an "after" step to the kogito-runtimes build-chain, and in such step the
check is made, paying attention that

   1. artifacts are compared from local repository (and not from central
   one)
   2. not-reproducible modules are excluded from check


There is another PR
<https://github.com/apache/incubator-kie-kogito-runtimes/pull/3663>, in
kogito-runtimes, that removes the profile, and it should be merged soon
after. In the inter-lapse between the twos, the reproducible check will be
executed twice, once for the profile, and once for the build-chain, but I
hope to be able to merge them as fast as possible.

Feel free to ask or ping me directly for clarification.

Sorry for the inconvenience.
Best
Gabriele

Reply via email to