Skip to content

Commit 485aad5

Browse files
author
Mikalai Radchuk
committed
Fix upgrade-e2e CI job
There were several intentional breaking changes in the API which are now included in v0.18.0 release. Our upgrade-e2e job need to be updated to make take the changes into account. Relevant PRs: * #1439 * #1434 Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent aaa0e00 commit 485aad5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

config/samples/catalogd_operatorcatalog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ spec:
77
type: Image
88
image:
99
ref: quay.io/operatorhubio/catalog:latest
10-
pollInterval: 10m
10+
pollIntervalMinutes: 10

hack/test/pre-upgrade-setup.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
type: Image
3030
image:
3131
ref: ${TEST_CATALOG_IMG}
32-
pollInterval: 24h
32+
pollIntervalMinutes: 1440
3333
EOF
3434

3535
kubectl apply -f - <<EOF
@@ -132,15 +132,14 @@ kind: ClusterExtension
132132
metadata:
133133
name: ${TEST_CLUSTER_EXTENSION_NAME}
134134
spec:
135+
namespace: default
136+
serviceAccount:
137+
name: upgrade-e2e
135138
source:
136139
sourceType: Catalog
137140
catalog:
138141
packageName: prometheus
139142
version: 1.0.0
140-
install:
141-
namespace: default
142-
serviceAccount:
143-
name: upgrade-e2e
144143
EOF
145144

146145
kubectl wait --for=condition=Serving --timeout=60s ClusterCatalog $TEST_CLUSTER_CATALOG_NAME

0 commit comments

Comments
 (0)