-
Notifications
You must be signed in to change notification settings - Fork 288
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
fast_build.add
always shows ADD . /
in logs
#971
Comments
Hi @johnboiles -- good call, it hadn't occurred to me that this log output could be confusing, but you're totally right! We'll look into whether this can be clarified at all, but know that this is currently expected behavior. In case you're curious about why this is happening (feel free to ignore this if not): This is a side-effect of the way we do fast builds. We tar up all your files ourselves, in a format that matches the way we want to un-tar them, and generate a Dockerfile and run it with our homemade tar file as the build context. So if you call Hope that makes sense! (If it doesn't and you're still curious about how this all works under the hood, I'm happy to answer more questions.) |
Thanks for the explanation! Feel free to close the ticket if you think that’s appropriate. In my case I had a typo in my run command that made it appear like my files weren’t getting copied in. The ADD log line seemed to confirm this hypothesis so I ended up burning a little time checking that files were copied before I found the real issue |
Threw something together -- turns out it's more annoying than it should be to print that
😕 so, seems like this is the next best thing (added some logging that you can get by running
If so, we'll add it in. If not, we'll drop it :) |
Maybe it would help to make it more clear that this is docker output, for debugging/showing progress, and not "tilt" output? WDYT? |
We added some code to at least give a little more visibility into what's going on if you run tilt in |
I'm noticing that using
fast_build.add
I'm always gettingADD . /
in the logs, no matter what arguments I pass intofast_build.add
. It's pretty minor since it appears everything does get copied in as expected, it was just confusing. I would expect to see something likeADD /path/to/source /path/in/container
.The text was updated successfully, but these errors were encountered: