-
Bug
-
Resolution: Done
-
Critical
-
3.1.0.GA
-
None
-
False
-
None
-
False
-
Not Required
The UDI image includes lombok, which we build in a container in Jenkins and then publish to GH releases.
- https://github.com/redhat-developer/devspaces-images/releases/tag/3.1.0-udi-assets
- https://github.com/redhat-developer/devspaces-images/releases/download/3.1.0-udi-assets/lombok-1.18.22.jar
These zips are then unpacked and simply copied into the target image:
Could use cachito w/o a package manager to simply fetch sources from the GH project (and a commit SHA) so that the sources are available in the downstream repo at build time.
in a builder stage...install antclone https://github.com/projectlombok/lombok.git from the right SHAant dist
in the final stage...copy lombok to destination where it's needed
... but that looks like a lot of pain for a single small jar.
Instead, we should switch to adding a fetch-artifacts-url.yaml file to the mid and downstream repos, per the docs
https://osbs.readthedocs.io/en/latest/users.html#fetch-artifacts-url-yaml
and simply reuse https://repository.jboss.org/nexus/service/local/repositories/central/content/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar (or newer pull from some other RH acceptable location like https://maven.repository.redhat.com/ga/org/projectlombok/lombok/index.html [which only has 1.18.12 right now])
... and attach sources too, if possible.