Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
CIAM-1173 Upstream 7.5 changes to productize.sh and image_manager.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ASzc authored and vmuzikar committed Dec 16, 2021
1 parent c36d2e4 commit dc30f6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
6 changes: 3 additions & 3 deletions pkg/model/image_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const (
PostgresqlImage = "RELATED_IMAGE_POSTGRESQL"

DefaultKeycloakImage = "quay.io/keycloak/keycloak:latest"
DefaultRHSSOImageOpenJ9 = "registry.redhat.io/rh-sso-7/sso74-openj9-openshift-rhel8:7.4"
DefaultRHSSOImageOpenJDK = "registry.redhat.io/rh-sso-7/sso74-openshift-rhel8:7.4"
DefaultRHSSOImageOpenJ9 = "registry.redhat.io/rh-sso-7/sso75-openj9-openshift-rhel8:7.5"
DefaultRHSSOImageOpenJDK = "registry.redhat.io/rh-sso-7/sso75-openshift-rhel8:7.5"
DefaultKeycloakInitContainer = "quay.io/keycloak/keycloak-init-container:master"
DefaultRHSSOInitContainer = "registry.redhat.io/rh-sso-7-tech-preview/sso74-init-container-rhel8:7.4"
DefaultRHSSOInitContainer = "registry.redhat.io/rh-sso-7/sso7-rhel8-init-container:7.5"
DefaultRHMIBackupContainer = "quay.io/integreatly/backup-container:1.0.16"
DefaultPostgresqlImage = "registry.access.redhat.com/rhscl/postgresql-10-rhel7:1"
)
Expand Down
21 changes: 7 additions & 14 deletions productize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

LABELS=$(cat <<-END
LABEL \
com.redhat.component="redhat-sso-7-sso74-rhel8-tech-preview-operator-container" \
description="Red Hat Single Sign-On 7.4 Operator container image, based on the Red Hat Universal Base Image 8 Minimal container image" \
summary="Red Hat Single Sign-On 7.4 Operator container image, based on the Red Hat Universal Base Image 8 Minimal container image" \
version="7.4" \
com.redhat.component="redhat-sso-7-rhel8-operator-container" \
description="Red Hat Single Sign-On 7. Operator container image, based on the Red Hat Universal Base Image 8 Minimal container image" \
summary="Red Hat Single Sign-On 7.5 Operator container image, based on the Red Hat Universal Base Image 8 Minimal container image" \
version="7.5" \
io.k8s.description="Operator for Red Hat SSO" \
io.k8s.display-name="Red Hat SSO 7.4 Operator" \
io.openshift.tags="sso,sso74,keycloak,operator" \
name="rh-sso-7-tech-preview\/sso74-rhel8-operator" \
io.k8s.display-name="Red Hat SSO 7.5 Operator" \
io.openshift.tags="sso,sso75,keycloak,operator" \
name="rh-sso-7\/sso7-rhel8-operator" \
maintainer="Red Hat Single Sign-On Team"
END
)
Expand All @@ -21,10 +21,3 @@ sed -i \
-e 's,RUN cd /src ,RUN cd /src \&\& tar -x --strip-components=1 -f keycloak-operator-*.tar.gz ,' \
-e "s/##LABELS/$LABELS/g" \
Dockerfile

if [[ "$BUILD_OPENJ9" != "true" ]]
then
# remove s390x arch from container.yaml
# upstream repo should always contain all archs
sed -i -e '/\-\ s390x/ s/^#*/#/' container.yaml
fi

0 comments on commit dc30f6e

Please sign in to comment.