Skip to content

Commit

Permalink
Merge pull request #536 from Josh-Matsuoka/rename-ubi9-jdk21
Browse files Browse the repository at this point in the history
[OPENJDK-3542] Rename ubi9/openjdk21 images to reflect tech preview
  • Loading branch information
jmtd authored Jan 23, 2025
2 parents e29e89f + a6b6936 commit 090f253
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
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
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: tech preview warning is printed (OPENJDK-3038)
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
2 changes: 1 addition & 1 deletion 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 Down

0 comments on commit 090f253

Please sign in to comment.