Commit Graph

737 Commits (69097924af7208207e2ec96207416f14a0f80130)

Author SHA1 Message Date
Tonis Tiigi 69097924af cache: temporarily remove updateLastUsed
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi b6c782d53e control: switch to use solver-next
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi 355126e080 cacheimport: implementation using v1 package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi 7b5fc36f5f cacheimport: add spec and utils package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi 0e7f60ca96 llbsolver: implementation for solver-next
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi 30538e3da3 llbsolver: add new ops implementations
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tõnis Tiigi be6da00944
Merge pull request #381 from ijc/windows-tcp-dialer
client: support non-npipe server addresses on Windows
2018-05-14 09:09:23 -07:00
Ian Campbell f57186d186 client: support non-npipe server addresses on Windows
This makes `tcp://w.x.y.z:port` work from Windows based clients (perhaps
talking to a remote Linux based buildkitd or one running in a container with
Docker for Windows and TCP port forwarding).

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-05-14 15:15:08 +01:00
Tõnis Tiigi 896e65bd09
Merge pull request #377 from AkihiroSuda/containerd-20180511
update containerd (binary: v1.1.0, library: May 11, 2018)
2018-05-11 11:56:44 -07:00
Akihiro Suda 72c08b5cb9 update containerd (binary: v1.1.0, library: May 11, 2018)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-11 15:46:15 +09:00
Akihiro Suda 832d054126
Merge pull request #375 from tonistiigi/cache-gc
cache: avoid reloading snapshots in gc queue
2018-05-11 12:11:20 +09:00
Tõnis Tiigi cb0e74cd8e
Merge pull request #367 from AkihiroSuda/test-containerd-11
integration: add containerd v1.1
2018-05-10 16:09:45 -07:00
Tonis Tiigi c0442a1c0d cache: avoid reloading snapshots in gc queue
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-10 15:51:36 -07:00
Akihiro Suda 062c2e8432 integration: add containerd v1.1
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-10 19:10:16 +09:00
Akihiro Suda 92686a071c
Merge pull request #374 from tonistiigi/solver-cleanup
solver: event dispatcher update and public api cleanup
2018-05-10 11:05:08 +09:00
Tonis Tiigi c56277ac15 solver: fix public api
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-09 14:34:18 -07:00
Tonis Tiigi 238e15b29e solver: small cleanup on function order
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-09 14:34:10 -07:00
Tonis Tiigi e58870889f solver: make event dispatching more predictable
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-09 14:34:06 -07:00
Akihiro Suda b6fee5e09d
Merge pull request #370 from tonistiigi/export-modes
solver: support cache export options
2018-05-09 16:17:50 +09:00
Tonis Tiigi bdf632c74a solver: add godoc to cache export fields
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-08 22:33:43 -07:00
Tonis Tiigi 500f2a357d solver: add test for minimal cache exporter mode
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-08 21:54:31 -07:00
Tonis Tiigi 5ef868cce3 solver: support export mode and override
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-08 21:54:31 -07:00
Tonis Tiigi d338bac48d solver: update exporter variable names
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-08 21:54:30 -07:00
Akihiro Suda 579e79070a
Merge pull request #369 from tonistiigi/merged-key-fix
solver: fix flaky merged keys test
2018-05-09 11:14:18 +09:00
Tonis Tiigi 8383dc5572 solver: fix flaky merged keys test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-08 13:46:45 -07:00
Tõnis Tiigi 8dcebc1dd2
Merge pull request #368 from AkihiroSuda/follow-up-366
exporter/containerimage: fix handling empty option values
2018-05-08 10:15:52 -07:00
Akihiro Suda 2b9ee222d7 exporter/containerimage: fix handling empty option values
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-08 21:45:38 +09:00
Tõnis Tiigi 01db6e0525
Merge pull request #366 from AkihiroSuda/containerimage-parsebool
exporter/containerimage: error on malformed boolean option
2018-05-07 23:09:25 -07:00
Akihiro Suda c2403aab35 exporter/containerimage: error on malformed boolean option
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-08 14:54:16 +09:00
Akihiro Suda 587edf5a0a
Merge pull request #365 from tonistiigi/content-writer-race
containerd: avoid contentstore race
2018-05-08 14:50:24 +09:00
Akihiro Suda b83cd81f12
Merge pull request #361 from tonistiigi/solve-response
solver: allow exporters to set data to solve results
2018-05-08 13:41:55 +09:00
Tonis Tiigi b80f45955a solver: allow exporters to set data to solve results
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-07 20:52:11 -07:00
Tonis Tiigi 138d2d5a3d containerd: avoid contentstore race
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-07 13:14:09 -07:00
Akihiro Suda fabec29578
Merge pull request #363 from tonistiigi/reproducible-dates
Reproducible dates in image exporter
2018-05-07 07:18:59 +02:00
Tonis Tiigi d51a921ab4 dockerfile: add test making sure cache generates same id
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-04 15:51:26 -07:00
Tonis Tiigi b8b55a8c22 image: export reproducible timestamps
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-04 15:51:19 -07:00
Vincent Demeester 330d6b73de
Merge pull request #362 from tonistiigi/labels
dockerfile: add test for labels
2018-05-04 09:52:17 +02:00
Tonis Tiigi f9d1e4c32c dockerfile: add test for labels
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-03 16:24:26 -07:00
Tõnis Tiigi cd0e7e8fd6
Merge pull request #355 from tonistiigi/mounts-update
snapshot: update mounts to mountable interface
2018-05-01 17:56:46 -07:00
Akihiro Suda e671c79369
Merge pull request #358 from tonistiigi/snapshotter-race
snapshotter: avoid snapshot removal race
2018-05-01 13:08:02 +09:00
Akihiro Suda 0e42bcebe6
Merge pull request #357 from tonistiigi/unlock-bug
cache: fix refs unlocking bug
2018-05-01 13:00:10 +09:00
Akihiro Suda 752c9d6140
Merge pull request #359 from tonistiigi/remove-context
Remove net/context
2018-05-01 12:58:31 +09:00
Tonis Tiigi e24e194078 remove net/context references
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-04-30 18:10:54 -07:00
Tonis Tiigi 8b7e611c96 vendor: update net to go1.10
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-04-30 18:05:55 -07:00
Tõnis Tiigi e86ef986d4
Merge pull request #356 from ijc/update-go-digest
Bump to latest go-digest.
2018-04-30 15:54:57 -07:00
Tonis Tiigi d7f8a4e1a4 snapshotter: avoid snapshot removal race
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-04-30 15:46:01 -07:00
Tonis Tiigi a7e72f85e9 cache: fix refs unlocking bug
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-04-30 15:42:03 -07:00
Ian Campbell 2d04aed1d3 Bump to latest go-digest.
This renames the license file (so automated tooling can find it, which I care
about) and also pulls in some documentation and comment changes, plus some
functional changes:

PR#33 -- future-proof the algorithm field.
PR#34 -- disallow upper case in hex portion.

No changes appear to be required to buildkit code.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-04-30 21:49:17 +01:00
Akihiro Suda 2af19a8847
Merge pull request #352 from tonistiigi/case-insensitive-tests
dockerfile: add tests for case insensitive targets
2018-04-28 11:17:44 +09:00
Tonis Tiigi 566e28c174 snapshot: update mounts to mountable interface
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-04-27 17:58:24 -07:00