Commit Graph

127 Commits (038973d42331d24718aa40e354d12f89afbcd527)

Author SHA1 Message Date
Derek McGowan edd603e4cd Update containerd vendor
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-13 11:03:48 -08:00
Tibor Vass ad8b35e3d4 Migrate from vndr to go mod
go get -u github.com/tiborvass/gomod
  GO111MODULE=on gomod init
  GO111MODULE=on go mod tidy
  GO111MODULE=on go mod vendor

Signed-off-by: Tibor Vass <tibor@docker.com>
2019-01-31 22:44:47 +00:00
Tibor Vass 601817163d Update docker/cli dependency
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-01-26 22:10:04 +00:00
Akihiro Suda 6e7617e889 support local cache exporter and importer
Export:

  $ buildctl build ... --export-cache type=local,store=/path/to/output-dir

Import:

  $ buildctl build ... --import-cache type=local,store=/path/to/input-dir

Impact on CLI:
* Old (deprecated but still effective): `--export-cache localhost:5000/myrepo:buildcache --export-cache-opt mode=max`
* New: `--export-cache type=registry,ref=localhost:5000/myrepo:buildcache,mode=max`

Impact on API:
* New fields are added to control.proto and gateway.proto. The daemon
internally translates old API calls to the new ones.
* While new API can be used for `registry` caches, the client continues
to use the legacy API for `registry` caches to ensure compatibility with
old daemons.
* To import `local` caches with a frontend, the frontend needs to support
a new frontend opt `cache-imports`.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-19 02:38:26 +09:00
Akihiro Suda 6ed72d683f update containerd to v1.2.1, runc to v1.0.0-rc6
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-12-26 19:48:01 +09:00
Akihiro Suda 048130d1d0 simplify rootless
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-16 14:05:58 +09:00
Tonis Tiigi fb9e2c1030 vendor: update containerd to v1.2.0-rc.1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-12 15:27:54 -07:00
Tonis Tiigi a8f4bf22d3 vendor: update fsutil to 2862f6bc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-11 17:02:38 -07:00
Ian Campbell 8b69292087 Bump github.com/tonistiigi/fsutil dependency to f567071bed24
7e391b0e78...f567071bed

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-10-03 11:46:35 +01:00
John Howard 2de2c04c8e Revendoring to move boltdb to bbolt
Signed-off-by: John Howard <jhoward@microsoft.com>
2018-09-18 11:18:08 -07:00
Michael Crosby 29eb67fa97 Update containerd to 1597270d0468ccebd29b78164c2e902514f426fd
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-09-11 14:22:22 -07:00
Tõnis Tiigi 1508ae0fc7
Merge pull request #608 from tonistiigi/ssh-forwarding
sshforward: implement ssh socket forwarding
2018-09-11 08:01:58 -07:00
Tonis Tiigi 1604b1b9ed vendor: add x/crypto
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-09-10 14:12:46 -07:00
Tonis Tiigi 7a22457717 vendor: update fsutil to 7e391b0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-09-07 11:48:29 -07:00
Tonis Tiigi cf614adb7f vendor: add toml parser
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-08-30 16:12:01 -07:00
Derek McGowan 279a144686 Update containerd vendor
Picks up platform changes

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-08-28 14:26:14 -07:00
Akihiro Suda 2fa4c37854 update containerd (binary: v1.1.3, library: Aug 23, 2018)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-08-23 16:21:55 +09:00
Tibor Vass 49906c6292
Merge pull request #576 from ijc/bump-gogo-googleapis
Bump github.com/gogo/googleapis to b23578765ee5
2018-08-21 13:06:00 -07:00
Derek McGowan 110c829d15 Update containerd v1.2 beta
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-08-17 13:12:02 -07:00
Ian Campbell 6398c26ec7 Bump github.com/gogo/googleapis to b23578765ee5
This is the next commit and merely adds a LICENSE file.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-08-17 14:22:52 +01:00
Akihiro Suda 56fa35725a vendor: update containerd
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-07-25 16:37:42 +09:00
Tonis Tiigi de50176daa vendor: update fsutil to b19464cd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-24 23:28:12 -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
Tonis Tiigi 5c3cfe5553 vendor: update fsutil to cb2ad947b
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-16 13:47:24 -07: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 4e76ea20f2 vendor: update containerd to b4163374
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-07-06 14:18:33 -07:00
Akihiro Suda 72327724c0 rootless: refactor libcontainer_specconv
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-07-04 19:27:54 +09:00
Tõnis Tiigi f3b743bd13
Merge pull request #467 from dmcgowan/export-oci-media-types
Support creating and pushing OCI types
2018-06-28 14:46:34 -07:00
Derek McGowan 618f34a1f9 Support creating and pushing OCI types
Adds image and oci exporter option "oci-mediatypes"
Ensures that the images created in the content store
have the correct type which matches the manifest.
Sets the correct media type on the descriptor in push from
reading the type specified in the manifest.
Removes use of distribution manifest packages.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-06-28 11:23:35 -07:00
Tonis Tiigi dcd7e594b5 vendor: update containerd to 08f7ee982
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-26 21:22:07 -07:00
Akihiro Suda 7690ff1d34 vendor runc ad0f5255060d36872be04de22f8731f38ef2d7b1
For https://github.com/opencontainers/runc/pull/1819

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-16 03:45:49 +09:00
Vincent Demeester 79241f25d5
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-06-11 15:52:17 +02:00
Tonis Tiigi 30461204da vendor: update fsutil to fix local source bug
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-10 09:22:59 -07:00
Tonis Tiigi 6ce604740f vendor: replace locker pkg for legal
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-08 11:00:37 -07:00
Tõnis Tiigi 7943598281
Merge pull request #439 from AkihiroSuda/vendor-containerd-20180606
update containerd library
2018-06-08 10:33:10 -07:00
Akihiro Suda 47a00b84fe update containerd library
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-08 21:44:17 +09:00
Tonis Tiigi 668eca4685 vendor: update fsutil
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-05 23:54:08 -07:00
Tõnis Tiigi ad20ed1fe3
Merge pull request #430 from tonistiigi/update-fsutil
vendor: update fsutil to 30b4fcc5
2018-06-04 23:59:35 -07:00
Tõnis Tiigi 43e758232a
Merge pull request #422 from thaJeztah/update_microsoft_vendors
Update containerd and dependencies
2018-06-04 10:37:46 -07:00
Sebastiaan van Stijn b5028a234b
Update containerd and dependencies
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-06-04 10:14:06 -07:00
Tonis Tiigi b590c0d970 vendor: update fsutil to 30b4fcc5
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 23:09:38 -07:00
Tonis Tiigi a4bc39542f vendor: add missing test dependencies
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 20:13:46 -07:00
Tonis Tiigi 76d15da0d5 dockerfile: update imports
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 20:10:18 -07:00
Tonis Tiigi 9dc5ea28e7 vendor: update moby
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 11:57:58 -07:00
Akihiro Suda adef0dedef oci-worker: experimental support for rootless mode
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-31 16:05:13 +09:00
Tonis Tiigi ff501ac064 vendor: update containerd to 7f800e0a
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-29 10:30:33 -07:00
Tõnis Tiigi 160231c665
Merge pull request #389 from tiborvass/fix-invalid-dockerignore
dockerfile: fix hanging when encountering invalid dockerignore pattern
2018-05-16 17:08:02 -07:00
Tibor Vass ae37b85b24 dockerfile: fix hanging when encountering invalid dockerignore pattern
This commit fixes the case when "!" is provided alone as a dockerignore
pattern resulting in buildkit hanging. An integration test is added to
guard the bug.

The bug was due to incorrect error propagation in the fsutil package.
Thus this commit vendors a newer, fixed version of fsutil.

Signed-off-by: Tibor Vass <tibor@docker.com>
2018-05-16 23:26:43 +00:00
Tonis Tiigi b4884bf54e vendor: update grpc-opentracing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-16 11:57:17 -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