GithubHelp home page GithubHelp logo

Comments (3)

tonistiigi avatar tonistiigi commented on May 21, 2024

--no–progress was added in #70 but output is currently really only usable for debugging and not for nice overview

from buildkit.

kunalkushwaha avatar kunalkushwaha commented on May 21, 2024

Looking into this. Trying to understand what is expected output format required in case --no-progress flag.

For current output like below

$ ./buildkit4 | sudo ../../buildctl --debug build --no-progress 
INFO[0000] tracing logs to /tmp/buildctl338487667       
DEBU[0000] serving grpc connection                      
DEBU[0000] vertex: sha256:0e6b31ceed3e6dc542018f35a53a0e857e6a188453d32a2a5bbe7aa2971c1220 docker-image://docker.io/library/alpine:latest <nil> <nil> 
DEBU[0000] vertex: sha256:10d8c20fbf1f31dd85c8c6a2ab3133193262ae137430e8ba6c893548813ea475 echo hello <nil> <nil> 
DEBU[0000] vertex: sha256:42b3ce956d05b67053f05ca61b2abdfe59adce3e5c540e92352981105581940e ls -l /bin <nil> <nil> 
DEBU[0000] status: sha256:0e6b31ceed3e6dc542018f35a53a0e857e6a188453d32a2a5bbe7aa2971c1220 resolve docker.io/library/alpine:latest 0 
DEBU[0000] status: sha256:0e6b31ceed3e6dc542018f35a53a0e857e6a188453d32a2a5bbe7aa2971c1220 resolve docker.io/library/alpine:latest 0 
DEBU[0000] stopping session                             
DEBU[0000] vertex: sha256:0e6b31ceed3e6dc542018f35a53a0e857e6a188453d32a2a5bbe7aa2971c1220 docker-image://docker.io/library/alpine:latest 2017-11-17 02:30:31.614180843 +0000 UTC 2017-11-17 02:30:31.614180843 +0000 UTC 
DEBU[0000] vertex: sha256:0e6b31ceed3e6dc542018f35a53a0e857e6a188453d32a2a5bbe7aa2971c1220 docker-image://docker.io/library/alpine:latest 2017-11-17 02:30:31.614180843 +0000 UTC 2017-11-17 02:30:31.614180843 +0000 UTC 
DEBU[0000] vertex: sha256:10d8c20fbf1f31dd85c8c6a2ab3133193262ae137430e8ba6c893548813ea475 echo hello 2017-11-17 02:30:31.614180843 +0000 UTC 2017-11-17 02:30:31.614180843 +0000 UTC 
DEBU[0000] vertex: sha256:10d8c20fbf1f31dd85c8c6a2ab3133193262ae137430e8ba6c893548813ea475 echo hello 2017-11-17 02:30:31.614180843 +0000 UTC 2017-11-17 02:30:31.614180843 +0000 UTC 
DEBU[0000] vertex: sha256:42b3ce956d05b67053f05ca61b2abdfe59adce3e5c540e92352981105581940e ls -l /bin 2017-11-17 02:30:31.614180843 +0000 UTC 2017-11-17 02:30:31.614180843 +0000 UTC 

should be shown like? ref : #70

1 2017-11-17 02:30:31.614180843 +0000 UTC new sha:0e6b31ceed docker-image://docker.io/library/alpine:latest 
1 2017-11-17 02:30:31.614180843 +0000 UTC  resolved
1 2017-11-17 02:30:31.614180843 +0000 UTC  completed (cached)
2 2017-11-17 02:30:31.614180843 +0000 UTC new sha:10d8c20fbf1f3 echo hello
2 2017-11-17 02:30:31.614180843 +0000 UTC  completed (cached)
3 2017-11-17 02:30:31.614180843 +0000 UTC new sha:42b3ce956d05b6 ls -l /bin  
3 2017-11-17 02:30:31.614180843 +0000 UTC completed (cached)

from buildkit.

tonistiigi avatar tonistiigi commented on May 21, 2024

@kunalkushwaha Maybe, I'm not sure. Do you have suggestions on what would be the best format? This should be a list of events and logs from every operation in time based order. For readability I suggested assigning incremental numbers to every vertex instead of showing the sha256 everywhere. Maybe that should be after the timestamp though. We can try out different versions until we get this right. You can look at the trace file for the raw version of this output, just need to find a more human readable format to that data.

from buildkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.