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

ci: reduce size of Rust interop-test image (backport #3926) #3944

Merged
merged 3 commits into from
May 15, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 15, 2023

Description

This is an automatic backport of pull request #3926 done by Mergify.

By using a multi-stage docker build, a distroless base image and a release build, we can get the size of the Rust interop test down to 50MB. Previously, the image would be around 500MB. A debug build image would still have ~400MB. The release build slows down our interop build step by about 1min 20s. That however is only because we don't currently seem to utilize the caches that from what I understand should work on self-hosted runners. I opted #3925 for that.

Resolves: #3881.

Pull-Request: #3926.
(cherry picked from commit 0bc724a)
@mergify mergify bot merged commit 97071b9 into v0.50 May 15, 2023
@mergify mergify bot deleted the mergify/bp/v0.50/pr-3926 branch May 15, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant