File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 run : ./openstack-operator/hack/catalog-build-olm-upgrade.sh
6666 env :
6767 # FIXME: these should be pulled from a YAML config in the main operator directory?
68- MAIN_VERSION : 0.3 .0
69- FEATURE_RELEASE_VERSION : 0.2 .0
70- FEATURE_RELEASE_BRANCH : 18.0-fr2
68+ MAIN_VERSION : 0.4 .0
69+ FEATURE_RELEASE_VERSION : 0.3 .0
70+ FEATURE_RELEASE_BRANCH : 18.0-fr3
7171 BUNDLE : ${{ env.imageregistry }}/${{ env.imagenamespace }}/openstack-operator-bundle:${{ github.sha }}
7272
7373 - name : Buildah Action
Original file line number Diff line number Diff line change 33# To re-generate a bundle for another specific version without changing the standard setup, you can:
44# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6- VERSION ?= 0.3 .0
6+ VERSION ?= 0.4 .0
77
88OPENSTACK_RELEASE_VERSION ?= $(VERSION ) -$(shell date +% s)
99
Original file line number Diff line number Diff line change 22# NOTE: this script is used by the catalog-openstack-operator-upgrades.yaml
33set -ex
44
5- MAIN_VERSION=${MAIN_VERSION:- " 0.3 .0" }
6- FEATURE_RELEASE_VERSION=${FEATURE_RELEASE_VERSION:- " 0.2 .0" }
7- FEATURE_RELEASE_BRANCH=${FEATURE_RELEASE_BRANCH:- " 18.0-fr2 " }
5+ MAIN_VERSION=${MAIN_VERSION:- " 0.4 .0" }
6+ FEATURE_RELEASE_VERSION=${FEATURE_RELEASE_VERSION:- " 0.3 .0" }
7+ FEATURE_RELEASE_BRANCH=${FEATURE_RELEASE_BRANCH:- " 18.0-fr3 " }
88BUNDLE=${BUNDLE:- " quay.io/openstack-k8s-operators/openstack-operator-bundle:latest" }
99
1010[ -d " catalog" ] && rm -Rf catalog
Original file line number Diff line number Diff line change 11# A quick way to test a fake minor update. Run this script, and then once the
22# openstackversion reconciles (the CSV will redeploy the controller-manager)
33# you can set targetVersion == 0.0.2 for a quick test
4- oc get csv openstack-operator.v0.3 .0 -o yaml -n openstack-operators > csv.yaml
4+ oc get csv openstack-operator.v0.4 .0 -o yaml -n openstack-operators > csv.yaml
55# bump them to current-podified
66sed -i csv.yaml -e " s|value: .*quay.io/podified-antelope-centos9/\(.*\)@.*|value: quay.io/podified-antelope-centos9/\1:current-podified|g"
77# also bump the OPENSTACK_RELEASE_VERSION value (it is the only field set like this)
8- sed -i csv.yaml -e " s|value: 0.3 .0|value: 0.3 .1|"
8+ sed -i csv.yaml -e " s|value: 0.4 .0|value: 0.4 .1|"
99oc apply -n openstack-operators -f csv.yaml
You can’t perform that action at this time.
0 commit comments