Tonis Tiigi
d35d2c1c94
blobs: ensure lease is held on GetDiffPairs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:35:48 -07:00
Tonis Tiigi
c6d0a57d51
cache: correct parent releasing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:35:46 -07:00
Tonis Tiigi
3cedd2c0e5
cache: fix image share checker ref leak
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:34:53 -07:00
Tonis Tiigi
08194783e0
cache: update unit tests to new cache manager constructor
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:34:50 -07:00
Tonis Tiigi
c4f03056c9
hack: remove support for containerd 1.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:33:04 -07:00
Tonis Tiigi
bbc8b6dc6f
exporter: remove label based linking
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:33:03 -07:00
Tonis Tiigi
c005fb08eb
cache: better error management
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:33:02 -07:00
Tonis Tiigi
6be136db6e
cleanup unused code
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:33:01 -07:00
Tonis Tiigi
a9209caa93
clean up temporary leases on startup after crash
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:32:57 -07:00
Tonis Tiigi
7390a41a5b
cache: track views with a lease
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:32:55 -07:00
Tonis Tiigi
2d0f9d3cc0
add manifest/config to the lease
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:32:52 -07:00
Tonis Tiigi
688e2c2272
cache: update components to new lease based cache manager
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:32:04 -07:00
Tonis Tiigi
b9ec2bc4d4
cache: update manager to use leases instead of root labels
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:31:51 -07:00
Tõnis Tiigi
df3f7e0c31
Merge pull request #1205 from AkihiroSuda/containerd-20191014
...
vendor containerd
2019-10-16 09:57:25 -07:00
Tõnis Tiigi
12b7635e7c
Merge pull request #1201 from AkihiroSuda/kube-yamls
...
massive doc updates (Kubernetes YAMLs)
2019-10-16 09:54:32 -07:00
Akihiro Suda
1bde5d99d5
massive doc updates
...
* examples/kubernetes: newly added
* docs/rootless.md: cleaned up for better readability
* examples/README.md: split out from the main README.md
* examples/build-using-dockerfile/README.md: split out from the main README.md
* README.md: add TOC using https://github.com/thlorenz/doctoc
* README.md: add mTLS configuration (relates to #1074 )
* README.md: add more adoptions
* README.md: add inline cache (fix #976 )
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-16 18:55:27 +09:00
Akihiro Suda
c6641fb6d0
vendor containerd
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-16 18:28:19 +09:00
Tõnis Tiigi
170ab6fad1
Merge pull request #1202 from AkihiroSuda/disable-tls-for-unix
...
buildkitd: disable TLS for UNIX sockets
2019-10-14 10:34:28 -07:00
Tõnis Tiigi
9c60d5be3e
Merge pull request #1203 from AkihiroSuda/remove-legacy-dockerfile
...
hack: remove legacy Dockerfile
2019-10-14 10:31:29 -07:00
Akihiro Suda
e2ea141383
hack: remove legacy Dockerfile
...
Fix #1022
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-13 00:10:27 +09:00
Akihiro Suda
c239629fd9
buildkitd: disable TLS for UNIX sockets
...
Fix #1199
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-12 23:05:01 +09:00
Akihiro Suda
04d84a9c0c
Merge pull request #1195 from tiborvass/fix-1193
...
executor/oci: fix panic when resolv.conf does not exist
2019-10-11 15:24:31 +09:00
Tibor Vass
1571380b2d
executor/oci: fix panic when resolv.conf does not exist
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-10-10 23:24:17 +00:00
Tibor Vass
0696bf3885
executor/oci: add TestResolvConfNotExist
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-10-10 23:24:17 +00:00
Tõnis Tiigi
f7042823e3
Merge pull request #1182 from dmcgowan/update-containerd-1.3
...
Update to containerd 1.3.0
2019-10-02 08:28:21 -07:00
Derek McGowan
46e7bc82d7
Update test dockerfiles for containerd
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-10-01 16:52:59 -07:00
Derek McGowan
d5108d038d
Update to containerd 1.3.0
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-09-30 14:45:18 -07:00
Akihiro Suda
10cef0c6e1
Merge pull request #1177 from tonistiigi/unbound-var-fix
...
hack: fix unbound ci vars
2019-09-21 10:57:14 +09:00
Akihiro Suda
c21555d19b
Merge pull request #1175 from tonistiigi/containerd-daemon-update
...
vendor: update containerd to v1.3.0-rc.2
2019-09-21 10:56:43 +09:00
Tonis Tiigi
211e20a587
vendor: update containerd to v1.3.0-rc.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-20 14:59:57 -07:00
Tonis Tiigi
ce9dfec05f
hack: update containerd daemon
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-20 14:59:54 -07:00
Tonis Tiigi
91198c3188
hack: fix unbound ci vars
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-20 14:53:28 -07:00
Tonis Tiigi
5756b62927
vendor: update containerd to v1.3.0-rc.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-19 15:52:26 -07:00
Akihiro Suda
1bf81905fe
Merge pull request #1171 from ibuildthecloud/patch-1
...
Update Rio status
2019-09-15 17:27:28 +09:00
Darren Shepherd
c73d942012
Update Rio status
...
Signed-off-by: Darren Shepherd <darren@rancher.com>
2019-09-14 16:50:23 -07:00
Akihiro Suda
ef9ed22495
Merge pull request #1168 from tonistiigi/update-gorunc
...
vendor: update go-runc to e029b79d
2019-09-15 02:56:42 +09:00
Tonis Tiigi
0ef435687b
runcexecutor: update go-runc call after contract change
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-11 10:57:51 -07:00
Tonis Tiigi
e3e13ad204
vendor: update go-runc to e029b79d
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-11 10:57:14 -07:00
Akihiro Suda
9c56f1c50a
Merge pull request #1166 from tonistiigi/incoming-update
...
solver: fix pipe signaling on incoming updates
2019-09-11 14:21:05 +09:00
Tonis Tiigi
eede0facb7
solver: fix pipe signaling on incoming updates
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-10 16:59:56 -07:00
Akihiro Suda
f6fe51ed9a
Merge pull request #1161 from tonistiigi/update-containerd
...
vendor: update containerd to v1.3.0-rc.0
2019-09-06 14:18:12 +09:00
Akihiro Suda
9be0a7d8d1
Merge pull request #1160 from tonistiigi/cni-rootless
...
dockerfile: skip cni tests on rootless
2019-09-06 14:17:37 +09:00
Akihiro Suda
d7900f9a78
Merge pull request #1162 from tonistiigi/dockerfile-syntax-update
...
hack: update to dockerfile-1.1
2019-09-06 14:17:15 +09:00
Tonis Tiigi
d313ab6a58
hack: update to dockerfile-1.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-05 17:14:18 -07:00
Tonis Tiigi
eba10d51b9
vendor: update containerd to v1.3.0-rc.0
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-05 17:13:39 -07:00
Tibor Vass
7886d6b696
Merge pull request #1159 from erydo/fix-etag
...
http: Handle missing but unambiguous ETags in response
2019-09-05 16:52:53 -07:00
Tonis Tiigi
fef0996045
dockerfile: skip cni tests on rootless
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-09-05 16:49:48 -07:00
Tõnis Tiigi
0639e6fbc0
Merge pull request #1141 from Metaswitch/run-network-mode
...
Implement support for RUN --network=none|default|host
2019-09-05 16:38:23 -07:00
Robert Estelle
6ff0868457
http: Response refers to requested ETag on 304, not 200
...
Otherwise a 200 response without an ETag could be incorrectly associated
to previous content in the following scenario:
* The remote server had in the past responded with an ETag for this
resource, which was cached.
- (Otherwise, onlyETag would be empty)
* That was the only ETag cached for this resource.
- (Otherwise, onlyETag would be empty)
* The remote server then stopped supporting ETag/If-None-Match for this
resource at all.
- (Otherwise, it would respond with a 304 or a 200+ETag)
Signed-off-by: Robert Estelle <robertestelle@gmail.com>
2019-09-04 20:25:53 -04:00
Robert Estelle
c63c6f9683
http: Handle missing but unambiguous ETags in response
...
If a single ETag is requested in `If-None-Match`, some servers do not
include that (unambiguous) ETag header in the response.
For detailed description, see:
https://github.com/moby/buildkit/issues/905#issuecomment-528058142
Signed-off-by: Robert Estelle <robertestelle@gmail.com>
2019-09-04 18:10:56 -04:00