Repository navigation
Community release automation - #132
openshift-merge-bot[bot] merged 1 commit into
Conversation
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider TIMED_OUT in 48m 18s |
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 04s |
6ab3457 to
9745109
Compare
lpiwowar
left a comment
There was a problem hiding this comment.
Overall LGTM, thank you 👍, this is nice addition!
Just couple of small comments and topics for a discussion:). We can talk about it today.
9745109 to
cc95d32
Compare
ebd22a9 to
ae23c5c
Compare
Creates a GitHub Action job that creates a PR to release
the operator to the community catalog.
The job is triggered by manual a workflow dispatch. The user needs
to define the version of the release and the image tag the release
should be based on (latest is the default value).
The job pulls the published images with the correct tags from the
registry, extracts the bundle files, modifies them as required and
creates a PR to the community-operators-prod repository. It also
runs checks to validate the proposed release.
The job requires setting repository variables:
- RELEASE_AUTHOR_EMAIL: email associated with the GitHub account
that will create the community PR.
- RELEASE_AUTHOR_NAME: name of the bot/account that will create
the community PR.
- COMMUNITY_OPERATORS_FORK: name of the fork where the community PR
will be created in the format of
owner/fork-name.
And a repository secret:
- COMMUNITY_OPERATORS_TOKEN: auth token of the GitHub account that
will create the community PR.
ae23c5c to
3a2976b
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jancervenka, lpiwowar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a3a68a0
into
openstack-k8s-operators:main
I deployed the action in my own fork to test that it works by proposing a release
0.0.3:Proposed release PR: redhat-openshift-ecosystem/community-operators-prod#11658.
I manually tested the released image with:
And it successfully deployed:
And the Lightspeed service can be queried:
The job is using https://github.com/openstack-lightspeed-bot bot account and its repository fork https://github.com/openstack-lightspeed-bot/community-operators-prod to create the PR. Right now, the created PR needs to be manually approved. In the next step, when we are happy with how this automation works, we can add the bot as a reviewer and make it self approve the PR.
Summary by CodeRabbit