Context
eclipse-jkube/jkube#3916 adds a jkube.java.version shared property that lets users explicitly select a JDK-specific base image (jkube-java-11/-17/-21/-25). The implementation PR is eclipse-jkube/jkube#3931.
Unit tests are included in the main repo. This issue tracks the integration tests called for in the acceptance criteria.
What to test
Verify that jkube.java.version is honored in generated manifests for at least Spring Boot and Quarkus, for both Maven and Gradle.
Test cases
- Maven + Spring Boot — set
<jkube.java.version>21</jkube.java.version> in pom.xml properties, run k8s:resource, verify the generated Deployment uses jkube-java-21 as the base image.
- Maven + Quarkus — same as above with a Quarkus project.
- Gradle + Spring Boot — set
jkube.java.version=21 in gradle.properties, run k8sResource, verify the generated Deployment uses jkube-java-21.
- Gradle + Quarkus — same as above with a Quarkus project.
- Unset — verify default
jkube-java (latest) is used when the property is not set.
Blocked on
Context
eclipse-jkube/jkube#3916 adds a
jkube.java.versionshared property that lets users explicitly select a JDK-specific base image (jkube-java-11/-17/-21/-25). The implementation PR is eclipse-jkube/jkube#3931.Unit tests are included in the main repo. This issue tracks the integration tests called for in the acceptance criteria.
What to test
Verify that
jkube.java.versionis honored in generated manifests for at least Spring Boot and Quarkus, for both Maven and Gradle.Test cases
<jkube.java.version>21</jkube.java.version>inpom.xmlproperties, runk8s:resource, verify the generated Deployment usesjkube-java-21as the base image.jkube.java.version=21ingradle.properties, runk8sResource, verify the generated Deployment usesjkube-java-21.jkube-java(latest) is used when the property is not set.Blocked on