| name | Update Java Bases | |
|---|---|---|
| about | This template contains instructions specific to updating this product and/or container image(s). | |
| title | chore(java-bases): Update image for YY.M.X | |
| labels | ||
| projects |
|
|
| assignees |
Part of https://github.com/stackabletech/docker-images/issues/xxx.
- Add:
x.x.x - Remove:
y.y.y
Tip
Please add the scheduled-for/YY.M.X label, and add to the Stackable Engineering project.
Important
java-baseuses vector and is used as a base for java products.java-develuses stackable-base and is used to build java products.
Typically product updates will determine which version of Java is required, but we should also make new versions of Java available for use.
Tip
You can search for available java versions at rpmfind.net, and search the
term openjdk-headless.
It isn't perfect, as it will depend on what is available via microdnf.
- Add any new versions of java to both
java-base/boil-config.tomlandjava-devel/boil-config.toml - Check for and upload new Maven versions (updated directly in the
java-devel/Dockerfile) - Remove versions when there are no long any references (eg:
grep java- **/boil-config.toml | grep "1.8.0")
- Link to the docker-images PR (product update)
Tip
This list should be completed by the assignee(s), once respective PRs have been merged. Once all items have been checked, the issue can be moved into Development: Done.
- Can build a product image that uses the new version(s)
- Both
java-baseandjava-develhave the same Java versions inboil-config.toml - All kuttl tests pass locally for a product using the new Java version
Testing instructions
# Test a product image can build, eg: ZooKeeper where x.y.z is a valid product
# version using the newly added Java version
boil build zookeeper=x.y.z --strip-architecture --load
kind load docker-image oci.stackable.tech/sdp/zookeeper:x.y.z-stackable0.0.0-dev
# Change directory into one of the operator repositories (eg: zookeeper-operator) and update the
# product version in tests/test-definition.yaml
./scripts/run-tests --test-suite smoke-latest # or similarPlease consider updating this template if these instructions are wrong, or could be made clearer.