Skip to content

🌱 [external-plugin] fix(ci): use Make targets for CLI install and expose plugin failures #4823

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

Merged

Conversation

camilamacedo86
Copy link
Member

…

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 24, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 24, 2025
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 25, 2025
@camilamacedo86 camilamacedo86 force-pushed the external-plugin-fix branch 4 times, most recently from c4315d6 to 07e20af Compare May 25, 2025 02:27
…e plugin failures

Previously, CI used inlined shell commands that produced an invalid `kubebuilder` binary,
causing cryptic errors like:
  `/home/runner/.../kubebuilder: line 1: '!<arch>'`

This commit switches to official Makefile targets to correctly build and install
the Kubebuilder CLI. It also improves local testability and ensures plugin command
failures are no longer silently skipped.
@camilamacedo86 camilamacedo86 changed the title 🌱 [external-plugin sample]: fix kubebuilder cmd path in github action and update kubebuilder dep 🌱 [external-plugin] fix(ci): use Make targets for CLI install and expose plugin failures May 25, 2025
@camilamacedo86
Copy link
Member Author

I am moving forward here just to unblock the CI. However, we must review this sample plugin. A issue was created for we track the need: #4824

@camilamacedo86 camilamacedo86 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 25, 2025
@k8s-ci-robot k8s-ci-robot merged commit e812c0c into kubernetes-sigs:master May 25, 2025
24 checks passed
@camilamacedo86 camilamacedo86 deleted the external-plugin-fix branch May 25, 2025 08:52
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants