Li Yuxuan
08483d18ad
v2: Close ttrpc connection when Delete()
...
This avoids potential socket leak when the connected v2 shim of runtime
serving multiple containers.
Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-08-06 20:35:59 +08:00
Justin Terry (VM)
4b5dfaee13
Completely remove Windows v2 in-tree shim
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-08-05 16:49:56 -07:00
Derek McGowan
2398421d50
Fix travis matrix
...
Move matrix components next to each other for clarity.
Explicitly add special matrix combinations.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-05 15:35:51 -07:00
Lantao Liu
a5940da62c
Remove ctr cri load
and update cri-tools to v1.15.0
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 15:22:36 -07:00
Derek McGowan
29e56c5625
Merge pull request #3489 from mxpv/faulty
...
Mark devices with invalid state as faulty
2019-08-05 14:47:02 -07:00
Phil Estes
24e3848050
Merge pull request #3272 from nitkon/patch-2
...
travis: Enable travis CI for ppc64le arch
2019-08-05 15:51:08 -04:00
Maksym Pavlenko
0a4bf1bd1e
Mark faulty devices
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-08-05 12:05:36 -07:00
Lantao Liu
c99961c6c0
Update cri to b213648c5b
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 11:22:41 -07:00
Phil Estes
cb46663725
Merge pull request #3470 from mxpv/devmapper_err
...
Better error recovery in device mapper
2019-08-05 13:10:06 -04:00
Wei Fu
b05a2b26ff
Merge pull request #3486 from tao12345666333/rm-unnecessary-str-fmt
...
remotes: remove unnecessary string formatting
2019-08-05 14:05:51 +08:00
Derek McGowan
ca2463a719
Merge pull request #3485 from Random-Liu/fix-containerd-on-windows
...
Fix containerd on windows.
2019-08-04 23:04:51 -07:00
Jintao Zhang
4b4ce4a26c
remotes: remove unnecessary string formatting
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-08-05 02:16:57 +08:00
Nitesh Konkar
d1b9ee543c
travis: Enable travis CI for ppc64le arch
...
Enable travis CI for ppc64le arch
Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2019-08-04 20:36:12 +05:30
Lantao Liu
bb99688914
Fix containerd on windows.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-02 23:18:35 -07:00
Phil Estes
f0821348b4
Merge pull request #3475 from stefanberger/gpg2-passphrase-via-file
...
ECI: gpg: Pass the passphrase to the gpg2 tool using a pipe
2019-08-02 13:59:17 -04:00
Michael Crosby
d3e539af79
Merge pull request #3480 from dmcgowan/fix-export-named-manifest-opt
...
Fix bug in export named manifest option
2019-08-02 10:30:50 -04:00
Phil Estes
69d65c9764
Merge pull request #3476 from dmcgowan/fix-push-exist-check
...
Prevent push by tag for sub-manifests
2019-08-02 10:01:26 -04:00
Derek McGowan
ac1cb6d5d4
Merge pull request #3467 from kevpar/dial-pipe-err
...
Improve error return from AnonDialer on Windows
2019-08-01 15:41:54 -07:00
Derek McGowan
adad947b77
Merge pull request #3460 from lumjjb/ctrrecipients
...
Specify protocols in ctr encrypt recipients
2019-08-01 15:37:40 -07:00
Derek McGowan
3e52e29025
Fix bug in export named manifest option
...
When providing multiple names, the shared annotation map was
causing the names to get overridden.
Combined the WithManifest options which had compatible interfaces.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-01 15:34:07 -07:00
Nitesh Konkar
594f423190
protobuf: Bump Protobuf version to 3.7.0
...
Bump Protobuf version to 3.7.0
Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2019-08-01 13:48:37 +05:30
Derek McGowan
c965a6c4da
Prevent push by tag for sub-manifests
...
When pushing a manifest list, all manifests should be pushed by digest
and only the final manifest pushed by tag. The Pusher was preventing
this by mistakenly disallowing objects to contain a digest. When objects
have a digest, only push tags associated with that digest.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-31 15:19:44 -07:00
Derek McGowan
053853fe3f
Merge pull request #3465 from dmcgowan/beta-1.3
...
Add 1.3 beta release notes
2019-07-31 13:23:34 -07:00
Stefan Berger
5cf79913e4
gpg: Use a Pipe() rather than a file
...
Use a Pipe() rather than a file to pass the passphrase to the command
line tool. Pass the file descriptor to read the passphrase from as fd '3'.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-31 16:07:25 -04:00
Stefan Berger
6a25128791
gpg: Pass the passphrase to the gpg2 tool using a file
...
Rather than passing the passphrase via command line write it into
a temp. file and pass the name of the file using passphrase-file option.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-31 16:07:25 -04:00
Maksym Pavlenko
3741fd8591
Remove deferred flag when removing devmapper device
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-31 11:28:33 -07:00
Kevin Parsons
b16e7c5de1
Update pkg/ttrpcutil with improved pipe dial logic
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-30 18:46:36 -07:00
Wei Fu
a49df98ee9
Merge pull request #3468 from crosbymichael/custom-cgroup
...
Improve custom cgroup test
2019-07-31 09:23:02 +08:00
Kevin Parsons
daf12cd194
Improve error return from AnonDialer on Windows
...
AnonDialer will now return a "not found" error if the pipe is not found
before the timeout is reached. If the pipe exists but the timeout is
reached while attempting to connect, the timeout error will still be
returned.
This will allow the error handling logic to work properly when
connecting to the shim log pipe. An error message is only logged if the
error is not "not found", so now log noise from log pipes that were
never intended to be created by the shim will be hidden.
This change also cleans up the control flow for AnonDialer on Windows.
The new code should be more easily readable, but the only semantic
change is the error return value change.
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-30 17:20:37 -07:00
Maksym Pavlenko
4d5a0e19eb
Mark faulty device in one transaction
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-30 16:26:55 -07:00
Justin
e04f9599ae
Merge pull request #3469 from crosbymichael/pb.txt
...
Add note about pb.txt files
2019-07-30 15:36:09 -07:00
Maksym Pavlenko
878a3205cd
Better error recovery in devmapper
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-30 15:17:17 -07:00
Michael Crosby
578216950d
Add note about pb.txt files
...
Closes #3163
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-30 20:10:05 +00:00
Michael Crosby
f68186e107
Improve custom cgroup test
...
Ref: #3272
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-30 19:45:30 +00:00
Akihiro Suda
4195136eea
Merge pull request #3433 from dmcgowan/gc-docs
...
Add garbage collection doc
2019-07-30 14:03:01 +09:00
Derek McGowan
8a6190856b
Add 1.3 beta release note
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-29 15:20:47 -07:00
Derek McGowan
172fe90e55
Merge pull request #3447 from mxpv/update
...
Call Update of snapshotter plugin
2019-07-29 13:05:28 -07:00
Michael Crosby
d099058086
Merge pull request #3463 from dzzg/patch-2
...
fix wrong spells in compression.go
2019-07-29 13:50:36 -04:00
Michael Crosby
fbca688971
Merge pull request #3449 from YLonely/container-delete-bug
...
bug fix:#3448
2019-07-29 10:49:16 -04:00
dzzg
612628c2f9
fix wrong spells in compression.go
...
Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
2019-07-29 12:47:17 +00:00
Maksym Pavlenko
98ead46d1a
Call Update of snapshotter plugin
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-26 15:56:07 -07:00
Phil Estes
eabb536b1f
Merge pull request #3462 from crosbymichael/ctr-hang
...
Call CloseIO when stdin closes in ctr
2019-07-26 17:13:02 -04:00
Phil Estes
e00ebfbf06
Merge pull request #3461 from crosbymichael/pid-fastpath
...
Fast path getting pid from task
2019-07-26 15:53:51 -04:00
Michael Crosby
f543f2fbcd
Call CloseIO when stdin closes in ctr
...
Fixes #2439
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-26 19:52:03 +00:00
Michael Crosby
eb4b3e8772
Fast path getting pid from task
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-26 17:48:00 +00:00
Brandon Lum
8cd480c233
Specify protocols in ctr encrypt recipients
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-07-26 13:20:22 -04:00
BoWen Yan
e3cc9c20cb
bug fix:#3448
...
Signed-off-by: BoWen Yan <loneybw@gmail.com>
2019-07-26 23:28:24 +08:00
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
Derek McGowan
22f44c44d9
Add garbage collection doc
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-25 14:42:30 -07:00