-
Notifications
You must be signed in to change notification settings - Fork 10
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
Attempt to speed up container builds #1088
Conversation
The lading container build right now is roughly 1 hour. This is a very long loop to wait on. Introduce cargo-chef and more aggressive caching to hopefully cut this time. Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
As a smoke test, could you push a small code change? |
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
Does stripping the release binary help with compile time? I think its useful to preserve debug symbols as a general practice, unless there's a compelling reason. |
Yeah it shaves ~4 minutes off. The lading binary has gotten fairly big. On the whole, I'm meh on this change I think. It complicates the build non-trivially and it doesn't really improve build speed. An ARM build machine is what we need. |
This commit replaces #1088 and attempts to build a lading multi-platform image by use of organization provided ARM native builders. Unsure if this'll work but I figure it's worth a shot. Signed-off-by: Brian L. Troutwine <[email protected]>
This commit replaces #1088 and attempts to build a lading multi-platform image by use of organization provided ARM native builders. Unsure if this'll work but I figure it's worth a shot. Signed-off-by: Brian L. Troutwine <[email protected]>
What does this PR do?
The lading container build right now is roughly 1 hour. This is a very long loop to wait on. Introduce cargo-chef and more aggressive caching to hopefully cut this time.