feat: system prune also cleanup build cache#1284
Conversation
|
PTAL! |
Thanks, but please use real name |
Signed-off-by: Zhou Zhiqiang <im@strrl.dev>
fd1e190 to
2eb359e
Compare
Updated! |
Signed-off-by: Zhou Zhiqiang <im@strrl.dev>
Signed-off-by: Zhou Zhiqiang <im@strrl.dev>
Signed-off-by: Zhou Zhiqiang <im@strrl.dev>
5f57eb2 to
332b68f
Compare
|
Hi @AkihiroSuda @junnplus , I meet some trouble when using The output of the I also updated the testcase, so it would be failed with the current |
|
What should I do now? Make a new implementation like |
I just noticed that PR already get merged! 🎉 I think I could update code based on the json output! |
|
I think I could update code based on the json output!
|
Well, if we want to be compatible with the older version of Or maybe using the BuildKit go API would be the better way? PTAL @junnplus @AkihiroSuda |
You can convert |
|
Parse the JSON if the JSON output is available, otherwise we can just print the bare output from |
Honestly, I wish we could be compatible with older versions because most users are using them. |
What about using BuildKit Go API? I prefer to use that instead of parsing the text, because go API seems more stable and easy to use. 🤔 |
SGTM. |
Hi @junnplus @AkihiroSuda @fahedouch, I took a look at using buildkit go API instead of using I think I would create a tracking issue about:
What do you think about it? |
|
Using buildkit API sounds good but fearing it may increase the binary footprint Cc @ktock |
|
It has been a long time since this PR not active, I would continue the work in another PR with new codebase. |

Signed-off-by: Zhou Zhiqiang im@strrl.dev
close #1279
Changes:
builderPruneAction()within commandsystem prune