Tonis Tiigi
bd32090372
progress: temp fix for context canceling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-22 12:14:39 -07:00
Tonis Tiigi
7d835ce16c
vendor: update containerd
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-22 12:14:39 -07:00
Tõnis Tiigi
c14e612589
Merge pull request #17 from tonistiigi/progress-size
...
progress: add terminal size detection
2017-06-22 12:13:58 -07:00
Tõnis Tiigi
d3b68425cd
Merge pull request #16 from tonistiigi/change-dump-to-json
...
buildctl: use json for debugging
2017-06-22 09:10:48 -07:00
Tonis Tiigi
c654d03037
progress: add terminal size detection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-21 19:06:25 -07:00
Tõnis Tiigi
376ac07c8d
Merge pull request #15 from tonistiigi/improve-llb
...
Improve llb
2017-06-21 18:55:39 -07:00
Tonis Tiigi
944b1ae7a6
examples: add example for building buildkit itself
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-21 15:21:45 -07:00
Tonis Tiigi
728de510f3
llb: improve llb generation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-21 15:21:36 -07:00
Tonis Tiigi
63fc74a0b1
buildctl: use json for debugging
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-21 15:03:20 -07:00
Tõnis Tiigi
168fbcc873
Merge pull request #14 from tonistiigi/binary-targets
...
hack: add binary targets
2017-06-19 16:32:27 -07:00
Tonis Tiigi
e940830845
hack: add binary targets
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 16:10:09 -07:00
Tõnis Tiigi
13e772a5d8
Merge pull request #13 from tonistiigi/progress-refactor
...
Progress refactor and worker logs
2017-06-19 14:47:31 -07:00
Tonis Tiigi
5244a14bc2
client: add integration tests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:35:57 -07:00
Tonis Tiigi
3d3190573c
client: save logs to trace file
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:32:51 -07:00
Tonis Tiigi
0a7a2c1da3
solver: update exec ops to separate functions
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:32:50 -07:00
Tonis Tiigi
4ed7fa3280
progress: refactor progress IDs to items
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:32:50 -07:00
Derek McGowan
fa82d4bf5b
identity: add pkg for random id generation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:32:50 -07:00
Tõnis Tiigi
d3c69bcd5b
Merge pull request #12 from tonistiigi/progress
...
Improve progress on solver
2017-06-16 16:42:33 -07:00
Tõnis Tiigi
ab8b2f3c06
Merge pull request #10 from tonistiigi/solve-status-update
...
Solve status update
2017-06-16 16:13:26 -07:00
Tonis Tiigi
faf258dd2e
vendor: add go-units
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-16 16:12:22 -07:00
Tonis Tiigi
13f3a45b1d
progress: refactor multireader and add status display
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-16 16:10:42 -07:00
Tonis Tiigi
8e7d0904ce
client: handle status log in client
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-16 16:08:53 -07:00
Tonis Tiigi
a8303438d0
example: more complicated build example
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-15 16:09:03 -07:00
Tonis Tiigi
4b41158252
solver: control vertexstatus for pull
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-15 16:08:45 -07:00
Tõnis Tiigi
bc685ff267
Merge pull request #9 from tonistiigi/add_solver_status
...
Add solver status
2017-06-14 10:00:55 -07:00
Tõnis Tiigi
33b5c9b59c
Merge pull request #8 from dmcgowan/update-containerd
...
Update containerd
2017-06-14 10:00:23 -07:00
Tonis Tiigi
7c062a8578
vendor: include proto timestamps
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-13 23:35:36 -07:00
Tonis Tiigi
dd9490fb85
control: unbreak standalone
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-13 23:35:36 -07:00
Tonis Tiigi
177aac4018
api: fix types in protobuf
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-13 23:35:35 -07:00
Tonis Tiigi
12a84368df
solver: vertex progress reporting
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-13 23:35:29 -07:00
Tonis Tiigi
62b7d04d01
control: base of status reporting
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-13 22:52:59 -07:00
Derek McGowan
94d62fd432
Add context to functions which call snapshotter
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-13 16:10:31 -07:00
Derek McGowan
f330f4b42b
Use containerd client and default namespace
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-13 14:51:06 -07:00
Derek McGowan
f15aa3452c
Update containerd vendor to master
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-13 14:50:44 -07:00
Tõnis Tiigi
c2721095af
Merge pull request #7 from AkihiroSuda/gometalinter
...
Improve CI
2017-06-13 09:47:50 -07:00
Tõnis Tiigi
85df0f4573
Merge pull request #6 from AkihiroSuda/debug
...
buildctl dump -> buildctl debug dump
2017-06-13 09:45:59 -07:00
Akihiro Suda
348814238e
add hack/validate-vendor
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-13 08:47:41 +00:00
Akihiro Suda
1c47d9e012
hack/test: add test for `go build ./...`
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-13 08:34:07 +00:00
Akihiro Suda
38d807bd23
fix go vet failures
...
cache/refs.go:110::error: unreachable code (vet)
util/progress/progress.go:119::error: unreachable code (vet)
util/progress/progress_test.go:130::error: unreachable code (vet)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-13 08:32:30 +00:00
Akihiro Suda
4709a486db
add gometalinter.json
...
Given that this is still a POC, only basic checks are executed at the
moment.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-13 08:30:07 +00:00
Akihiro Suda
3ee43c3e94
buildctl dump -> buildctl debug dump
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-13 08:09:14 +00:00
Tõnis Tiigi
2f167915db
Merge pull request #4 from AkihiroSuda/travis
...
add .travis.yml
2017-06-12 18:05:48 -07:00
Tõnis Tiigi
5eb3c53d0f
Merge pull request #5 from AkihiroSuda/dump
...
buildctl: add dump
2017-06-12 18:00:22 -07:00
Tõnis Tiigi
ca57761b02
Merge pull request #3 from AkihiroSuda/fix-du
...
buildctl: du: use spew dump
2017-06-12 17:58:36 -07:00
Tõnis Tiigi
e12ade2c60
Merge pull request #2 from AkihiroSuda/fix-buildstate
...
buildd: fix "Lockfiles must be given as absolute path names" error
2017-06-12 17:58:24 -07:00
Akihiro Suda
0bbbaf75bf
buildctl: add dump
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-12 09:52:25 +00:00
Akihiro Suda
bdc7c42399
add .travis.yml
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-12 09:13:54 +00:00
Akihiro Suda
cf68b4a8d6
buildctl: du: use spew dump
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-12 08:58:29 +00:00
Akihiro Suda
6a9e34228a
buildd: fix "Lockfiles must be given as absolute path names" error
...
Tested with the standalone controller.
Without this patch, the daemon fails to build an image:
ERRO[0008] /control.Control/Solve returned error: Lockfiles must be
given as absolute path names
error creating lockfile
.buildstate/content/ingest/b8bc9e0954dc1413b6ffd69c106a1d8967130398f50626b5c5a098c5149b0bf3/lock
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/content.(*store).ingestPaths
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/content/store.go:369
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/content.(*store).Writer
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/content/store.go:233
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/remotes.fetch
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/remotes/handlers.go:60
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/remotes.FetchHandler.func1
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/remotes/handlers.go:50
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images.HandlerFunc.Handle
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images/handlers.go:33
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images.Handlers.func1
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images/handlers.go:43
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images.HandlerFunc.Handle
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images/handlers.go:33
github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images.Dispatch.func1
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/github.com/containerd/containerd/images/handlers.go:103
github.com/tonistiigi/buildkit_poc/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1
/home/suda/gopath/src/github.com/tonistiigi/buildkit_poc/vendor/golang.org/x/sync/errgroup/errgroup.go:58
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:2197
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-12 08:49:48 +00:00
Tonis Tiigi
84a14f44ed
llb: ops execution example
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-09 14:49:01 -07:00