Skip to content

Commit

Permalink
Switch images to ubi9. Bump version to 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdenise committed Aug 27, 2024
1 parent ff93f55 commit 67e20ec
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
ls -l
chmod +x ./skopeo
./skopeo --version
- name: Verify latest ubi8-minimal
- name: Verify latest ubi9-minimal
run: |
podman pull registry.access.redhat.com/ubi8/ubi-minimal
podman image ls | grep ubi8
podman pull registry.access.redhat.com/ubi9/ubi-minimal
podman image ls | grep ubi9
- name: Install qemu dependency
run: |
sudo apt-get update
Expand Down
8 changes: 6 additions & 2 deletions wildfly-builder-image/image.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

name: &imgName "wildfly/wildfly-s2i"
from: "registry.access.redhat.com/ubi8/ubi-minimal"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
version: "unknown"
labels:
- name: name
Expand Down Expand Up @@ -43,19 +43,23 @@ modules:
- name: openjdk
git:
url: https://github.com/jboss-container-images/openjdk
ref: ubi8
ref: ubi9
- name: wildfly-cekit-modules
git:
url: https://github.com/wildfly/wildfly-cekit-modules
ref: main
- name: wildfly-modules
path: ../wildfly-modules
install:
- name: jboss.container.user
version: "2.0+jboss1"
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jdk
- name: jboss.container.maven
- name: jboss.container.wildfly.dynamic-resources
- name: jboss.container.maven.s2i
- name: jboss.container.wildfly.run
version: "2.0"
# Remove this dependency to not support env variable based provisioning and legacy workflow
# Put it prior to wildfly.s2i-wildfly module in case this last module overrides env variables.
- name: jboss.container.wildfly.s2i.legacy
Expand Down
2 changes: 1 addition & 1 deletion wildfly-builder-image/jdk11-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly s2i builder image, JDK 11"
version: &imgVersion "1.1.6-jdk11-snapshot"
version: &imgVersion "2.0.0-jdk11-snapshot"
labels:
- name: io.k8s.display-name
value: "WildFly s2i builder image, JDK 11"
Expand Down
2 changes: 1 addition & 1 deletion wildfly-builder-image/jdk17-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly s2i builder image, JDK 17"
version: &imgVersion "1.1.6-jdk17-snapshot"
version: &imgVersion "2.0.0-jdk17-snapshot"
labels:
- name: io.k8s.display-name
value: "WildFly s2i builder image, JDK 17"
Expand Down
4 changes: 2 additions & 2 deletions wildfly-builder-image/jdk21-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly s2i builder image, JDK 21"
version: &imgVersion "1.1.6-jdk21-snapshot"
version: &imgVersion "2.0.0-jdk21-snapshot"
labels:
- name: io.k8s.display-name
value: "WildFly s2i builder image, JDK 21"
Expand All @@ -15,4 +15,4 @@ modules:
- name: jboss.container.openjdk.jdk
version: "21"
- name: jboss.container.maven
version: "3.8.17"
version: "3.8.21"
8 changes: 5 additions & 3 deletions wildfly-runtime-image/image.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

name: &imgName "wildfly/wildfly-runtime"
from: "registry.access.redhat.com/ubi8/ubi-minimal"
from: "registry.access.redhat.com/ubi9/ubi-minimal"
version: "unknown"
labels:
- name: name
Expand Down Expand Up @@ -31,19 +31,21 @@ modules:
- name: openjdk
git:
url: https://github.com/jboss-container-images/openjdk
ref: ubi8
ref: ubi9
- name: wildfly-cekit-modules
git:
url: https://github.com/wildfly/wildfly-cekit-modules
ref: main
- name: wildfly-modules
path: ../wildfly-modules
install:
- name: jboss.container.user
version: "2.0+jboss1"
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jdk
- name: jboss.container.java.jvm.bash
- name: jboss.container.wildfly.dynamic-resources
- name: jboss.container.wildfly.run
version: "2.0"
- name: jboss.container.wildfly.cleanup

packages:
Expand Down
2 changes: 1 addition & 1 deletion wildfly-runtime-image/jdk11-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly runtime image, JDK 11"
version: &imgVersion "1.1.6-jdk11-snapshot"
version: &imgVersion "2.0.0-jdk11-snapshot"
labels:
- name: "org.jboss.product.version"
value: *imgVersion
Expand Down
2 changes: 1 addition & 1 deletion wildfly-runtime-image/jdk17-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly runtime image, JDK 17"
version: &imgVersion "1.1.6-jdk17-snapshot"
version: &imgVersion "2.0.0-jdk17-snapshot"
labels:
- name: "org.jboss.product.version"
value: *imgVersion
Expand Down
2 changes: 1 addition & 1 deletion wildfly-runtime-image/jdk21-overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version: 1

description: "The WildFly runtime image, JDK 21"
version: &imgVersion "1.1.6-jdk21-snapshot"
version: &imgVersion "2.0.0-jdk21-snapshot"
labels:
- name: "org.jboss.product.version"
value: *imgVersion
Expand Down

0 comments on commit 67e20ec

Please sign in to comment.