-
Notifications
You must be signed in to change notification settings - Fork 167
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/test-images: print docker context #894
Conversation
This commit adds visibility into the docker context used for building container images. While the docker context is built via a blacklist-based `.dockerignore`, this should make it easier to spot: * unwanted files creeping into docker images * context bloat
I mentioned this at #738 (comment), but I think I'm probably not the best person to review the script in this PR. I'm thinking that @sadiqkhoja or @lognaturel would be in a better position to take a look. |
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.
This is super useful and clever 👏 and should be publish somewhere globally
Was pointing to the wrong answer.
This commit adds visibility into the docker context used for building container images.
This should make it easier to spot:
The script can also be run locally to understand differences between local and CI docker contexts.
What has been done to verify that this works as intended?
Run locally & in CI.
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Should not affect users.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
next
branch OR only changed documentation/infrastructure (master
is stable and used in production)