Commit Graph

146 Commits (b65989a5e44710529b6308d97645ea6f99855588)

Author SHA1 Message Date
Tonis Tiigi b65989a5e4 source: add git source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Akihiro Suda 88cbbe5345 Merge pull request #66 from tonistiigi/mounts-slice
worker: change mounts map to slice
2017-07-11 14:06:27 +09:00
Tonis Tiigi bcb950915b llb: add const for root mount
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 21:54:38 -07:00
Tonis Tiigi 2bb4c5d487 worker: change mounts map to slice
Fixes random mount order.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 19:18:19 -07:00
Sebastiaan van Stijn 087e1a8f5e Merge pull request #64 from tonistiigi/pin-vndr
hack: pin to specific version of vndr
2017-07-10 13:51:09 -07:00
Tonis Tiigi b0f8990f52 hack: pin to specific version of vndr
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 13:22:51 -07:00
Akihiro Suda a4b1a785e9 Merge pull request #60 from tonistiigi/instruction-cache
Add instruction cache
2017-07-07 18:26:48 +09:00
Akihiro Suda 3b7eeea56c Merge pull request #61 from tonistiigi/vendor-go-runc
vendor: update go-runc
2017-07-07 14:27:26 +09:00
Tonis Tiigi 25ba9d72de solver: first pass of instruction cache
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-06 20:42:17 -07:00
Tonis Tiigi cc9b11c052 vendor: update go-runc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-06 20:35:36 -07:00
Tonis Tiigi c9e2493f06 source: update interface for cache calls
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-06 12:12:17 -07:00
Akihiro Suda 9a862b9a28 Merge pull request #59 from tonistiigi/metadata-rawmessage
metadata: switch value encoding to json.RawMessage
2017-07-07 02:26:43 +09:00
Tonis Tiigi 04b9e02a2d buildctl: remove dump-bolt command
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-06 10:13:31 -07:00
Tonis Tiigi 2c5ff4fc59 metadata: switch value encoding to json.RawMessage
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-05 23:32:36 -07:00
Akihiro Suda 504818c289 Merge pull request #57 from tonistiigi/solver-separate-llb
solver: remove llb dependency
2017-07-06 15:09:45 +09:00
Tõnis Tiigi d5fdd25671 Merge pull request #53 from AkihiroSuda/dump-boltdb
buildctl debug: dump-{llb,metadata,bolt}
2017-07-05 22:45:43 -07:00
Tonis Tiigi f0c14879c7 solver: remove llb dependency
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-05 22:42:33 -07:00
Akihiro Suda af3271d520 buildctl debug: dump-{llb,metadata,bolt}
- dump-llb: renamed from old `dump`. Now supports specifying LLB by
filename as well (for consistency with other commands)
- dump-metadata: new command for dumping metadata.db
- dump-bolt: new command for dumping arbitrary boltdb file

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-07-06 05:12:10 +00:00
Tõnis Tiigi 73bbe66d23 Merge pull request #56 from AkihiroSuda/readme-README
readme.md -> README.md
2017-07-05 10:00:24 -07:00
Akihiro Suda 8cca10d740 readme.md -> README.md
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-07-05 09:19:52 +00:00
Akihiro Suda 8e2267320e Merge pull request #54 from tonistiigi/metadata
persistent metadata helpers for snapshots
2017-07-05 14:38:18 +09:00
Tonis Tiigi c28c8c0789 vendor: add require
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-04 21:55:33 -07:00
Tonis Tiigi 44415841c9 make blobmapping use metadata package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-04 21:55:27 -07:00
Tonis Tiigi 336cfe07fa persistent metadata helpers for snapshots
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-04 21:55:20 -07:00
Akihiro Suda e6c90e3956 Merge pull request #51 from tonistiigi/graceful-shutdown
buildd: graceful shutdown on termination signals
2017-07-03 16:52:29 +09:00
Tonis Tiigi dd4c575236 buildd: graceful shutdown on termination signals
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-03 00:13:06 -07:00
Akihiro Suda 6f7452ddf1 Merge pull request #49 from tonistiigi/du-update
Fixes for du view and releasing
2017-07-03 16:09:11 +09:00
Tõnis Tiigi 1b29ba24ca Merge pull request #52 from tonistiigi/debug-handlers
buildd: enable debug handlers
2017-07-03 00:04:56 -07:00
Akihiro Suda de0f17bc41 Merge pull request #50 from tonistiigi/solver-separate-ops
solver: move ops to separate files
2017-07-03 16:02:40 +09:00
Tonis Tiigi 159044aa05 buildd: enable debug handlers
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-02 23:54:17 -07:00
Tonis Tiigi daefcdc9f7 solver: move ops to separate files
Preparation for making these unit testable.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-02 21:26:57 -07:00
Akihiro Suda a7c6f8165d Merge pull request #48 from tonistiigi/fix-flicker
progress: better protection against flickering
2017-07-03 12:57:58 +09:00
Tonis Tiigi 1f5addddac vendor: update containerd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-01 08:37:36 -07:00
Tonis Tiigi 246ce5e037 cache: fix reference releasing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-01 08:37:30 -07:00
Tonis Tiigi 6d1400a507 cache: fix reclaimable data view
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-30 22:24:32 -07:00
Tonis Tiigi 8067ce372e progress: better protection against flickering
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-30 11:36:59 -07:00
Akihiro Suda f6962a4a0c Merge pull request #44 from tonistiigi/progress-replays
Add progress replay for already completed active vertexes
2017-06-30 15:46:31 +09:00
Tõnis Tiigi d3767f2f9d Merge pull request #46 from AkihiroSuda/dockerignore
.gitignore and .dockerignore: add .buildstate
2017-06-29 23:35:51 -07:00
Akihiro Suda e461ae6bb8 .gitignore and .dockerignore: add .buildstate
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-30 06:24:19 +00:00
Tonis Tiigi f9bd9b5cb3 solver: fix vertex info becoming lost on progress replay
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-29 22:42:00 -07:00
Tonis Tiigi 65c2f8ef4c solver: cache vertex progress for replays
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-29 22:42:00 -07:00
Akihiro Suda 878a0a74e2 Merge pull request #43 from tonistiigi/better-errors
Better errors messages and canceling
2017-06-30 14:36:25 +09:00
Tonis Tiigi 3b388fbefc progress: fix closing progress writers on cancel
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-29 20:41:53 -07:00
Tonis Tiigi d918b28961 progress: show logs for a failed vertex
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-29 16:22:37 -07:00
Tonis Tiigi 2df68a5706 solver: add error reporting and canceling support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-29 15:31:08 -07:00
Tõnis Tiigi 8a5b6c8118 Merge pull request #42 from tonistiigi/vertex-sharing
solver: add vertex sharing on concurrent builds
2017-06-29 11:04:45 -07:00
Tonis Tiigi ec5c60283e solver: add vertex sharing on concurrent builds
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-28 21:52:05 -07:00
Tõnis Tiigi 359ef47d52 Merge pull request #40 from tonistiigi/llb-update
llb: add more features to client package
2017-06-27 09:09:42 -07:00
Tonis Tiigi 10ab37dddb llb: mark the functions that allow formatting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-26 11:51:27 -07:00
Tonis Tiigi 7867a504dd example: parallel git pulls in buildkit example
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-26 11:03:19 -07:00