@@ -112,11 +112,30 @@ To be able to see release pipeline, a read access to the `rhtap-releng` namespac
112112# ## Branching
113113
114114After creating a new release branch, the following steps need to be done :
115- - create a new konflux component
116- - create new component inside the new application, one for each image except the FBC
117- - edit the new component build pipeline to point to the pipeline-ref file
118- - creating the new `ReleasePlanAdmission` objects, one for staging one for production
119- - creating the new `ReleasePlan` objects, one for staging, one for production, note that the `auto-release` label in the production file must be false
115+ - update the konflux components source branches (e.g. below for release-10) :
116+
117+ ` ` ` bash
118+ oc patch components flowlogs-pipeline-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
119+ oc patch components netobserv-ebpf-agent-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
120+ oc patch components network-observability-cli-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
121+ oc patch components network-observability-console-plugin-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
122+ oc patch components network-observability-operator-bundle-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
123+ oc patch components network-observability-operator-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10'}]"
124+ oc patch components network-observability-console-plugin-pf4-ystream --type='json' -p "[{'op': 'replace', 'path': '/spec/source/git/revision', 'value': 'release-1.10-pf4'}]"
125+ ` ` `
126+
127+ - update main branches on every repo to disable on-push jobs :
128+ ` ` ` yaml
129+ pipelinesascode.tekton.dev/on-cel-expression: "false"
130+ ` ` `
131+
132+ - update release branches on every repo to target self :
133+ ` ` ` yaml
134+ pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.10"
135+ ` ` `
136+ (for both on-push and on-pull-request jobs)
137+
138+ - review the `ReleasePlanAdmission` objects to make sure they are targetting the next release.
120139
121140# # Release
122141
0 commit comments