Commit Graph

4434 Commits

Author SHA1 Message Date
Michael Crosby
e70a530aa3
Merge pull request #3069 from fuweid/me-debug-mode-push
ctr/commands/images/push: don't show progress if it is debug mode
2019-03-05 11:10:51 -06:00
Wei Fu
6424a36032 ctr/commands/images/push: don't show progress if it is debug mode
If user sets debug mode, the command push should only show the debug log
information. If the stdout is with flush by the progress status, it is
hard to see the debug log.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-03-05 22:21:55 +08:00
Michael Crosby
30b6f460b9
Merge pull request #3063 from zhsj/fix-mipsx
Use unix.SignalNum in ParseSignal on unix platform
2019-03-04 11:31:16 -06:00
Michael Crosby
63328c1d2a
Merge pull request #3054 from jterry75/stderr_with_tty_windows
Fix issue with NewFIFOSetInDir with Terminal true
2019-03-04 11:08:06 -06:00
Shengjing Zhu
f0d5dd3c82 Use unix.SignalNum in ParseSignal on unix platform
This removes the signalMap on unix platform, since
the signalMap on different architectures is not same,
especially it's wrong on mipsx.

golang.org/x/sys/unix now has a SignalNum func to convert
signal name to a number, thus there's no need to keep
this redundant map.

Windows platform still needs to have a signalMap, since
golang.org/x/sys/windows doesn't have corresponding
functions.

Address: #3061

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2019-03-03 22:10:58 +08:00
Shengjing Zhu
1745951bad Vendor golang.org/x/sys d455e41777fca6e8a5a79e34a14b8368bc11d9ba
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2019-03-03 21:35:46 +08:00
Derek McGowan
5840ecc3d8
Merge pull request #3056 from ehotinger/ehotinger/snapshotter-docs
Update the snapshotter docs to refer to the snapshots package
2019-02-28 17:27:00 -08:00
Eric Hotinger
e13a4b67e8 Update the snapshotter docs to refer to the snapshots package for
WithLabels.

Signed-off-by: Eric Hotinger <ehotinger@gmail.com>
2019-02-28 15:03:37 -08:00
Justin Terry (VM)
277147135d Fix issue with NewFIFOSetInDir with Terminal true
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-28 10:35:26 -08:00
Derek McGowan
c24a74354c
Merge pull request #3050 from jterry75/fix_cpu_cap
Fix a bug in shim log on Windows that can cause 100% CPU utilization
2019-02-27 17:32:38 -08:00
Justin Terry (VM)
828f6eb842 Fix a bug in shim log on Windows that can cause 100% CPU utilization
With the change to unified shims (ie: 1 shim per multiple tasks) the shimLog
on Windows for the 2nd-Nth worload containers will not have an associated
named pipe listener.

Due to a subtle bug in errors.Wrap passing a nil error we would unblock the
disconnected listener and return 0 byte successfull reads which would cause go
to continually read and cap the CPU.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-27 16:51:52 -08:00
Akihiro Suda
e72ad44427
Merge pull request #3048 from crosbymichael/bump-cgroups
Bump cgroups to dbea6f2bd41658b84b00417ceefa416b97
2019-02-27 17:37:47 +09:00
Michael Crosby
d2bec5422a Bump cgroups to dbea6f2bd41658b84b00417ceefa416b97
This fixes issues for systemd 420 and non-existant cgroups.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-26 15:48:10 -05:00
Phil Estes
8f44ad0b31
Merge pull request #3037 from zhsj/add-name-in-man
docs: Add NAME section in all manpages
2019-02-22 11:37:19 -05:00
Shengjing Zhu
fb80483711 docs: Add NAME section in all manpages
As described in https://lintian.debian.org/tags/manpage-has-bad-whatis-entry.html
each manual page should start with a "NAME" section.

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2019-02-22 23:40:28 +08:00
Michael Crosby
dea27b1b64
Merge pull request #3036 from jhowardmsft/jjh/etw
Windows: Enable ETW logging
2019-02-21 20:12:35 -05:00
Derek McGowan
0cff074a27
Merge pull request #3040 from crosbymichael/travis-bump
Update travis to xenial worker
2019-02-21 16:21:37 -08:00
John Howard
d83e4e9b3b Vendor Microsoft/go-winio@v0.4.12
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-02-21 14:16:51 -08:00
John Howard
e0d7ed12a5 Windows: Enable ETW logging
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-02-21 14:16:44 -08:00
Michael Crosby
07697638be
Merge pull request #3004 from crosbymichael/multi-shim
io.containerd.runc.v2 with Container Groups
2019-02-21 15:40:20 -05:00
Michael Crosby
5e84069844 Update travis to xenial worker
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 15:37:21 -05:00
Michael Crosby
84a24711e8 Add runc.v2 multi-shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 11:09:46 -05:00
Michael Crosby
6bcbf88f82 Move runc shim code into common package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 10:47:41 -05:00
Michael Crosby
31438b61f9
Merge pull request #3033 from tonistiigi/runtime-platforms
runtime: allow specifying supported platforms with config
2019-02-21 10:39:42 -05:00
Michael Crosby
759a889f3c
Merge pull request #3018 from Random-Liu/perm-consistency-with-docker
Unpack should set 0755 when the parent directory doesn't exist.
2019-02-21 10:37:03 -05:00
John Howard
fd6ac5d026 Vendor sirupsen/logrus@1.3.0
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-02-20 20:18:14 -08:00
Tonis Tiigi
b553a12be6 runtime: allow specifying supported platforms with config
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-02-20 07:29:23 -08:00
Akihiro Suda
58dc0677b4
Merge pull request #3030 from veerun14/venuvvul/add-comments-fix-typos
fixing typo and added a missing comment.
2019-02-19 12:32:12 +09:00
Veeraiah Chowdary Nuvvula
f6ac73d71e fixing typo and added a missing comment.
Signed-off-by: Veeraiah Chowdary Nuvvula <venuvvul@microsoft.com>
2019-02-18 14:13:02 -08:00
Michael Crosby
ee916fe33c
Merge pull request #3025 from fuweid/bugfix_merge_label
metadata: merge snapshot labels with metadata's labels
2019-02-18 11:39:02 -05:00
Phil Estes
480bf65ae8
Merge pull request #3010 from dmcgowan/pull-add-handler-wrap
Add image handler wrapper
2019-02-18 10:14:36 -05:00
Phil Estes
06ff5ef01a
Merge pull request #3024 from jhowardmsft/jjh/signalname
Windows: Update stackdump event name
2019-02-18 10:14:12 -05:00
Wei Fu
4b3e0a8aaa metadata: merge snapshot labels with metadata's labels
fix the no-op issue.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-02-18 16:11:12 +08:00
John Howard
88f19a90a8 Windows: Update stackdump event name
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-02-15 15:33:29 -08:00
Phil Estes
a378dbc2ab
Merge pull request #3020 from dmcgowan/update-supported-releases
Update supported versions
2019-02-14 13:57:06 -08:00
Lantao Liu
14f7e52725 Unpack should set 0755 when the parent directory doesn't exist.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-14 13:38:12 -08:00
Michael Crosby
a485eb74a3
Merge pull request #3021 from estesp/update-release-docs
Add website update to release process
2019-02-14 14:38:24 -05:00
Phil Estes
a6f43b549e
Add website update to release process
Update release process with step to get downloads list updated on
containerd.io website

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-02-14 14:01:00 -05:00
Derek McGowan
17b2c84989
Update supported versions
Use latest 1.1 and 1.2 version

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-14 10:54:16 -08:00
Michael Crosby
faec567304
Merge pull request #3016 from jterry75/task_execid
Add ExecID for StateResponse
2019-02-14 11:47:19 -05:00
Justin Terry (VM)
b87e9eef3e Add ExecID for StateResponse
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-13 12:58:50 -08:00
Michael Crosby
543ee8e7f4
Merge pull request #3009 from jterry75/taskdelete_exec
Add support for TaskDelete event on exec in RuntimeV2
2019-02-13 14:05:29 -05:00
Phil Estes
41e3aaee58
Merge pull request #3008 from JoeWrightss/patch-3
Fix some misspells in helpers_test.go
2019-02-13 09:58:37 -08:00
zhoulin xie
bfb266ab5d Fix some misspells in helpers_test.go
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-14 00:02:17 +08:00
Derek McGowan
dc09ed1e1a
Add image handler wrapper
Gives clients more control of the pull process, allowing
the client to operate on a descriptor after it has been
pulled. This could be useful for filtering output or
tracking children before they dispatched to. This can
also be used to call custom unpackers to have visibility
into a pulled config in parallel to the downloads.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-02-12 16:34:06 -08:00
Justin Terry (VM)
a4f7b3758e Add support for TaskDelete event on exec in RuntimeV2
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-12 15:50:21 -08:00
Michael Crosby
f5b0fa220d
Merge pull request #2993 from kevpar/lcow-layer-order
Fix LCOW layer ordering
2019-02-12 12:21:51 -05:00
Michael Crosby
cb748dba98
Merge pull request #3007 from jterry75/fix_tty_windows
Stop sending stderr with TTY on Windows
2019-02-12 10:52:29 -05:00
Justin Terry (VM)
00895670e7 Stop sending stderr with TTY on Windows
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-02-11 23:11:40 -08:00
Phil Estes
521a44baff
Merge pull request #2997 from thaJeztah/bump_runc_cve_2019-5736
Update runc to 6635b4f (CVE-2019-5736)
2019-02-11 07:08:27 -08:00