-
Notifications
You must be signed in to change notification settings - Fork 211
Create a small Docker image for running integration tests #333
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
Conversation
I'm going to move "runtime" tests as well, hopefully in this PR. |
1248603
to
d7990de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you planning to keep all the commits or squash some?
27c842a should be a separate commit. I'm fine about squashing other three into one. |
That SGTM. |
It doesn't have to be. Signed-off-by: Kazuyoshi Kato <[email protected]>
Building firecracker-containerd-integ-test takes time and we cannot utilize build cache much since we copy the entire source tree to the container image in the very beginning of the build process. This change introduces firecracker-containerd-integ-test-tiny which doesn't build binaries such as firecracker-containerd (they are built without Docker) but able to run "go test". Signed-off-by: Kazuyoshi Kato <[email protected]>
27c842a
to
8f58ad2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! I was planning on getting to #313 once I was freed up, which I should be soon now that the drive mount rate-limiter PR is out, so I'm happy to finish the rest of that issue up after this PR is merged
Add "lint" target to check Amazon's license header
Issue #, if available:
#313
Description of changes:
As described in #313, firecracker-containerd-integ-test is copying the entire source directory to the container in the very early stage, which makes incremental build slower. This PR changes the strategy to
That will make incremental build much faster.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.