Skip to content

Commit

Permalink
Use quay released version
Browse files Browse the repository at this point in the history
Fetch old released version from Quay for the old installation
  • Loading branch information
razo7 committed Apr 8, 2024
1 parent 47b1b5c commit c4e4ada
Showing 1 changed file with 10 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,51 +41,43 @@ tests:
cluster_profile: medik8s-aws
env:
BASE_DOMAIN: medik8s-ci.projects.ecosystem.sysdeseng.com
INSTALL_NAMESPACE: nmo-install
OPERATOR_NAMESPACE: nmo-install
test:
- as: e2e-install-operator
cli: latest
commands: |
oc create namespace "$INSTALL_NAMESPACE"
oc create namespace "$OPERATOR_NAMESPACE"
# workaround for OLM pod not running with restricted PSA
oc label --overwrite ns "$INSTALL_NAMESPACE" security.openshift.io/scc.podSecurityLabelSync=false
oc label --overwrite ns "$INSTALL_NAMESPACE" pod-security.kubernetes.io/enforce=privileged
oc label --overwrite ns "$OPERATOR_NAMESPACE" security.openshift.io/scc.podSecurityLabelSync=false
oc label --overwrite ns "$OPERATOR_NAMESPACE" pod-security.kubernetes.io/enforce=privileged
# switch to the last release branch
git checkout release-0.17
OPERATOR_NAMESPACE="$INSTALL_NAMESPACE" PREVIOUS_VERSION=0.16.1 VERSION=0.17.0 make bundle-community bundle-run
BUNDLE_IMG=quay.io/medik8s/node-maintenance-operator-bundle:v0.17.0 make bundle-run
env:
- name: INSTALL_NAMESPACE
- name: OPERATOR_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-upgrade-operator
cli: latest
commands: |
# switch to the latest branch
git stash
git checkout main
OPERATOR_NAMESPACE="$INSTALL_NAMESPACE" PREVIOUS_VERSION=0.17.0 VERSION=0.18.0 BUNDLE_IMG="$OO_BUNDLE" make bundle-community bundle-run-update
commands: BUNDLE_IMG="$OO_BUNDLE" make bundle-run-update
dependencies:
- env: OO_BUNDLE
name: my-bundle
env:
- name: INSTALL_NAMESPACE
- name: OPERATOR_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-test
cli: latest
commands: export OPERATOR_NS="$INSTALL_NAMESPACE" && make cluster-functest
commands: export OPERATOR_NS="$OPERATOR_NAMESPACE" && make cluster-functest
env:
- name: INSTALL_NAMESPACE
- name: OPERATOR_NAMESPACE
from: src
resources:
requests:
Expand Down

0 comments on commit c4e4ada

Please sign in to comment.