Commit Graph

8778 Commits

Author SHA1 Message Date
Phil Estes
ab78270e03
Merge pull request #3456 from dzzg/patch-1
fix mis-spelling in client.go
2019-07-26 07:53:46 -04:00
dzzg
c27e48d666
fix mis-spelling in client.go
Signed-off-by: dzzg <zhengguang.zhu@daocloud.io>
2019-07-26 13:33:04 +08:00
Lantao Liu
d3cacff8e1 Move context cancel into defer.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-25 15:00:43 -07:00
Lantao Liu
74d2b6947c
Merge pull request #1152 from jterry75/deadline_exceeded
Return gRPC codes.DeadlineExceeded for all timeout operations
2019-07-25 14:58:29 -07:00
Derek McGowan
22f44c44d9
Add garbage collection doc
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-25 14:42:30 -07:00
Mike Brown
d2986eb5aa
Merge pull request #1187 from alculquicondor/feature/tcp
Add option to register on TCP server
2019-07-25 16:36:05 -05:00
Phil Estes
29930e9185
Merge pull request #3455 from dmcgowan/fix-default-import-compression
Add option to compress blobs on import
2019-07-25 16:45:11 -04:00
Derek McGowan
02826345cf
Add option to compress blobs on import
Change the default back to leave uncompressed and add
option to do the compression.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-25 12:05:38 -07:00
Phil Estes
7ff23438f6
Merge pull request #3452 from lumjjb/keybundles
Create CryptoConfig constructors to replace dcparameters
2019-07-25 14:57:59 -04:00
Lantao Liu
240e19d7ac
Merge pull request #1202 from Random-Liu/not-cache-image-handler
Do not cache image handler.
2019-07-25 11:57:33 -07:00
Michael Crosby
2190c0e5f7
Merge pull request #3450 from kevpar/windows-alloc-console
Allocate a conhost during Windows service startup
2019-07-25 14:55:22 -04:00
Phil Estes
15b59f9684
Merge pull request #3441 from YLonely/multiple-task-delete
Update ctr to support deleting multiple tasks at a time
2019-07-25 14:29:31 -04:00
Michael Crosby
41e172352c
Merge pull request #3444 from crosbymichael/state-timeout
Add timeout to task state calls
2019-07-25 12:55:11 -04:00
Michael Crosby
577872fda5
Merge pull request #3454 from fuweid/enrich-error-message
archive: return chtimes error with path information
2019-07-25 12:19:40 -04:00
Aldo Culquicondor
4b43303203 Add option to register on TCP server
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-25 09:42:49 -04:00
Wei Fu
9da7d30362 archive: return chtimes error with path information
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-07-25 16:33:19 +08:00
Lantao Liu
5fdb4b8eef
Merge pull request #1204 from Random-Liu/fix-ctr-readiness-check
Fix ctr readiness check in test.
2019-07-25 00:25:20 -07:00
Lantao Liu
0f313f977d
Merge pull request #1205 from Random-Liu/no-snat
Remove `noSnat`
2019-07-25 00:24:37 -07:00
Lantao Liu
deb8e82502
Merge pull request #1206 from Random-Liu/add-font-art
Add containerd font art.
2019-07-25 00:24:18 -07:00
Brandon Lum
3d1fa69694 Implemented constructors for both encryption and decryption
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-07-24 22:19:39 -04:00
BoWen Yan
392668d007 ctr:Support deleting multiple tasks at a time
Signed-off-by: BoWen Yan <loneybw@gmail.com>
2019-07-25 09:59:15 +08:00
Brandon Lum
05a2b63e84 Create CryptoConfig constructors in place of dcparameters
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-07-24 21:51:47 -04:00
Lantao Liu
0c1ff73894 Add containerd font art.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-24 18:06:14 -07:00
Kevin Parsons
1c7eab1979 Allocate a conhost during Windows service startup
Creating a console for containerd causes it to be inherited by any child
processes, which gives us performance and reliability improvements. See
comment in code for more information.

Another option considered here would be to invoke each child process
with the DETACHED_PROCESS flag. This would save us the containerd
console allocation. The difficulty of this approach would be ensuring
that all process invocation points have had this flag added, and that
any future invocations also use the flag.

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-24 17:50:24 -07:00
Lantao Liu
c6a3662874 Remove noSnat
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-24 17:35:03 -07:00
Lantao Liu
e83fe56075 Fix ctr readiness check in test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-24 15:38:55 -07:00
Lantao Liu
fe0cb22026 Do not cache image handler.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-24 15:38:18 -07:00
Lantao Liu
64bf4bebf3
Merge pull request #1188 from alculquicondor/fix/doc
Update docs to v2 config
2019-07-24 14:25:42 -07:00
Lantao Liu
8faf3ea063
Merge pull request #1203 from Random-Liu/update-containerd
Update containerd for config backward compatibility.
2019-07-24 13:40:12 -07:00
Phil Estes
fdab4f4789
Merge pull request #3446 from stefanberger/cleanup
Wrap creation of CryptoConfig in constructors
2019-07-24 14:46:13 -04:00
Aldo Culquicondor
e2550f6285 Update docs to v2 config
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 09:30:13 -04:00
Phil Estes
a4e2ea5c99
Merge pull request #3439 from crosbymichael/rm-windows
Remove windows v1 runtime
2019-07-24 08:47:04 -04:00
Phil Estes
6c912315db
Merge pull request #3445 from dmcgowan/fixup-releases
Update releases doc for 1.1 release
2019-07-24 08:45:42 -04:00
Lantao Liu
0344ac239b Update containerd for config backward compatibility.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-07-23 19:14:28 -07:00
Stefan Berger
364de4c35d Wrap creation of CryptoConfig in constructors
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-23 19:53:23 -04:00
Derek McGowan
51bc615338
Update releases doc for 1.1 release
Fix some wording and status of 1.1 release.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-23 14:09:50 -07:00
Michael Crosby
101d4b78eb Add timeout to task state calls
Fixes #3440

This also returns the task that times out or has an error on the state
call in an UNKNOWN status so that the user can manually kill and remove
the task.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-23 19:58:41 +00:00
Michael Crosby
e097ab8bb4 Disable windows integration tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-23 18:55:11 +00:00
Michael Crosby
f055bdb0aa Remove windows v1 runtime
Closes #3094

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-23 18:54:37 +00:00
Derek McGowan
f7761411b8
Merge pull request #3424 from crosbymichael/devices
Add linux device options and --devices flag to ctr
2019-07-22 16:39:02 -07:00
Phil Estes
49fdb9e1b4
Merge pull request #3430 from lumjjb/encgcfix
Made fixes and optimizations to encryption GC
2019-07-22 19:23:47 -04:00
Brandon Lum
d531e78499 Modified image_enc_test to use a different image from other tests
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-07-22 16:06:16 -04:00
Phil Estes
e14cc99e23
Merge pull request #3438 from darfux/test_check_manifest_platform_nil
test: Check manifest.Platform before dereferencing
2019-07-22 09:53:29 -04:00
Li Yuxuan
5e5ae23d80 test: Check manifest.Platform before dereferencing
If the registry returns a manifest without platform info, the
`manifest.Platform` will be `nil` and cause panic when dereferencing.

Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-07-22 20:47:40 +08:00
Derek McGowan
f58fda97ec
Merge pull request #3432 from crosbymichael/stress-size
Add new shims for checking binary sizes and concurrent exec
2019-07-19 15:38:25 -07:00
Michael Crosby
1945e26ac3 Add concurrent execs in stress tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-19 19:12:44 +00:00
Michael Crosby
ffa86b25f9 Add new shims for checking binary sizes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-19 17:49:11 +00:00
Michael Crosby
4005979c93
Merge pull request #3415 from dmcgowan/gc-flat-lease
Add flat GC label for leases
2019-07-19 11:01:50 -04:00
Brandon Lum
c118c45f89 Change image_enc_test so that it more reliably delete images
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 10:08:57 -04:00
Brandon Lum
c6d437fd70 Corrected lease implementation
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-07-18 18:17:20 -04:00