Skip to content

Conversation

joestringer
Copy link
Member

@joestringer joestringer commented Jun 24, 2025

Tracing the history all the way back to commit adb32c6
("docs: Use go-swagger Docker container to generate APIs"), these make
targets have always ignored the exit status of the commands to generate
the APIs. There's no explanation as to why, and this seems inadvisable
since we rely on these commands generating consistent API templates that
are used to interact with these APIs.

Remove the - syntax to require that all such commands succeed.

Tracing the history all the way back to commit adb32c6
("docs: Use go-swagger Docker container to generate APIs"), these make
targets have always ignore the exit status of the commands to generate
the APIs. There's no explanation as to why, and this seems inadvisable
since we rely on these commands generating consistent API templates that
are used to interact with these APIs.

Remove the "-" syntax to require that all such commands succeed.

Signed-off-by: Joe Stringer <joe@cilium.io>
@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 Jun 24, 2025
@joestringer joestringer added release-note/misc This PR makes changes that have no direct user impact. needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jun 24, 2025
@joestringer
Copy link
Member Author

/test

@joestringer joestringer marked this pull request as ready for review June 24, 2025 23:15
@joestringer joestringer requested a review from a team as a code owner June 24, 2025 23:15
@joestringer joestringer requested a review from HadrienPatte June 24, 2025 23:15
@joestringer joestringer enabled auto-merge June 24, 2025 23:34
@joestringer joestringer added this pull request to the merge queue Jun 24, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 24, 2025
Merged via the queue into main with commit 272cc76 Jun 24, 2025
357 of 360 checks passed
@joestringer joestringer deleted the pr/joe/fix-api-generation branch June 24, 2025 23:54
@viktor-kurchenko viktor-kurchenko added backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. and removed needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jun 25, 2025
@viktor-kurchenko viktor-kurchenko added backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. and removed needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Jun 25, 2025
@github-actions github-actions bot added backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. and removed backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. labels Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. 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