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 #97699: Ensure reproducible builds when build through docker #97732
Automated cherry pick of #97699: Ensure reproducible builds when build through docker #97732
Conversation
In d9cfd77 and d70d04f we added support for reproducible builds for individual binaries (like kube-apiserver), however we need to thread this support when we build binaries with docker as well (say during "make quick-release"). Essentially, if GOLDFLAGS is set explicitly by someone either to a valid value they would like to use or empty ("") then we pick that up. If it is not set we should avoid setting GOLDFLAGS to empty. This ensures that we support the same functionality documented here: https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82-L85 Signed-off-by: Davanum Srinivas <davanum@gmail.com>
/sig release |
/release-note-none |
/kind cleanup |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, justaugustus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #97699 on release-1.20.
#97699: Ensure reproducible builds when build through docker
For details on the cherry pick process, see the cherry pick requests page.