Skip to content

Commit

Permalink
Fix upgrade-e2e CI job (#1445)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
m1kola authored Nov 12, 2024
1 parent aaa0e00 commit 046c3df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/samples/catalogd_operatorcatalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest
pollInterval: 10m
pollIntervalMinutes: 10
9 changes: 4 additions & 5 deletions hack/test/pre-upgrade-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
type: Image
image:
ref: ${TEST_CATALOG_IMG}
pollInterval: 24h
pollIntervalMinutes: 1440
EOF

kubectl apply -f - <<EOF
Expand Down Expand Up @@ -132,15 +132,14 @@ kind: ClusterExtension
metadata:
name: ${TEST_CLUSTER_EXTENSION_NAME}
spec:
namespace: default
serviceAccount:
name: upgrade-e2e
source:
sourceType: Catalog
catalog:
packageName: prometheus
version: 1.0.0
install:
namespace: default
serviceAccount:
name: upgrade-e2e
EOF

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

0 comments on commit 046c3df

Please sign in to comment.