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 4ebb930
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,40 @@ 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 my-namespace
operator-sdk run bundle -n my-namespace "$OO_BUNDLE_INIT" # install my-operator with the version before upgrading
oc wait --for condition=Available -n my-namespace deployment my-operator # wait until my-operator is ready
dependencies:
- env: OO_BUNDLE_INIT
name: os-min9
- as: upgrade
cli: latest
commands: |
oc create namespace my-namespace
operator-sdk run bundle-upgrade -n my-namespace "$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 4ebb930

Please sign in to comment.