Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ubi9-openjdk-21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: UBI9 OpenJDK 21 S2I Image CI
on: [push, pull_request]
env:
LANG: en_US.UTF-8
IMAGE: ubi9-openjdk-21
IMAGE: openjdk-21-jlink-rhel9
jobs:
call-openjdkci:
uses: ./.github/workflows/image-workflow-template.yml
with:
image: ubi9-openjdk-21
image: openjdk-21-jlink-rhel9
1 change: 1 addition & 0 deletions modules/jdk/21/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ envs:
packages:
install:
- java-21-openjdk-devel
- java-21-openjdk-jmods

modules:
install:
Expand Down
2 changes: 1 addition & 1 deletion modules/jlink/tests/features/jlink.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK S2I tests (jlink specific)
Scenario: Ensure jlinked builder is used to build the containerized application image
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
Expand Down
2 changes: 1 addition & 1 deletion redhat/ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ osbs:
signing_intent: release
repository:
name: containers/openjdk
branch: openjdk-21-ubi9
branch: openjdk-21-jlink-tech-preview-ubi9

packages:
manager: microdnf
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java.security.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift S2I tests
Scenario: Check networkaddress.cache.negative.ttl has been set correctly
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from binary-cli-security-property
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java/java_s2i.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@ignore
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK S2I tests
# NOTE: these tests should be usable with the other images once we have refactored the JDK scripts.
# These builds do not actually run maven. This is important, because the proxy
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java/java_s2i_inc.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK S2I tests

# test incremental builds
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java/memory.feature
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Feature: OPENJDK-559 JVM Memory tests
# Not the runtime images
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Scenario: Ensure Maven doesn't use MaxRAMPercentage=80
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from spring-boot-sample-simple
Then s2i build log should match regex INFO Using MAVEN_OPTS.*-XX:MaxRAMPercentage=25.0$
2 changes: 1 addition & 1 deletion tests/features/java/openjdk_s2i.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# builder only
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK-only S2I tests

@ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java/ports.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK port tests

Scenario: Check ports are available
Expand Down
2 changes: 1 addition & 1 deletion tests/features/java/runtime.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift OpenJDK Runtime tests

Scenario: Ensure JAVA_ARGS is passed through, diagnostic options work correctly, JVM_ARGS not present in run script, OPENJDK-474 JAVA_ARGS not repeated
Expand Down
2 changes: 1 addition & 1 deletion tests/features/openshift.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Tests for all openshift images
# builder-only test
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Scenario: Check that builder labels are correctly set
Given image is built
Then the image should contain label io.openshift.s2i.scripts-url with value image:///usr/local/s2i
2 changes: 1 addition & 1 deletion tests/features/s2i-core.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@ubi9/openjdk-11
@ubi9/openjdk-17
@ubi9/openjdk-21
@openjdk-tech-preview/openjdk-21-jlink-rhel9
Feature: Openshift S2I tests
# OPENJDK-84 - /tmp/src should not be present after build
Scenario: run an s2i build and check that /tmp/src has been removed afterwards
Expand Down
4 changes: 2 additions & 2 deletions ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
schema_version: 1

from: "registry.access.redhat.com/ubi9/ubi-minimal"
name: &name "ubi9/openjdk-21"
name: &name "openjdk-tech-preview/openjdk-21-jlink-rhel9"
version: &version "1.18"
description: "Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK 21"

Expand All @@ -17,7 +17,7 @@ labels:
- name: "maintainer"
value: "Red Hat OpenJDK <[email protected]>"
- name: "com.redhat.component"
value: "openjdk-21-ubi9-container"
value: "openjdk-21-jlink-tech-preview-ubi9-container"
- name: "usage"
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
- name: "com.redhat.license_terms"
Expand Down
Loading