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

Automate Communities bundle creation #131

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

clobrano
Copy link
Contributor

@clobrano clobrano commented Feb 26, 2024

  • Add Makefile recipe to build RH community bundle
  • Add Makefile recipe to build K8S community bundle
  • Automate RH/OKD and K8s community bundle release with Github Action

ECOPROJECT-1579

Copy link
Contributor

openshift-ci bot commented Feb 26, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

openshift-ci bot commented Feb 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano

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

@clobrano
Copy link
Contributor Author

/hold
wait for medik8s/.github#4

.PHONY: bundle-community-rh
bundle-community-rh: bundle-community ## Generate bundle manifests and metadata customized to Red Hat community release
echo -e "\n # Annotations for OCP\n com.redhat.openshift.versions: \"v${OCP_VERSION}\"" >> bundle/metadata/annotations.yaml

Copy link
Member

@razo7 razo7 Feb 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add $(MAKE) bundle-update at the end as in bundle-community target?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do it twice?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. I haven't noticed that bundle-community-rh already calls bundle-community...

A makefile target named bundle-community-k8s target is needed by the
shared bundle build workflow, however it is the very same as
bundle-community target.

Signed-off-by: Carlo Lobrano <[email protected]>
Use shared GitHub Action workflow to build the bundle and push it to
Medik8s community forks ready to create a PR.
This works for both RH/OKD and K8S communities.

Signed-off-by: Carlo Lobrano <[email protected]>
@clobrano clobrano force-pushed the automate-rh-community-bundle-0 branch from 492af8e to 0ac0f20 Compare March 5, 2024 16:47
@clobrano clobrano changed the title Automate RH Community bundle creation Automate Communities bundle creation Mar 5, 2024
@clobrano
Copy link
Contributor Author

clobrano commented Mar 5, 2024

/unhold

PR updated with new workflow and ready for review

@razo7
Copy link
Member

razo7 commented Mar 6, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 6, 2024
@razo7 razo7 marked this pull request as ready for review March 6, 2024 07:38
@openshift-ci openshift-ci bot requested review from beekhof and slintes March 6, 2024 07:39
Copy link
Contributor

openshift-ci bot commented Mar 6, 2024

@clobrano: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/4.12-openshift-e2e 0ac0f20 link true /test 4.12-openshift-e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@razo7
Copy link
Member

razo7 commented Mar 7, 2024

/retest

@clobrano
Copy link
Contributor Author

clobrano commented Mar 7, 2024

I think we don't need to wait for CI tests, as this change is not tested by any of them, we could just merge it

@clobrano clobrano merged commit 3d570e4 into medik8s:main Mar 7, 2024
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants