Repository navigation
feat(core): add HTTP core API - #3223
Conversation
Signed-off-by: Tanguy ⧓ Herrmann <[email protected]>
👷 Deploy request for cloak-docs pending review.Visit the deploys page to approve it
|
sipsma
left a comment
There was a problem hiding this comment.
Looks great! Just want to hear back about the API simplification, but otherwise good to merge
| "An HTTP remote endpoint" | ||
| type HTTPRemote { | ||
| "Download a tar-encoded directory from this remote" | ||
| directory: Directory! |
There was a problem hiding this comment.
cc @shykes we simplified the API here to just return a File only since it wasn't clear how to turn an arbitrary URL into a full directory, let us know if we were misremembering the intention here
There was a problem hiding this comment.
Yes that's fine. For some reason I thought llb.Http supported unpacking a tar archive, and setting llb state to the resulting tree. But now I think I may have imagined that... Adding it to the "one day maybe" bucket. Thanks!
There was a problem hiding this comment.
That reminds me something as well.
I wonder if it wasn't some limitation we had with our CUE API?
There was a problem hiding this comment.
I believe Dockerfile's ADD statement has behavior like this, could be the source of the memory? It's implemented on a higher-level than LLB, so we can't use it for free here.
fixes #3181