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

Automated cherry pick of #5988: Disable cgo for all Antrea binaries (#5988) #6146

Conversation

luolanzone
Copy link
Contributor

@luolanzone luolanzone commented Mar 26, 2024

Cherry pick of #5988 on release-1.13.

#5988: Disable cgo for all Antrea binaries (#5988)

For details on the cherry pick process, see the cherry pick requests page.

* Disable cgo for all Antrea binaries

Instead of selectively disabling cgo for some binaries (e.g., release
assets), we now unconditionally disable cgo for all binaries, even those
that only run inside the container image for which they were built
(e.g., antrea-controller). After some analysis, there seems to be no
downside in doing this. We also get some benefits such as reduced build
time for the default make command.

Fixes antrea-io#5724

* Revert "Add git to antrea-build image for UBI build (antrea-io#5727)"

This reverts commit 2f8441b.

* Revert "Fix antrea-ubi image build (antrea-io#5723)"

This reverts commit 2afab06.

---------

Signed-off-by: Antonin Bas <[email protected]>
@luolanzone luolanzone added the kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release label Mar 26, 2024
@luolanzone
Copy link
Contributor Author

/test-vm-e2e

1 similar comment
@luolanzone
Copy link
Contributor Author

/test-vm-e2e

@luolanzone luolanzone force-pushed the automated-cherry-pick-of-#5988-#6008-upstream-release-1.13 branch from 7ccb94d to c879364 Compare March 26, 2024 09:12
@luolanzone luolanzone changed the title Automated cherry pick of #5988: Disable cgo for all Antrea binaries (#5988) #6008: Fix TestVMAgent (#6008) Automated cherry pick of #5988: Disable cgo for all Antrea binaries (#5988) Mar 26, 2024
@luolanzone
Copy link
Contributor Author

/test-vm-e2e

1 similar comment
@luolanzone
Copy link
Contributor Author

/test-vm-e2e

@luolanzone
Copy link
Contributor Author

/test-vm-e2e

@tnqn
Copy link
Member

tnqn commented Mar 27, 2024

/skip-all

1 similar comment
@tnqn
Copy link
Member

tnqn commented Mar 27, 2024

/skip-all

@tnqn tnqn merged commit c406bfc into antrea-io:release-1.13 Mar 27, 2024
47 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants