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

ignore more artifacts during builds #1426

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
We only need RPMs in the Docker build context, so handle that case more explicitly.

Testing done:
cargo make && cargo make repo && cargo make ami all still work.

I confirmed that I no longer see vmdk and json files in the build context.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

We use the build directory for output other than package builds, but
only the RPM packages need to be included in the build context that
Docker creates.

Switch to an allowlist approach so that we exclude new extensions by
default.

Signed-off-by: Ben Cressey <[email protected]>
@bcressey bcressey merged commit 4840b4d into bottlerocket-os:develop Mar 30, 2021
@bcressey bcressey deleted the ignore-more branch March 30, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants