Skip to content

.github/renovate: use builder container for generate-k8s-api in all r…#44996

Merged
aanm merged 1 commit intomainfrom
pr/fix-renovate-missing-go-command
Mar 26, 2026
Merged

.github/renovate: use builder container for generate-k8s-api in all r…#44996
aanm merged 1 commit intomainfrom
pr/fix-renovate-missing-go-command

Conversation

@aanm
Copy link
Copy Markdown
Member

@aanm aanm commented Mar 25, 2026

…ules

The make generate-k8s-api target uses $(GO) in Makefile variable evaluations (e.g. NATIVE_ARCH) which run on the host before delegating to the builder container. In the Renovate executor environment, go is not in PATH, causing go: command not found errors during these evaluations.

The goswagger rule already used GO='contrib/scripts/builder.sh go' for generate-apis but not for generate-k8s-api. The k8s.io dependency rules also lacked this override. This commit updates all three postUpgradeTasks callsites to use the builder container for go invocations, matching the pattern already used by generate-apis.

…ules

The `make generate-k8s-api` target uses `$(GO)` in Makefile variable
evaluations (e.g. `NATIVE_ARCH`) which run on the host before
delegating to the builder container. In the Renovate executor
environment, `go` is not in PATH, causing `go: command not found`
errors during these evaluations.

The goswagger rule already used `GO='contrib/scripts/builder.sh go'`
for `generate-apis` but not for `generate-k8s-api`. The k8s.io
dependency rules also lacked this override. This commit updates all
three postUpgradeTasks callsites to use the builder container for
`go` invocations, matching the pattern already used by `generate-apis`.

Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm requested review from a team as code owners March 25, 2026 14:01
@aanm aanm requested a review from brlbil March 25, 2026 14:01
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 25, 2026
@aanm aanm added area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/misc This PR makes changes that have no direct user impact. labels Mar 25, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Mar 25, 2026
@aanm aanm enabled auto-merge March 25, 2026 14:01
@aanm
Copy link
Copy Markdown
Member Author

aanm commented Mar 25, 2026

/test

1 similar comment
@cilium-ariane
Copy link
Copy Markdown

cilium-ariane bot commented Mar 25, 2026

/test

@aanm aanm added this pull request to the merge queue Mar 26, 2026
Merged via the queue into main with commit 706aa27 Mar 26, 2026
89 of 90 checks passed
@aanm aanm deleted the pr/fix-renovate-missing-go-command branch March 26, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants