Commit Graph

8778 Commits

Author SHA1 Message Date
Yanqiang Miao
4a8060f08b Add document about registry configuration
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2018-03-08 11:02:57 +08:00
Kunal Kushwaha
224ecf0d71 Adds note about applying license header
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-03-08 10:47:38 +09:00
Abhinandan Prativadi
1f28f8d2fe
Merge pull request #650 from Random-Liu/fix-resolver
Handles 401 in resolver.
2018-03-07 10:59:43 -08:00
Michael Crosby
856ea51c8b
Merge pull request #2182 from AkihiroSuda/shimtest
linux: fix runtime-root propagation
2018-03-07 11:36:14 -05:00
Michael Crosby
77a5804f6a
Merge pull request #2178 from kunalkushwaha/file-header-ci-check
CI check for file-header added
2018-03-07 10:29:26 -05:00
Lantao Liu
5b3895932f
Merge pull request #648 from Random-Liu/fix-context
Fix cleanup context.
2018-03-07 00:03:59 -08:00
Lantao Liu
40c8372f0e Handles 401 in resolver.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-07 07:35:02 +00:00
Lantao Liu
f01c6d73a6 Fix cleanup context.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-07 07:05:27 +00:00
Stephen Day
5368984859
Merge pull request #2160 from ijc/ctr-run-unpack
ctr: unpack the image on run if necessary
2018-03-06 19:29:43 -08:00
Mike Brown
c3574e4493 makes copyright year optional
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-06 15:55:32 -06:00
Michael Crosby
db1630d0bb
Merge pull request #2190 from stevvooe/vendor-update-btrfs
vendor: update btrfs dependency
2018-03-06 16:32:48 -05:00
Stephen J Day
23751c9ced
vendor: update btrfs dependency
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-03-06 13:16:56 -08:00
Phil Estes
d086e56255
Merge pull request #2187 from crosbymichael/sigpipe
Handle SIGPIPE in shims
2018-03-06 13:31:39 -05:00
Michael Crosby
1eabab31aa Handle SIGPIPE in shims
ref: https://github.com/moby/moby/issues/36464

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-03-06 12:54:16 -05:00
Akihiro Suda
5cc915c26c overlay: add Supported() checker
This function is not called during plugin initialization (#2140),
but should be useful for downstream projects that uses overlayfs
snapshotter as a Go library.

Benchmark result on Ubuntu 17.10, GCE n1-standard-4:

BenchmarkOverlaySupportedOnExt4-4                    100          20490598 ns/op
BenchmarkOverlayUnsupportedOnFType0XFS-4           30000             39316 ns/op
BenchmarkOverlaySupportedOnFType1XFS-4               100          19287083 ns/op
BenchmarkOverlayUnsupportedOnFAT-4                   100          14217772 ns/op

i.e. the overhead is typically about 20 msec on this machine.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-03-06 16:53:21 +09:00
Kunal Kushwaha
f040e6ab59 CI check for file-header added
file-header check using github.com/kunalkushwaha/ltag

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-03-06 15:57:08 +09:00
Abhinandan Prativadi
ffda916fd0
Merge pull request #641 from Random-Liu/fix-ansible-doc
Require ansible 2.4+.
2018-03-05 21:39:22 -08:00
Lantao Liu
d3b112a989
Merge pull request #639 from Random-Liu/remove-standalone-mode
Remove standalone mode
2018-03-05 17:23:06 -08:00
Lantao Liu
640e7ac2b0 Update ansible setup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-06 00:05:02 +00:00
Lantao Liu
936dcceb5a Update GCE cluster bootstrapping and e2e test
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-06 00:05:02 +00:00
Lantao Liu
f24be111ab
Merge pull request #643 from Random-Liu/events-panic
Fix a potential panic.
2018-03-05 15:13:23 -08:00
Lantao Liu
9a097c9d34
Merge pull request #640 from mikebrow/crictl-load-description
documents load image
2018-03-05 14:36:48 -08:00
Lantao Liu
ceb540d823 Fix potential panic.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-05 22:09:58 +00:00
Mike Brown
ffea684c57 documents load image
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-05 15:57:44 -06:00
Lantao Liu
760248df77 Require ansible 2.4+.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-05 21:51:59 +00:00
Lantao Liu
05bcc3e88c Update makefile and all integration test
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-05 21:45:20 +00:00
Lantao Liu
d1e9960180 Remove standalone mode
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-05 21:45:20 +00:00
Derek McGowan
2b6b99b4a1
Merge pull request #2184 from kunalkushwaha/oci-error
better image config parse error.
2018-03-05 10:29:02 -08:00
Kenfe-Mickaël Laventure
a1b511fb80
Merge pull request #2177 from crosbymichael/file-io
Refactor shim to support file logging
2018-03-05 07:52:45 -08:00
Phil Estes
142ecddd0d
Merge pull request #2180 from AkihiroSuda/fix-ctr-c-create-unix
ctr: add UNIX-specific flags to `ctr c create`
2018-03-05 08:53:45 -05:00
Akihiro Suda
05513284e7 ctr: add UNIX-specific flags to ctr c create
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-03-05 15:26:03 +09:00
Akihiro Suda
125fdeff8a linux: fix runtime-root propagation
faf2781dd2 fixed the propagation for
ShimRemote but ShimLocal was not fixed in the commit.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-03-05 15:01:22 +09:00
Kunal Kushwaha
6ed4e9e106 better image config parse error.
compatible oci runtime version printed with parse error

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-03-05 14:04:08 +09:00
Kunal Kushwaha
3491b9ea4a Copyright header added
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-03-05 10:07:58 +09:00
Lantao Liu
64b098a293
Merge pull request #636 from Random-Liu/fix-default-config
Only overwrite when legacy options are specified.
2018-03-02 17:51:38 -08:00
Lantao Liu
f8fa536ff7
Merge pull request #635 from mikebrow/travis-golang-fix
fix travis golang issue
2018-03-02 17:51:25 -08:00
Lantao Liu
ef5b9d1e16 Only overwrite when legacy options are specified.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-03 01:03:34 +00:00
Mike Brown
8364abc0f3 fix travis golang issue
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-02 18:50:26 -06:00
Lantao Liu
ba6503870f
Merge pull request #637 from mikebrow/missing-tag
adds allways to ensure there is a version even if no tag
2018-03-02 16:16:03 -08:00
Mike Brown
d371d403b4 adds allways to ensure there is a version even if no tag
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-02 17:15:42 -06:00
Lantao Liu
3d382e2f5d
Merge pull request #632 from jcvenegas/tests-find-containerd-path
tests: Use path found to containerd.
2018-03-02 00:06:47 -08:00
Jose Carlos Venegas Munoz
ec05357463 tests: Use path found to containerd.
After check if containerd is intalled the command executed using sudo,
/usr/local/bin may not been in sudo secure_path, save the path where
containerd was installed and use it.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-03-01 21:50:49 -06:00
Phil Estes
e6a3dd3550
Merge pull request #2171 from ruediger-maass/resolver401
Adds handling of 401 for POST /v2/token without authentication
2018-03-01 15:31:30 -05:00
Derek McGowan
fd6335f74d
Merge pull request #2163 from AkihiroSuda/userns-mknod
archive: fix logic for skipping mknod when running in userns
2018-03-01 11:37:34 -08:00
Michael Crosby
c553882adc Refactor shim to support file logging
This changes the copyIO in the shim to support logging to files from
client requests in addition to fifos.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-03-01 14:33:23 -05:00
Lantao Liu
e186ef835d
Merge pull request #631 from Random-Liu/expose-cri-version
Expose cri version for CRI plugin.
2018-02-28 19:40:39 -08:00
Lantao Liu
36b4c05354 Report containerd version instead of cri-containerd version.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-01 01:26:37 +00:00
Lantao Liu
e4dd7c2e58 Expose cri version for CRI plugin.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-28 23:39:58 +00:00
Lantao Liu
30b840d620
Merge pull request #629 from mikebrow/golang-version-change
moving to go1.10 only
2018-02-28 13:21:28 -08:00
Phil Estes
949ddbabb5
Merge pull request #2168 from estesp/update-go-vers
Update recommended versions to Go 1.10
2018-02-28 13:17:58 -05:00