Skip to content

Commit 9e5ebf0

Browse files
authored
Merge pull request #245 from drichtarik/sso75-dev
CIAM-2825 7.5.2 patch Build OCP images
2 parents f68d939 + 06525b9 commit 9e5ebf0

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ modules:
7878
- name: jboss-eap-modules
7979
git:
8080
url: https://github.com/jboss-container-images/jboss-eap-modules.git
81-
ref: EAP_743_CR3
81+
ref: EAP_744_CR2
8282

8383
- name: jboss-eap-image
8484
git:
8585
url: https://github.com/jboss-container-images/jboss-eap-7-image.git
86-
ref: EAP_743_CR3
86+
ref: EAP_744_CR2
8787

8888
- name: wildfly-cekit-modules
8989
git:

modules/eap/setup/eap/modules/module.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ ports:
3131
artifacts:
3232
- name: eap-image-maven-repo
3333
target: maven-repo.zip
34-
md5: 2c0ab034200cafbffb0b808bf2f59e67
35-
url: http://$DOWNLOAD_SERVER/released/middleware/eap7/7.4.3/jboss-eap-7.4.3-image-builder-maven-repository.zip
34+
md5: f09134d49bcee9a583ec3d2d9402f8c2
35+
url: http://$DOWNLOAD_SERVER/released/middleware/eap7/7.4.4/jboss-eap-7.4.4-image-builder-maven-repository.zip
3636
# RHSSO-1824: Update RH-SSO server overlay to 'RH-SSO 7.5.2.CR1' build
3737
- name: keycloak-server-overlay.zip
3838
md5: 7ea126bb6d903c88727fa3636150c63a
@@ -72,9 +72,9 @@ labels:
7272
- name: "org.jboss.product"
7373
value: "eap"
7474
- name: "org.jboss.product.version"
75-
value: "7.4.3"
75+
value: "7.4.4"
7676
- name: "org.jboss.product.eap.version"
77-
value: "7.4.3"
77+
value: "7.4.4"
7878
- name: "com.redhat.deployments-dir"
7979
value: "/opt/eap/standalone/deployments"
8080
- name: "com.redhat.dev-mode"
@@ -94,15 +94,15 @@ labels:
9494
envs:
9595
- name: "WILDFLY_VERSION"
9696
description: "Mandatory. WildFly server version."
97-
value: "7.4.3.GA-redhat-00002"
97+
value: "7.4.4.GA-redhat-00011"
9898
- name: "LAUNCH_JBOSS_IN_BACKGROUND"
9999
value: "true"
100100
- name: "JBOSS_PRODUCT"
101101
value: "eap"
102102
- name: "JBOSS_EAP_VERSION"
103-
value: "7.4.3"
103+
value: "7.4.4"
104104
- name: "PRODUCT_VERSION"
105-
value: "7.4.3"
105+
value: "7.4.4"
106106
- name: "EAP_FULL_GROUPID"
107107
value: "org.jboss.eap"
108108
- name: "JBOSS_HOME"

modules/sso/apply/patches/module.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@ schema_version: 1
22
name: sso.apply.patches
33
version: '1.0'
44
description: Module to apply any possibly needed EAP / RH-SSO one-off patches via jboss-cli.sh
5-
#execute:
6-
#- script: apply-eap-rh-sso-one-off-patches.sh
7-
#
8-
#artifacts:
9-
## CIAM-1975
10-
#- md5: 8f54d950472fb9abf34e2f965303a5fc
11-
# name: rhsso-1974.zip
12-
# target: eap-one-off-rhsso-1974.zip
13-
# url: http://$DOWNLOAD_SERVER/released/JBoss-middleware/sso/7.5.1/patches/rhsso-1974.zip
14-
## CIAM-2055
15-
#- md5: e131a6a7ab26779951981665b9e63919
16-
# name: rhsso-2054.zip
17-
# target: eap-one-off-rhsso-2054.zip
18-
# url: http://$DOWNLOAD_SERVER/released/JBoss-middleware/sso/7.5.1/patches/rhsso-2054.zip
5+
execute:
6+
- script: apply-eap-rh-sso-one-off-patches.sh
7+
artifacts:
8+
## CIAM-2657
9+
- md5: 0925d9b712d75e1d12f8efa40bcc54ca
10+
name: rhsso-2657.zip
11+
target: rhsso-2657.zip
12+
url: http://$DOWNLOAD_SERVER/devel/candidates/JBSSO/JBSSO-7.5.2-CIAM-2657-patch/rhsso-2657.zip
1913

2014
# Note:
2115
#

modules/sso/sso-pre-launch-checks/added/sso_image_pre_launch_checks.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function postConfigure() {
1212
verify_CIAM_1757_fix_present
1313
#verify_CIAM_1975_fix_present
1414
#verify_CIAM_2055_fix_present
15+
verify_CIAM_2657_fix_present
1516
}
1617

1718
# KEYCLOAK-13585 / RH BZ#1817530 / CVE-2020-10695:
@@ -105,3 +106,13 @@ function verify_CIAM_2055_fix_present() {
105106
exit "${errorExitCode}"
106107
fi
107108
}
109+
110+
function verify_CIAM_2657_fix_present() {
111+
local -r errorExitCode="1"
112+
if ! find "${JBOSS_HOME}"/modules/system/layers -name '*-rhsso-2657.jar' 2> /dev/null | grep -q .
113+
then
114+
log_error "The CIAM-2657 one-off patch wasn't properly installed."
115+
log_error "Cannot start the '${JBOSS_IMAGE_NAME}', version '${JBOSS_IMAGE_VERSION}'!"
116+
exit "${errorExitCode}"
117+
fi
118+
}

0 commit comments

Comments
 (0)