Commit Graph

306 Commits (451be0e5047afa146a047676f13296d4a5ed6b2d)

Author SHA1 Message Date
Tonis Tiigi b4f8ac0cba remove unused code
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-11 00:11:45 -07:00
Akihiro Suda 10fe74cb2d Merge pull request #65 from tonistiigi/image-exporter
exporter: add basic image exporter
2017-07-11 15:47:51 +09:00
Tonis Tiigi 29d912fddf exporter: fix exporter progress reporting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:21 -07:00
Tonis Tiigi 45bfdd5e42 exporter: add image exporter
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:14 -07:00
Tonis Tiigi d706cd52c4 vendor: update containerd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 23:29:09 -07:00
Akihiro Suda 4c366ebfb7 Merge pull request #63 from tonistiigi/git-source
Add git source
2017-07-11 14:51:11 +09:00
Tonis Tiigi 0a68de4512 examples: add back older versions of buildkit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:33:34 -07:00
Tonis Tiigi bf4e8c1610 llb: update runoptions signature
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Tonis Tiigi 2be8499bdc llb: add scratch support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
Tonis Tiigi fa7ee2e2a8 source: add keepgitdir option for git source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-10 22:19:05 -07:00
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