kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.49k stars 1.29k forks source link

Replace kubebuilder-release-tools action #10925

Open sbueringer opened 1 month ago

sbueringer commented 1 month ago

Sooner or later the kubebuilder-release-tools actions will have to either migrate to the community-registry or be deprecated (https://github.com/kubernetes-sigs/kubebuilder-release-tools/issues/60#issuecomment-2236068489).

While thinking about this, I was wondering if we actually need the kubebuilder-release-tools action in Cluster API. Especially considering how much effort it took the last time to get a change implemented in kubebuilder-release-tools and the action correctly published and bumped.

I took a closer look and it looks like we use it only to verify PR titles in the following way:

I think we can replace the usage of kubebuilder-release-tools with a small GitHub action that just runs some local code (e.g. bash) to achieve the same goal.

Once implemented, let's make sure we surface this alternative implementation at the kubebuilder-release-tools issue (https://github.com/kubernetes-sigs/kubebuilder-release-tools/issues/60)

sbueringer commented 1 month ago

/help

k8s-ci-robot commented 1 month ago

@sbueringer: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes-sigs/cluster-api/issues/10925): >/help Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
sbueringer commented 1 month ago

/triage accepted

sivchari commented 1 month ago

I work on it. /assign

sbueringer commented 1 month ago

One quick comment. Would be nice if it's just one self-contained action YAML. So it's easy to copy / sync to other projects