Skip to content

Commit c07c6d1

Browse files
authored
Merge pull request #42 from jfdenise/ubi9
Initial UBI9 images for EAP 8.1
2 parents 85647c2 + 5b8354e commit c07c6d1

31 files changed

+159
-251
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ that contains the server and application is based on the EAP 8 runtime image.
9090

9191
# Image runtime API
9292

93-
When running an EAP 8 server inside the EAP 8 runtime or S2I builder image, you can use [these environment variables](https://github.com/jboss-container-images/openjdk/blob/develop/modules/jvm/api/module.yaml) to configure the Java VM.
93+
When running an EAP 8 server inside the EAP 8 runtime or S2I builder image, you can use [these environment variables](https://github.com/rh-openjdk/redhat-openjdk-containers/blob/ubi9/modules/jvm/module.yaml) to configure the Java VM.
9494
The EAP 8 runtime and S2I builder images are exposing a set of [environment variables](https://github.com/wildfly/wildfly-cekit-modules/blob/main/jboss/container/wildfly/run/api/module.yaml) to fine tune the server execution.

builder-image/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
Build with podman:
33

4-
* JDK17: `cekit --redhat build --overrides image-jdk17-overrides.yaml podman`
4+
* JDK17: `cekit --redhat build podman`
55
* JDK21: `cekit --redhat build --overrides image-jdk21-overrides.yaml podman`
66

77
Build with OSBS:
88

9-
* JDK17: `cekit --redhat build --overrides image-jdk17-overrides.yaml --overrides rh-jdk17-overrides.yaml osbs`
9+
* JDK17: `cekit --redhat build --overrides rh-jdk17-overrides.yaml osbs`
1010
* JDK21: `cekit --redhat build --overrides image-jdk21-overrides.yaml --overrides rh-jdk21-overrides.yaml osbs`

builder-image/content_sets_rhel8.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

builder-image/image-jdk17-overrides.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,21 @@
11
schema_version: 1
22

3-
name: &imgName "jboss-eap-8/eap8-openjdk21-builder-openshift-rhel9"
4-
# This OSBS Base Image is designed and engineered to be the base layer for
5-
# Red Hat products. This base image is only supported for approved Red Hat
6-
# products. This image is maintained by Red Hat and updated regularly.
7-
from: registry.redhat.io/rhel9-osbs/osbs-ubi9-minimal
3+
name: &imgName "jboss-eap-8-tech-preview/eap81-openjdk21-builder-openshift-rhel9"
84
labels:
95
- name: "org.jboss.product"
10-
value: "eap8-openjdk21-builder"
6+
value: "eap81-openjdk21-builder"
117
- name: "com.redhat.component"
12-
value: "jboss-eap8-openjdk21-builder-openshift-container"
8+
value: "jboss-eap81-openjdk21-builder-openshift-container"
139
- name: name
1410
value: *imgName
1511

1612
envs:
17-
- name: LOGGING_SCRIPT_DEBUG
18-
description: If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed.
19-
example: "true"
2013
- name: IMAGE_NAME
2114
value: *imgName
2215

2316
modules:
24-
repositories:
25-
- name: openjdk
26-
git:
27-
url: https://github.com/rh-openjdk/redhat-openjdk-containers
28-
ref: ubi9-wildfly-container-33.0
29-
- name: wildfly-cekit-modules
30-
git:
31-
url: https://github.com/wildfly/wildfly-cekit-modules
32-
ref: 0.29.alpha1.ubi9.1
3317
install:
34-
- name: jboss.container.user
35-
version: "2.0+jboss1"
3618
- name: jboss.container.openjdk.jdk
3719
version: "21"
38-
- name: jboss.container.wildfly.dynamic-resources
39-
version: "2.0"
4020
- name: jboss.container.maven
4121
version: "3.8.21"
42-
- name: jboss.container.wildfly.run
43-
version: "2.0"

builder-image/image.yaml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
schema_version: 1
22

3-
name: &imgName "jboss-eap-8/eap8-openjdk11-builder-openshift-rhel8"
4-
description: "Red Hat JBoss Enterprise Application Platform 8 OpenShift S2I Builder image."
5-
version: &imgVersion "1.0.1.GA"
6-
from: "registry.access.redhat.com/ubi8/ubi-minimal"
3+
name: &imgName "jboss-eap-8-tech-preview/eap81-openjdk17-builder-openshift-rhel9"
4+
description: "Red Hat JBoss Enterprise Application Platform 8.1 OpenShift S2I Builder image."
5+
version: &imgVersion "1.0.0.Beta"
6+
from: "registry.access.redhat.com/ubi9/ubi-minimal"
77
# Warning, we must use cekit min version 4.3.0 in order for the labels to be set at the end of the build and override JDK modules ones.
88
labels:
99
- name: name
1010
value: *imgName
1111
- name: "org.jboss.product"
12-
value: "eap8-openjdk11-builder"
12+
value: "eap81-openjdk17-builder"
1313
- name: "org.jboss.product.version"
1414
value: *imgVersion
1515
- name: "com.redhat.component"
16-
value: "jboss-eap8-openjdk11-builder-openshift-container"
16+
value: "jboss-eap81-openjdk17-builder-openshift-container"
1717
- name: io.k8s.description
18-
value: "Platform for building and running Jakarta EE applications on JBoss EAP 8"
18+
value: "Platform for building and running Jakarta EE applications on JBoss EAP 8.1"
1919
- name: io.k8s.display-name
20-
value: "JBoss EAP 8 S2I builder"
20+
value: "JBoss EAP 8.1 S2I builder"
2121
- name: io.openshift.expose-services
2222
value: "8080:http"
2323
- name: io.openshift.tags
@@ -31,6 +31,9 @@ labels:
3131
- name: "com.redhat.deployments-dir"
3232
value: "/opt/server/standalone/deployments"
3333
envs:
34+
- name: LOGGING_SCRIPT_DEBUG
35+
description: If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed.
36+
example: "true"
3437
- name: IMAGE_NAME
3538
value: *imgName
3639
- name: IMAGE_VERSION
@@ -52,21 +55,26 @@ modules:
5255
repositories:
5356
- name: openjdk
5457
git:
55-
url: https://github.com/jboss-container-images/openjdk
56-
ref: wildfly-container-29.0
58+
url: https://github.com/rh-openjdk/redhat-openjdk-containers
59+
ref: ubi9-wildfly-container-33.0
5760
- name: wildfly-cekit-modules
5861
git:
5962
url: https://github.com/wildfly/wildfly-cekit-modules
60-
ref: 0.29.alpha1.3
63+
ref: 0.33.0
6164
- name: eap-modules
6265
path: ../modules
6366
install:
67+
- name: jboss.container.user
68+
version: "2.0+jboss1"
6469
- name: jboss.container.openjdk.jdk
65-
version: "11"
70+
version: "17"
6671
- name: jboss.container.maven
67-
version: "8.6.3.6.11"
72+
version: "3.8.17"
6873
- name: jboss.container.wildfly.dynamic-resources
74+
version: "2.0"
6975
- name: jboss.container.maven.s2i
76+
- name: jboss.container.wildfly.run
77+
version: "2.0"
7078
- name: jboss.container.wildfly.s2i.legacy
7179
- name: jboss.container.eap.s2i-eap.bash
7280
- name: jboss.container.eap.cleanup

builder-image/rh-jdk11-overrides.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

builder-image/rh-jdk17-overrides.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schema_version: 1
22

33
packages:
4-
content_sets_file: content_sets_rhel8.yml
4+
content_sets_file: content_sets_rhel9.yml
55

66
osbs:
77
configuration:
@@ -16,5 +16,5 @@ osbs:
1616
pulp_repos: true
1717
signing_intent: release
1818
repository:
19-
name: containers/jboss-eap8-openjdk17-builder-openshift
20-
branch: jb-eap-8.0-rhel-8
19+
name: containers/jboss-eap81-openjdk17-builder-openshift
20+
branch: jb-eap-8.1-rhel-9

builder-image/rh-jdk21-overrides.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ osbs:
1111
- x86_64
1212
- s390x
1313
- ppc64le
14+
- aarch64
1415
compose:
1516
pulp_repos: true
1617
signing_intent: release
1718
repository:
18-
name: containers/jboss-eap8-openjdk21-builder-openshift
19-
branch: jb-eap-8.0-rhel-9
19+
name: containers/jboss-eap81-openjdk21-builder-openshift
20+
branch: jb-eap-8.1-rhel-9

builder-image/tests/features/basic.feature

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
@jboss-eap-8
2+
@jboss-eap-8-tech-preview
23
Feature: EAP basic tests
34

45
Scenario: Check that the legacy default config provisioned using galleon plugin works fine
56
Given s2i build https://github.com/jboss-container-images/jboss-eap-8-openshift-image from test/test-app-default-config with env and True using eap8-dev
67
| variable | value |
78
| S2I_SERVER_DIR | server |
89
### PLACEHOLDER FOR CLOUD CUSTOM TESTING ###
9-
Then container log should contain Running jboss-eap-8/
10+
Then container log should contain Running jboss-eap-8-tech-preview/
1011
Then exactly 2 times container log should contain WFLYSRV0025:
1112

1213
Scenario: Test ENV_FILES just to validate that there is no side effect
@@ -25,7 +26,7 @@ Feature: EAP basic tests
2526
Given s2i build https://github.com/jboss-container-images/jboss-eap-8-openshift-image from test/test-app with env and True using eap8-dev
2627
| variable | value |
2728
### PLACEHOLDER FOR CLOUD CUSTOM TESTING ###
28-
Then container log should contain Running jboss-eap-8/
29+
Then container log should contain Running jboss-eap-8-tech-preview/
2930
Then exactly 2 times container log should contain WFLYSRV0025:
3031

3132
Scenario: Test basic deployment

0 commit comments

Comments
 (0)