-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(oci_python): demonstrate fine grained layering #256
Conversation
Thanks for this example. I'm working on implementing something like this, and it has been a helpful inspiration. I noticed something in my own implementation, which I then realized is also present here: A change to any runfile of the Do you have any suggestions for how to fix this issue? I am new to Bazel and don't have a great idea of how to filter the runfiles in a way that avoids this total cache invalidation.
Here, I changed
I verified that only the
|
Following up on my earlier comment - I found a solution. I don't fully understand why it works and would love for someone who understands Bazel better to explain it. My idea was that there must be some state being propagated through
I modified
Define the new
And use it like this:
|
f7edfad
to
86b9bdb
Compare
@wskinner-dd see the latest commit for fine-grained layering. |
887b84b
to
6dcf804
Compare
6dcf804
to
16b2ef1
Compare
Type of change
Test plan