Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update clusterserviceversion template on bump components #2076

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented Mar 25, 2024

Changes

The file
openshift-pipelines-operator-rh.clusterserviceversion.template.yaml
may contain some reference to component versions. In order to keep
them update, let's use the content of components.yaml to populate
it.

To do this, we use a .tmpl file and golang text/template facilities.

Signed-off-by: Vincent Demeester vdemeest@redhat.com

/kind misc

Closes #2032
(maybe something else ?)

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added kind/misc Categorizes issue or PR as a miscellaneuous one. release-note-none Denotes a PR that doesnt merit a release note. labels Mar 25, 2024
@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 25, 2024
@vdemeester vdemeester force-pushed the 2032-update-clusterserviceversion.template.yaml-on-bump branch from 9f5faee to 8da7e51 Compare March 25, 2024 15:00
The file
`openshift-pipelines-operator-rh.clusterserviceversion.template.yaml`
may contain some reference to component versions. In order to keep
them update, let's use the content of `components.yaml` to populate
it.

To do this, we use a `.tmpl` file and golang `text/template` facilities.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@vdemeester vdemeester force-pushed the 2032-update-clusterserviceversion.template.yaml-on-bump branch from 8da7e51 to f04b33e Compare March 25, 2024 15:00
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jkandasa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2024
@piyush-garg
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 26, 2024
@tekton-robot tekton-robot merged commit 80617b5 into tektoncd:main Mar 26, 2024
8 checks passed
@vdemeester vdemeester deleted the 2032-update-clusterserviceversion.template.yaml-on-bump branch March 26, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance the "[bot] bump payload versions" to update the "clusterserviceversion" template
4 participants