From c9e31d8bfdd2d3c3b93db243363640304d1ba924 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Thu, 4 Apr 2024 13:18:00 -0400 Subject: [PATCH] review --- .../cryostat-operator.clusterserviceversion.yaml | 2 +- bundle/tests/scorecard/config.yaml | 12 ++++++------ config/scorecard/patches/custom.config.yaml | 12 ++++++------ internal/test/scorecard/tests.go | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bundle/manifests/cryostat-operator.clusterserviceversion.yaml b/bundle/manifests/cryostat-operator.clusterserviceversion.yaml index 10b9cdde5..1f978f085 100644 --- a/bundle/manifests/cryostat-operator.clusterserviceversion.yaml +++ b/bundle/manifests/cryostat-operator.clusterserviceversion.yaml @@ -54,7 +54,7 @@ metadata: capabilities: Seamless Upgrades categories: Monitoring, Developer Tools containerImage: quay.io/cryostat/cryostat-operator:2.5.0-dev - createdAt: "2024-03-27T15:40:00Z" + createdAt: "2024-04-04T17:17:25Z" description: JVM monitoring and profiling tool operatorframework.io/initialization-resource: |- { diff --git a/bundle/tests/scorecard/config.yaml b/bundle/tests/scorecard/config.yaml index 18ae411c9..f536a45d3 100644 --- a/bundle/tests/scorecard/config.yaml +++ b/bundle/tests/scorecard/config.yaml @@ -70,7 +70,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - operator-install - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: operator-install @@ -80,7 +80,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - cryostat-cr - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: cryostat-cr @@ -90,7 +90,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - cryostat-multi-namespace - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240320144803 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: cryostat-multi-namespace @@ -100,7 +100,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - cryostat-recording - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: cryostat-recording @@ -110,7 +110,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - cryostat-config-change - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: cryostat-config-change @@ -120,7 +120,7 @@ stages: - entrypoint: - cryostat-scorecard-tests - cryostat-report - image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853 + image: quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171629 labels: suite: cryostat test: cryostat-report diff --git a/config/scorecard/patches/custom.config.yaml b/config/scorecard/patches/custom.config.yaml index ec8cd0889..333688c77 100644 --- a/config/scorecard/patches/custom.config.yaml +++ b/config/scorecard/patches/custom.config.yaml @@ -8,7 +8,7 @@ entrypoint: - cryostat-scorecard-tests - operator-install - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: operator-install @@ -18,7 +18,7 @@ entrypoint: - cryostat-scorecard-tests - cryostat-cr - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: cryostat-cr @@ -28,7 +28,7 @@ entrypoint: - cryostat-scorecard-tests - cryostat-multi-namespace - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240320145921" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: cryostat-multi-namespace @@ -38,7 +38,7 @@ entrypoint: - cryostat-scorecard-tests - cryostat-recording - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: cryostat-recording @@ -48,7 +48,7 @@ entrypoint: - cryostat-scorecard-tests - cryostat-config-change - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: cryostat-config-change @@ -58,7 +58,7 @@ entrypoint: - cryostat-scorecard-tests - cryostat-report - image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240327153853" + image: "quay.io/cryostat/cryostat-operator-scorecard:2.5.0-20240404171725" labels: suite: cryostat test: cryostat-report diff --git a/internal/test/scorecard/tests.go b/internal/test/scorecard/tests.go index dc9597462..c5d7e5b86 100644 --- a/internal/test/scorecard/tests.go +++ b/internal/test/scorecard/tests.go @@ -80,7 +80,7 @@ func CryostatCRTest(bundle *apimanifests.Bundle, namespace string, openShiftCert // CryostatMultiNamespaceTest checks that the operator installs ClusterCryostat in response to a ClusterCryostat CR func CryostatMultiNamespaceTest(bundle *apimanifests.Bundle, namespace string, openShiftCertManager bool) *scapiv1alpha3.TestResult { r := newTestResources(CryostatMultiNamespaceTestName) - namespaces := []string{"other-scorecard-namespace"} + namespaces := []string{namespace + "-other"} err := r.setupCRTestResources(openShiftCertManager) if err != nil {