Tonis Tiigi
f617d38aaa
rename cacheimport to remotecache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
1f8be73034
update cacheimport variable names
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a7bc9b9fd2
cache: maintain creation time with remote cache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
439877f59c
solver-next: add design doc
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
cea5d60dfa
dockerfile: add cache import/export test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
644540e0f1
gateway: update gateway to cache import refs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
966d3f7b32
dockerfile: add cache-from support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
11ada4c27b
frontend: enable importref for frontends
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
3ca07f1467
api: allow multiple cache import refs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
4ee4ebcb13
cacheimport: fix result checking methods
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
75bc38c15b
client: add basic cache import test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a2072e6a47
git: fix cachemap bug on sha identifier
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
9c044db670
llbsolver: update pull for multiple cache keys
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
77c2793ebb
remove unused packages
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
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