Skip to content

Commit

Permalink
Added NROP upgrade test
Browse files Browse the repository at this point in the history
Signed-off-by: Ronny Baturov <[email protected]>
  • Loading branch information
rbaturov committed Nov 4, 2024
1 parent 3848917 commit 3f2d82d
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,45 @@ tests:
env:
PROJECT_NAME: numaresources-operator
workflow: openshift-ci-security
- as: e2e-in-cluster-build
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 1h0m0s
version: "4.17"
steps:
test:
- as: install
cli: latest
commands: |
oc create namespace numaresources-operator
operator-sdk run bundle -n numaresources-operator quay.io/openshift-kni/numaresources-operator:4.17.999-snapshot # install my-operator with the version before upgrading
oc wait --for condition=Available -n numaresources-operator deployment my-operator # wait until my-operator is ready
dependencies:
- env: OO_BUNDLE_INIT
name: os-min9
from: operator-sdk
resources:
requests:
cpu: 1000m
memory: 500Mi
# - as: upgrade
# cli: latest
# commands: |
# oc create namespace numaresources-operator
# operator-sdk run bundle-upgrade -n numaresources-operator "$OO_BUNDLE" # upgrade my-operator
# wait_until_upgrade_is_complete.sh # wait until the new version of my-operator is ready
# dependencies:
# - env: OO_BUNDLE
# name: my-bundle
# from: operator-sdk
# resources:
# requests:
# cpu: 500m
# memory: 1Gi
workflow: generic-claim
zz_generated_metadata:
branch: release-4.17
org: openshift-kni
Expand Down

0 comments on commit 3f2d82d

Please sign in to comment.