Commit Graph

8778 Commits

Author SHA1 Message Date
Lantao Liu
2143959895
Merge pull request #415 from jessfraz/release-static-binaries
Makefile: release static binaries
2017-11-15 18:17:55 -08:00
Stephen Day
f49b1b7179
Merge pull request #1764 from crosbymichael/exit
Add publish subcommand for publishing events
2017-11-15 16:46:25 -08:00
Derek McGowan
96d2c1e0c2
Merge pull request #1766 from dnephin/fix-error-message
Normalize 'already exists' errors
2017-11-15 14:53:20 -08:00
Daniel Nephin
2e7f7318cc Normalize 'already exists' errors
and fix some error messages where they were wrong or redundant

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-15 16:46:27 -05:00
Jess Valarezo
f3a63f52dc
Add support for removing leases on resource removal
Signed-off-by: Jessica Valarezo <valarezo.jessica@gmail.com>
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-15 12:09:59 -08:00
Daniel Nephin
a72279e53d Skip some tests on windows where the implementation is missing
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-15 14:52:00 -05:00
Daniel Nephin
fe5bb4a0fc Update platform tests to use the defaultOS
fix tests on windows

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-15 14:31:50 -05:00
Daniel Nephin
666d946455 Implement diff.compareSysStat on windows
and update diff tests to work with slash paths on windows

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-15 14:31:50 -05:00
Daniel Nephin
5025b53704 Re-enable unit tests on appveyor
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-15 14:31:48 -05:00
Michael Crosby
a522a6c7ee Add publish subcommand for publishing events
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-15 11:30:03 -05:00
Phil Estes
a542cf7dac
Merge pull request #1761 from stevvooe/update-protoc
README, travis: update protobuf compiler version
2017-11-15 09:59:51 -05:00
Jess Frazelle
c8584f2a6d
Makefile: release static binaries
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-15 03:29:51 -05:00
Stephen Day
19168f98fe
Merge pull request #1754 from AkihiroSuda/fix-snapshot-commit-spec
snapshot: fix specification of Commit
2017-11-14 17:55:38 -08:00
Stephen Day
571c002ef6
Merge pull request #1755 from AkihiroSuda/fix-ctr-snapshot-args
ctr: fix args
2017-11-14 17:55:14 -08:00
Stephen Day
343d2d3c5d
Merge pull request #1758 from dnephin/speed-up-unit-test
Reduce number of blobs in TestWalkBlobs
2017-11-14 17:52:46 -08:00
Stephen J Day
7354a7f001
README, travis: update protobuf compiler version
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-14 17:46:50 -08:00
Akihiro Suda
5eff92d1ba ctr: fix args
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-11-15 01:34:12 +00:00
Akihiro Suda
5e8218a63b snapshot: fix specification of Commit
The default implementations remove the key after Commit.
However, the specification had required implementations not to remove
the key.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-11-15 01:32:19 +00:00
Daniel Nephin
d8cf30e42e Reduce number of blobs in TestWalkBlobs
Reduce runtime from 170s to 3s

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-11-14 17:51:44 -05:00
Stephen Day
c78c156feb
Merge pull request #1728 from AkihiroSuda/snapshot-closable
snapshot: add Close()
2017-11-14 14:41:50 -08:00
Stephen Day
d15cee0358
Merge pull request #1737 from estesp/progress-line-fixup
Handle progress line length properly for formatting
2017-11-14 14:40:32 -08:00
Phil Estes
f435ec0733
Merge pull request #1757 from dnephin/fix-coverage
Fix coverage report
2017-11-14 13:33:11 -05:00
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