File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed 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.4.0 -o yaml -n openstack-operators > csv.yaml
4+ VERSION=0.4
5+ CURRENT=${VERSION} .0
6+ UPDATE=${VERSION} .1
7+ oc get csv openstack-operator.v${CURRENT} -o yaml -n openstack-operators > csv.yaml
58# bump them to current-podified
69sed -i csv.yaml -e " s|value: .*quay.io/podified-antelope-centos9/\(.*\)@.*|value: quay.io/podified-antelope-centos9/\1:current-podified|g"
710# also bump the OPENSTACK_RELEASE_VERSION value (it is the only field set like this)
8- sed -i csv.yaml -e " s|value: 0.4.0 |value: 0.4.1 |"
11+ sed -i csv.yaml -e " s|value: ${CURRENT} |value: ${UPDATE} |"
912oc apply -n openstack-operators -f csv.yaml
You can’t perform that action at this time.
0 commit comments