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

build, ci: extend API checks to include Hubble API #14091

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Nov 19, 2020

Similar to the existing infrastructure to detect OpenAPI based changes,
detect whether any of the Hubble API file need to be regenerated.

This change also includes regeneration of api/v1/flow/flow.pb.go which
was previously missed and the GitHub action would otherwise fail.

@tklauser tklauser added area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Nov 19, 2020
@tklauser tklauser requested review from a team as code owners November 19, 2020 12:05
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Nov 19, 2020
@tklauser tklauser force-pushed the pr/tklauser/ci-hubble-api-check branch from ca6ed53 to 230db2f Compare November 19, 2020 12:07
@tklauser tklauser requested a review from a team as a code owner November 19, 2020 12:07
@tklauser tklauser requested a review from a team November 19, 2020 12:07
Similar to the existing infrastructure to detect OpenAPI based changes,
detect whether any of the Hubble API file need to be regenerated.

This change also includes regeneration of `api/v1/flow/flow.pb.go` which
was previously missed and the GitHub action would otherwise fail.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser force-pushed the pr/tklauser/ci-hubble-api-check branch from 230db2f to 52904a6 Compare November 19, 2020 12:08
Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@tklauser
Copy link
Member Author

tklauser commented Nov 19, 2020

The newly added target is used by the "Go-related checks" GitHub action which passed. Full CI run isn't necessary, marking as ready to merge.

Also marked for backport to 1.8 and 1.9 as it might help to catch missing API re-generation in backport PRs.

@tklauser tklauser added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. needs-backport/1.8 labels Nov 19, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.1 Nov 19, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.6 Nov 19, 2020
Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

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

💯

@jibi jibi merged commit 92ce4ee into master Nov 19, 2020
@jibi jibi deleted the pr/tklauser/ci-hubble-api-check branch November 19, 2020 13:48
This was referenced Nov 21, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.1 Nov 21, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.1 Nov 23, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.6 Nov 23, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Needs backport from master in 1.8.6 Nov 23, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Needs backport from master in 1.8.6 Nov 23, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot removed this from Needs backport from master in 1.8.6 Nov 24, 2020
@aanm aanm mentioned this pull request Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.9.1
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

9 participants