-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
[OCI Load] OCI Load fails if dependents are not pre-built #642
Comments
I'm not able to reproduce. Changes: #644
Could you help put up a reproduction? |
here is where the inputs to the OCI tarball go into the runfiles of the loader: rules_oci/oci/private/load.bzl Line 169 in 9a32fc2
|
Let me try and get a minimal repro from our repo, thanks for the timely response. |
This probably fixed by #646, @ankit-agarwal1999 can you try with the 2.x branch? |
@alexeagle the |
Great! I am going to close this as fixed. |
Hey all! We are on the beta release of rules_oci and noticed that oci_load sometimes fails if its dependents are not built.
As an example:
BUILD FILE:
And command
has the following error when run:
But if I run
Then this works correctly.
Looking at the code, my guess is that the oci_load rule doesn't actually have the sha256 blobs in the runfiles of the oci_load rule, so I think those output files would likely need to be propagated up so the load rule can access it.
The text was updated successfully, but these errors were encountered: