-
Notifications
You must be signed in to change notification settings - Fork 11
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
[release-0.3] Update OKD community bundle PR automation #144
[release-0.3] Update OKD community bundle PR automation #144
Conversation
Add utility Makefile target to revert version, icon and dates from CSV before committing new changes. Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Makefile target to revert all version or build date related changes
This workflow will: - build OKD bundle for MDR - clone upstream redhat-openshift-ecosystem/community-operators-prod - copy MDR's OKD bundle to the appropriate folder - create dev branch, commit changes and push to our fork medik8s/community-operators-prod from which we can manually review and create the PR Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
…se-0 Automate community bundle release
Is currently not possible to create a test bundle (e.g. with changes or custom IMAGE_REGISTRY) due to `docker-build` target running `verify-no-changes` recipe Let `docker-build` run only `test-no-verify-changes` to permit test bundles creation. Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
…get-0 Remove catalog creation from Makefile
…th-changes-0 Allow to create a test bundle for development
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
…ndle-1 Adopt reusable workflow for Red Hat Community bundle creation
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Build file-based catalog
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
…rsion-check-0 Fix verify-previous-version Makefile target
Currently, installing the latest z version of golang from the go toolchain available in the repository (via go get) is failing with the following error: go: updating go.mod requires go >= 1.21.8 (running go 1.21.7; GOTOOLCHAIN=local) To fix it, this change installs directly the wanted version from https://golang.org/dl without using the distribution repository. Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Fix Go install in Dockerfile
Use the latest version of shared GitHub Action to create the OKD community bundle PR (MDR only has OKD bundle, no K8s) Create a manual workflow to provide the necessary inputs to the shared GitHub Action to: - build and push versioned images to quay registry - create the OKD release branch, ready for the PR Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
- we can set previous_version and ocp_version are mandatory, since MDR only supports OKD release bundle. - meeDamian/github-release needs tag as input. - replace github.ref_name with inputs.version in release body. - uniform target bundle-community-okd (in place of -rh) like the other operators have.
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Skipping CI for Draft Pull Request. |
There were too many bits missing in release-0.3 to do just a cherry-pick. This affects only the ability to create the bundle PR to OKD from this branch however, so if you think it is not the right way to move on, I can drop the PR and do the OKD PR manually. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: clobrano, slintes 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 |
b596098
into
medik8s:release-0.3
This is the merge of branch
automate-community-bundles-pr-0
of #135Plus a commit for the missing definition of a Makefile variable