-
Notifications
You must be signed in to change notification settings - Fork 280
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
Optimize driver build time for multi arch/os images #668
Comments
Building the binary in the multi-stage docker build gives us a reproducible environment which is not the case with building on the host. Instead of building the binary on the host, I think we can
|
This improves the build time, so we'll go ahead with the vendor approach. |
We bumped the machine type used in cloudbuild to With this change, the build time has significantly improved. It now takes 14m instead of the previous 1h10m. /close |
@aramase: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The binary is built inside the golang builder docker container. In case of prow image build in gcb, it takes ~1h10m for the image build to complete (linux/amd64, linux/arm64, windows/amd64/1809, windows/amd64/1903, windows/amd64/1909, windows/amd64/2004).
We can optimize this by building the binary once on host for different os/arch and load into the docker image.
/assign
The text was updated successfully, but these errors were encountered: