Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 2.88 KB

File metadata and controls

82 lines (62 loc) · 2.88 KB
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
stackabletech/10
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-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/boil-config.toml and java-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")

Related Pull Requests

  • Link to the docker-images PR (product update)

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 boil-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 similar

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