Skip to content

chore(java-bases): Update container images ahead of Stackable Release 25.7.0 #1096

Closed
@NickLarsenNZ

Description

@NickLarsenNZ

Part of #1064.

  • Add: 24
  • Remove: 8 Hive still uses java-devel 8 👎

Tip

Please add the scheduled-for/20XX-XX label, and add to the Stackable Engineering project.

Important

  • java-base uses vector and is used as a base for java products.
  • java-devel uses 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.

Update tasks

  • Add any new versions of java to both java-base/versions.py and java-devel/versions.py
  • Remove versions when there are no long any references (eg: grep java- **/versions.py | grep "1.8.0")

Related Pull Requests

Acceptance

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-base and java-devel have the same Java versions in versions.py
  • Kuttl smoke test passes locally for a product using the new Java version Can't easily test until Trino 476 is released.
Testing instructions
# See the latest version at https://pypi.org/project/image-tools-stackabletech/
pip install image-tools-stackabletech==0.0.13

# Test a product image can build, eg: ZooKeeper
bake --product zookeeper=x.y.z # where x.y.z is a valid product version using the newly added Java version

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 similar

Please consider updating this template if these instructions are wrong, or
could be made clearer.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Development: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions