From 3b3764e32ff51315e009561dfad7a30b93e15f30 Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Thu, 29 Feb 2024 10:00:54 +0100 Subject: [PATCH 1/2] SRVLOGIC-219: Update Operator's manifests to reflect devmode and builder images Fix to remove latest tag and use tag form code-freeze cut-off date --- controllers/platform/services/services.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/platform/services/services.go b/controllers/platform/services/services.go index 66c31b906..04d48e45b 100644 --- a/controllers/platform/services/services.go +++ b/controllers/platform/services/services.go @@ -105,8 +105,8 @@ func (d DataIndexHandler) GetServiceImageName(persistenceName string) string { if persistenceName == "ephemeral" { return "registry.redhat.io/openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8:" + version.OperatorVersion } - // Since we don't have an upstream version so far, use latest nightly - var tag = "latest" + // Since we don't have an upstream version so far, use TAG from the cut-off date - main-2024-02-09 + var tag = "main-2024-02-09" var suffix = constants.ImageNameNightlySuffix // returns "quay.io/kiegroup/kogito-data-index-:" return fmt.Sprintf("%s-%s-%s:%s", constants.ImageNamePrefix, constants.DataIndexName, persistenceName+suffix, tag) @@ -257,8 +257,8 @@ func (j JobServiceHandler) GetContainerName() string { } func (j JobServiceHandler) GetServiceImageName(persistenceName string) string { - // Use latest nightly since we don't have a release upstream nor a prod version of Jobs Service - var tag = "latest" + // Use main-2024-02-09 nightly since we prod version of Jobs Service + var tag = "main-2024-02-09" var suffix = constants.ImageNameNightlySuffix // returns "quay.io/kiegroup/kogito-jobs-service-:" return fmt.Sprintf("%s-%s-%s:%s", constants.ImageNamePrefix, constants.JobServiceName, persistenceName+suffix, tag) From 9d6be00ce7693aeca19297766030ed6c472d90da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Han=C3=A1k?= Date: Thu, 29 Feb 2024 10:25:26 +0100 Subject: [PATCH 2/2] Update controllers/platform/services/services.go Co-authored-by: Jakub Schwan --- controllers/platform/services/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/platform/services/services.go b/controllers/platform/services/services.go index 04d48e45b..7cf0e6577 100644 --- a/controllers/platform/services/services.go +++ b/controllers/platform/services/services.go @@ -257,7 +257,7 @@ func (j JobServiceHandler) GetContainerName() string { } func (j JobServiceHandler) GetServiceImageName(persistenceName string) string { - // Use main-2024-02-09 nightly since we prod version of Jobs Service + // Use TAG from the cut-off date - main-2024-02-09 since we don't have prod version of Jobs Service var tag = "main-2024-02-09" var suffix = constants.ImageNameNightlySuffix // returns "quay.io/kiegroup/kogito-jobs-service-:"