Daniel Nephin
b28e1eee42
Fix coverage report
...
Previously the coverage.txt file was never populated
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-14 12:47:48 -05:00
Phil Estes
37ee054e61
Merge pull request #1739 from crosbymichael/shim-redux
...
Move shim process code into subpackage
2017-11-14 10:20:28 -05:00
Lantao Liu
6d4e41e4e4
Merge pull request #414 from Random-Liu/fix-data-race
...
Fix data race.
2017-11-13 23:04:44 -08:00
Lantao Liu
03aca5e82b
Fix data race.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-14 05:35:44 +00:00
Akihiro Suda
4feb6f228a
snapshot: add Close()
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-11-14 02:00:33 +00:00
Lantao Liu
574dfd8c19
Merge pull request #413 from Random-Liu/print-full-container-spec
...
Print full container spec for debugging.
2017-11-13 17:36:52 -08:00
Lantao Liu
57f37ca66e
Print full container spec for debugging.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-13 23:36:12 +00:00
Stephen Day
f9933e9f96
Merge pull request #1742 from jessvalarezo/ctr-task-kill
...
ctr: update task kill to take exec-id
2017-11-13 13:53:26 -08:00
Michael Crosby
8376b50b19
Add grpc methods to errdefs
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
c81788b129
Remove errdefs and shimapi types from proc package
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
9abde39bf7
Fix lint issues on init process
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
33fe5c1d22
Add debug package for memory reporting
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
66a70e7fda
Refactor runtime initialization
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
36e5548e76
Remove namepsaces and id imports from shim
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
a7343b0773
Move events from shim into linux runtime
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
1fe5a251c4
Move Exec creation to init process
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
6e25898ff0
Move shim process code to package
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 16:45:25 -05:00
Michael Crosby
92ca22c997
Merge pull request #1735 from estesp/image-rm-feedback
...
Fix output on ctr images rm to show actual feedback
2017-11-13 14:18:12 -05:00
Stephen Day
a74148ba27
Merge pull request #1741 from dnephin/fix-task-path-conflict
...
Validate that root and state paths are different
2017-11-13 10:55:29 -08:00
Jess Valarezo
1966f9f1b7
ctr: update task kill to take exec-id
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-11-13 10:47:15 -08:00
Phil Estes
680101f919
Merge pull request #1750 from mlaventure/delete-exec-pidfile
...
containerd-shim: Delete exec pidfile on exit
2017-11-13 12:31:59 -05:00
Lantao Liu
a61d86cf50
Merge pull request #412 from Random-Liu/fix-streaming-deadlock
...
Fix streaming deadlock.
2017-11-13 09:31:16 -08:00
Kenfe-Mickael Laventure
231c96098e
containerd-shim: Delete exec pidfile on exit
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-11-13 08:42:25 -08:00
Phil Estes
c2ab5564b3
Merge pull request #1748 from crosbymichael/bdfl
...
Remove BDFL in favor of TSC
2017-11-13 11:18:50 -05:00
Michael Crosby
503b536bf7
Add TSC [Rule]
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 10:39:12 -05:00
Michael Crosby
a90669377e
Remove chief stuff as well
...
There is no need for separate roles, maintainers are maintainers.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 10:39:12 -05:00
Michael Crosby
e36c1066fc
Remove BDFL sections
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-13 10:39:12 -05:00
Daniel, Dao Quang Minh
732b1560b4
Merge pull request #1745 from AkihiroSuda/remove-lcow-sys-firmware-todo
...
spec_unix.go: remove unneeded TODO (moby/moby#35442 )
2017-11-13 15:09:54 +00:00
Akihiro Suda
79e3b978d6
spec_unix.go: remove unneeded TODO ( moby/moby#35442 )
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-11-13 06:10:16 +00:00
Lantao Liu
01493463db
Fix streaming deadlock.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-13 05:51:14 +00:00
Lantao Liu
e1015b8d91
Merge pull request #410 from Random-Liu/refactor-and-fix-streaming
...
Refactor and fix container streaming.
2017-11-10 14:03:49 -08:00
Lantao Liu
3557cffbbb
Fix container exec
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-10 21:03:29 +00:00
Lantao Liu
e41b6d3c24
Refactor container io code
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-10 21:03:29 +00:00
Phil Estes
08760757ed
Fix output on ctr images rm to show actual feedback
...
Currently the output for a non-existent image reference and a valid
image reference is exactly the same on `ctr images remove`. Instead of
outputting the target ref input, if it is "not found" we should alert
the user in case of a mispelling, but continue not to make it a failure
for the command (given it supports multiple ref entries)
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-11-10 15:21:27 -05:00
Kenfe-Mickaël Laventure
17093c2f6a
Merge pull request #1718 from jessvalarezo/ctr-task-ps
...
ctr: update task ps command
2017-11-10 11:58:21 -08:00
Jess Valarezo
0961807715
rename runcopts to runctypes
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-11-10 11:43:51 -08:00
Jess Valarezo
807f4d2ec7
expose exec-id on ctr task ps
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-11-10 11:38:51 -08:00
Daniel Nephin
49af59bfca
Validate that root and state paths are different.
...
Using the same path for both results in confusing errors when runtime.newBundle()
attempts to create the directories for the Task
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-10 12:32:51 -05:00
Mike Brown
b4c8efd898
Merge pull request #409 from miaoyq/fix-408
...
Update golang version to 1.9.x
2017-11-10 09:03:56 -06:00
Yanqiang Miao
a8104ef21b
Update golang version to 1.9.x
...
fixes #408
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-11-10 15:58:24 +08:00
Lantao Liu
ac8b0979fa
Merge pull request #407 from Random-Liu/update-containerd
...
Update containerd to v1.0.0-beta.3
2017-11-09 16:00:25 -08:00
Michael Crosby
b4a65de5c6
Merge pull request #1740 from stevvooe/update-grpc
...
vendor: update protobuf, grpc and gogo
2017-11-09 16:57:40 -05:00
Stephen J Day
08d1e72cc0
api,linux,windows: update generated protobufs
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-09 13:37:06 -08:00
Stephen J Day
35697865c0
vendor: update protobuf, grpc and gogo
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-09 13:24:41 -08:00
Lantao Liu
9e6d607aae
Update containerd to v1.0.0-beta.3
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-09 21:08:09 +00:00
Phil Estes
b1527e0a10
Handle progress line length properly for formatting
...
Two issues with a prior PR for handling line-spanning progress bars are
fixed in this PR:
- corner case where output line len == term width: extra line was being
added
- line length calculation was including escape characters causing
calculations to span lines when output was still only on one line
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-11-09 15:58:51 -05:00
Lantao Liu
b6de04772d
Merge pull request #406 from Random-Liu/fix-attach-stdin
...
Keep stdin open instead of opening when use it.
2017-11-09 10:31:04 -08:00
Lantao Liu
c4931c8409
Keep stdin open instead of opening when use it.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-09 09:28:30 +00:00
Derek McGowan
2b8ed96d2a
Merge pull request #1705 from stevvooe/beta3
...
release: prepare 1.0.0-beta.3
2017-11-08 11:22:26 -08:00
Derek McGowan
cb3b9601a4
Add garbage collection release notes
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-08 11:05:29 -08:00