Yuichiro Kaneko
ee15340993
Add a description about metaArgs return value
...
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
2018-07-18 22:32:15 +09:00
Akihiro Suda
198465299c
Merge pull request #512 from tonistiigi/followpaths
...
local: add followpaths to the cache key
2018-07-18 11:20:58 +09:00
Akihiro Suda
cfdaec6039
Merge pull request #514 from tonistiigi/include-platform-cache
...
imagemetaresolver: use platform in cache
2018-07-18 11:20:00 +09:00
Tõnis Tiigi
f89a5394d8
Merge pull request #513 from yui-knk/useProcessWordWithMap
...
Use `ProcessWordWithMap` in simple cases
2018-07-17 18:38:16 -07:00
Tonis Tiigi
c9df92f4c5
imagemetaresolver: use platform in cache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-17 18:36:32 -07:00
Yuichiro Kaneko
c9038a2f5d
Use `ProcessWordWithMap` in simple cases
...
In the case when the second argument of `toEnvList` is `nil`,
we can use `ProcessWordWithMap` and avoid string contatination
and string split.
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
2018-07-18 08:54:18 +09:00
Tonis Tiigi
132d08a1cc
local: add followpaths to the cache key
...
FollowPaths is a special case of IncludePatterns and
should behave same way.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-17 15:38:50 -07:00
Tibor Vass
628681f8e4
Merge pull request #511 from tonistiigi/containerd-vendor
...
vendor: update containerd to fb1084d9
2018-07-17 11:46:48 -07:00
Tonis Tiigi
fde47cc113
buildkitd: seed math rand
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-17 11:22:51 -07:00
Tonis Tiigi
8331b9b2c6
vendor: update containerd to fb1084d9
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-17 11:22:44 -07:00
Akihiro Suda
56e2ea083a
Merge pull request #510 from tonistiigi/win-differ-support
...
diff: implement windows layer support for linux
2018-07-17 11:29:54 +09:00
Tonis Tiigi
bc765861be
diff: implement windows layer support for linux
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 16:33:21 -07:00
Tõnis Tiigi
847422b1a8
Merge pull request #508 from tonistiigi/containerd-platforms
...
buildkitd: allow custom worker platforms for containerd
2018-07-16 16:00:18 -07:00
Tõnis Tiigi
248920d3ba
Merge pull request #509 from tonistiigi/llb-source-platform
...
llb: don't fill platform on static sources
2018-07-16 16:00:03 -07:00
Tõnis Tiigi
64511e0ebf
Merge pull request #505 from yui-knk/use_string_map
...
Add `ProcessWordWithMap` to `Lex`
2018-07-16 15:36:34 -07:00
Tonis Tiigi
1456a3f165
llb: don't fill platform on static sources
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 15:27:03 -07:00
Tõnis Tiigi
0ed17949eb
Merge pull request #507 from tonistiigi/config-platform
...
image: fix platform passing on config resolve
2018-07-16 14:24:44 -07:00
Tõnis Tiigi
e32d96e4a6
Merge pull request #506 from tonistiigi/update-fsutil
...
vendor: update fsutil to cb2ad947b
2018-07-16 14:24:24 -07:00
Tonis Tiigi
d86efeb63a
buildkitd: allow custom worker platforms for containerd
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 13:54:59 -07:00
Tonis Tiigi
b3572c6648
image: fix platform passing on config resolve
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 13:51:58 -07:00
Tonis Tiigi
5c3cfe5553
vendor: update fsutil to cb2ad947b
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 13:47:24 -07:00
Yuichiro Kaneko
8715fbf6bf
Add string map version ProcessWord to Lex
...
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
2018-07-16 17:49:28 +09:00
Yuichiro Kaneko
6583105db9
Use strings map instead of slice of string in `shellWord`
...
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
2018-07-16 17:46:28 +09:00
Akihiro Suda
98f1604134
Merge pull request #496 from tonistiigi/caps2
...
gateway: update client and allow map return
2018-07-13 14:50:55 +09:00
Tonis Tiigi
303b5da713
llbsolver: use result type with multi ref support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:52:23 -07:00
Tonis Tiigi
c3a29cce8b
gateway: implementation for return
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:51:44 -07:00
Tonis Tiigi
95d944cc31
gateway: use return in grpcclient
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:51:44 -07:00
Tonis Tiigi
01b7a29e86
gateway: return result from solve
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:51:44 -07:00
Tonis Tiigi
9684362cb0
frontend: move forwarder under gateway
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:50:19 -07:00
Tonis Tiigi
d9f1a1d99f
gateway: expose buildopts and result
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 17:50:19 -07:00
Tibor Vass
228ff2a9f1
Merge pull request #503 from tonistiigi/fix-env-passing
...
gateway: fix product env passing
2018-07-12 17:05:27 -07:00
Tonis Tiigi
30601fb7e5
gateway: fix product env passing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-12 16:04:58 -07:00
Akihiro Suda
afad718869
Merge pull request #501 from tonistiigi/fix-finalize
...
cache: avoid commit on finalize when possible
2018-07-12 12:51:46 +09:00
Akihiro Suda
88f8863df6
Merge pull request #500 from tonistiigi/prune-race-fix
...
control: fix data race on prune
2018-07-12 12:50:24 +09:00
Akihiro Suda
fc8a3c52bc
Merge pull request #502 from tonistiigi/update-units
...
vendor: update units to 6950e57a
2018-07-12 12:48:40 +09:00
Tonis Tiigi
0514acbff8
vendor: update units to 6950e57a
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-11 16:40:42 -07:00
Tonis Tiigi
bdf391a67d
dockerfile: test for snapshot leak
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-11 16:21:32 -07:00
Tonis Tiigi
57006ea333
cache: avoid commit on finalize when possible
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-11 16:21:27 -07:00
Tonis Tiigi
64cb4d44f6
control: fix data race on prune
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-11 10:54:13 -07:00
Akihiro Suda
c3846bd8c4
Merge pull request #498 from tonistiigi/race-fix
...
frontend: fix two data races
2018-07-11 12:34:53 +09:00
Tonis Tiigi
ddf3f3e59c
frontend: fix two data races
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-10 19:31:33 -07:00
Tõnis Tiigi
aee2723382
Merge pull request #480 from ijc/less-chatty-non-console-progress
...
Reduce verbosity of non-console solve status.
2018-07-10 08:25:12 -07:00
Ian Campbell
dbd3d86a35
Reduce verbosity of non-console solve status.
...
Only report progress at most every 5s or 5% completion, which ever comes first.
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-07-10 16:06:31 +01:00
Tõnis Tiigi
f4694ee01b
Merge pull request #488 from yui-knk/stop_create_ArgCommand
...
Use simple `keyValuePair` to `dispatchOpt.metaArgs` and `dispatchState.buildArgs`
2018-07-10 08:02:21 -07:00
Tõnis Tiigi
f54f3bc57f
Merge pull request #497 from ijc/test-remove-iidfile-earlier
...
hack/test: remove `$iidfile` earlier
2018-07-10 08:00:30 -07:00
Ian Campbell
0cf39e59ec
hack/test: remove `$iidfile` earlier
...
We don't need it once we have assigned to `$iid`, so remove it otherwise it can
be leaked if any of the `docker run` lines fails (since we immediately exit due
to `set -e`).
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-07-10 13:59:39 +01:00
Akihiro Suda
dca7bdcd4c
Merge pull request #495 from tonistiigi/unique-local
...
llb: set unique ID to local sources without session
2018-07-10 20:34:04 +09:00
Yuichiro Kaneko
c641b43e4a
Use simple `KeyValuePairOptional` to `dispatchOpt.metaArgs` and `dispatchState.buildArgs`
...
`KeyValuePairOptional` is enough in this case. We can avoid create `ArgCommand` out of Parser
by replacing them with `KeyValuePairOptional`.
Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>
2018-07-10 19:24:43 +09:00
Tibor Vass
79a246dd30
Merge pull request #466 from tonistiigi/caps
...
implement versioning for gateway frontend
2018-07-09 16:47:15 -07:00
Tonis Tiigi
d5c9d39128
apicaps: set exportedproduct from binary
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-09 16:32:39 -07:00