Comments (3)
--no–progress
was added in #70 but output is currently really only usable for debugging and not for nice overview
from buildkit.
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.
@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)
- wishlist: annotations on docker/dockerfile images HOT 2
- WCOW fails to load custom frontend HOT 3
- Proposal: Use referrers api to import/export inline type cache
- bake does not merge compose services/<service>/build/x-bake setting with serivice extensions
- copy --parents silently ignores nonexistent paths HOT 2
- buildkit WCOW cannot seemingly run `RUN powershell ...`, while vanilla dockerd can HOT 4
- Proposal: csv syntax for git repos HOT 3
- Support extracting `ADD --checksum=.. https://.. ..` HOT 6
- 0.13.2 corrupts cache and cannot start (`go.etcd.io/bbolt.(*freelist).read`, `panic: invalid freelist page: 0, page type is unknown<0`) HOT 2
- Local and Registry cache not used or *invalidating* cache unnecessarily HOT 2
- can't add CA cert for gha remotecache?
- Inconsistencies in RUN mount options parsing/handling HOT 1
- dockerfile: Add integration test for ARG with empty value and default
- It seems that "registry.insecure=true" doesn't work. HOT 7
- buildkit remote cache fails if manifest is larger than 1MB
- Windows buildkit: copy context error HOT 6
- Proposal: lint disable controls HOT 2
- windows differ is not implemented HOT 1
- `FROM --platform=$BUILDPLATFORM a as b` not overriding `TARGETPLATFORM` for multi-stage builds HOT 3
- `checksum`ing "local files" for remote builder contexts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildkit.