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

testdata: minimize build output by reducing header includes #31644

Merged
merged 3 commits into from Mar 28, 2024

Conversation

ti-mo
Copy link
Contributor

@ti-mo ti-mo commented Mar 27, 2024

This patch should make testdata play a bit nicer with backports, since
including headers like node_config.h, ep_config.h and maps.h cause potential
churn in the resulting BTF info.

Include a minimal subset of headers and reduce testdata code to what's
strictly necessary for the Go tests to run.

Make testdata build output more stable by reducing header includes

Centralize the declaration so we can assume it's present in other Makefiles
importing Makefile.defs.

Signed-off-by: Timo Beckers <timo@isovalent.com>
This patch should make testdata play a bit nicer with backports, since
including headers like node_config.h, ep_config.h and maps.h cause potential
churn in the resulting BTF info.

Include a minimal subset of headers and reduce testdata code to what's
strictly necessary for the Go tests to run.

Signed-off-by: Timo Beckers <timo@isovalent.com>
@ti-mo ti-mo requested review from a team as code owners March 27, 2024 16:20
@ti-mo ti-mo requested review from rgo3, brlbil and jibi March 27, 2024 16:20
@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 27, 2024
@ti-mo ti-mo temporarily deployed to release-base-images March 27, 2024 16:20 — with GitHub Actions Inactive
Signed-off-by: Cilium Imagebot <noreply@cilium.io>
@ti-mo ti-mo requested review from a team as code owners March 27, 2024 16:34
@auto-committer auto-committer bot temporarily deployed to release-base-images March 27, 2024 16:34 Inactive
@ti-mo ti-mo added release-note/ci This PR makes changes to the CI. needs-backport/1.15 This PR / issue needs backporting to the v1.15 branch labels Mar 27, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 27, 2024
@ti-mo
Copy link
Contributor Author

ti-mo commented Mar 27, 2024

/test

@ti-mo ti-mo enabled auto-merge March 27, 2024 21:42
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.

Hubble LGTM

@ti-mo ti-mo added this pull request to the merge queue Mar 28, 2024
Merged via the queue into main with commit 362c094 Mar 28, 2024
239 checks passed
@ti-mo ti-mo deleted the tb/standalone-testdata branch March 28, 2024 12:26
@ti-mo ti-mo added backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. and removed needs-backport/1.15 This PR / issue needs backporting to the v1.15 branch labels Mar 28, 2024
@rgo3 rgo3 added backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. and removed backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants