Commit Graph

3372 Commits

Author SHA1 Message Date
Daniel Nephin
37aa41b164 Cleanup after migration
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2018-02-12 12:26:26 -05:00
Daniel Nephin
ef48a0268e Migrate to gotestyourself/assert
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2018-02-12 12:26:26 -05:00
Daniel Nephin
1719a6e17a Vendor gotestyourself
and remove testify and spew

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2018-02-12 12:26:23 -05:00
Tom Godkin
19e9e1642a Fix typo in docs
Signed-off-by: Tom Godkin <tgodkin@pivotal.io>
2018-02-12 17:11:05 +00:00
Michael Crosby
5471ba9445
Merge pull request #2117 from dmcgowan/update-fetch-handlers
content: support manifest labeling on completed content ingests on the client
2018-02-12 11:08:14 -05:00
Derek McGowan
944a9ade37
Update fetch handling
Fix issue where manifest content must always be fetched
even if it is already fully downloaded or shared locally.
Simplify children label setting and platform filtering.
Prevent getting a fetcher when content shared locally.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-02-09 14:33:14 -08:00
Michael Crosby
d3a7a92d30
Merge pull request #2118 from AkihiroSuda/narrower-interface
*: use narrower content interfaces
2018-02-09 15:04:38 -05:00
Akihiro Suda
ee70879202 *: use narrower content interfaces
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-02-09 19:52:52 +09:00
Stephen Day
ee6ffdd91e
Merge pull request #2116 from crosbymichael/bump-runc
Update runc to a618ab5a0186905949ee463dbb762c3d23e
2018-02-08 15:09:43 -08:00
Derek McGowan
57011c5b89
Merge pull request #2114 from crosbymichael/stress-errors
Capture more error locations during stress tests
2018-02-08 10:58:17 -08:00
Michael Crosby
5ae204ff65
Merge pull request #2115 from justincormack/fallthrough
Remove a really confusing fallthrough
2018-02-08 11:38:13 -05:00
Michael Crosby
73837b11db Update runc to a618ab5a0186905949ee463dbb762c3d23e
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-08 11:30:24 -05:00
Justin Cormack
35be3d5127 Remove a really confusing fallthrough
This is so confusing, and not needed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2018-02-08 16:22:29 +00:00
Akihiro Suda
80e6bbfc5d
Merge pull request #2113 from cpuguy83/use_continuity_copy
Use continuity fs package
2018-02-08 08:49:34 +09:00
Michael Crosby
e68bdbe9d9 Capture more error locations during stress tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-07 15:50:29 -05:00
Brian Goff
c776b6d8d9 Use continuity fs package
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-07 12:40:52 -05:00
Michael Crosby
f12ba2407e
Merge pull request #2111 from Random-Liu/fix-trace-level
Fix trace level support.
2018-02-07 10:38:32 -05:00
Phil Estes
85a66da055
Merge pull request #2105 from Random-Liu/support-disable-plugins
Support disable plugins.
2018-02-07 06:34:47 +00:00
Lantao Liu
f2c585a59a Fix trace level support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-07 01:14:05 +00:00
Lantao Liu
eee592c3ac Support disable plugins.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-06 23:39:44 +00:00
Derek McGowan
424c0fb59d
Merge pull request #2075 from hinshun/converter-mediatypes
Allow specifying media type for a converted schema1 manifest for compatibility with distribution
2018-02-06 10:58:16 -08:00
Stephen Day
0d9995e6e2
Merge pull request #2109 from crosbymichael/onclose
Use ttrpc OnClose to fix restored dead shims
2018-02-06 10:57:29 -08:00
Michael Crosby
95d4f53fbe Delete task on dead shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-06 12:46:06 -05:00
Michael Crosby
e92c913ea5
Merge pull request #2106 from Random-Liu/add-trace-level-support
Support trace level.
2018-02-06 11:03:52 -05:00
Michael Crosby
87d15a5ffc Set OnClose shim function
When restoring a task make sure that dead shims are handled.

Fixes #2078

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-06 10:45:50 -05:00
Michael Crosby
9745a4d448 Update ttrpc to d4528379866b0ce7e9d71f3eb96f0582fc
Contains the OnClose method for the client

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-06 10:27:36 -05:00
Lantao Liu
050ff32dea Support trace level.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-06 02:30:05 +00:00
Stephen Day
aa49e704e2
Merge pull request #2095 from dmcgowan/fix-whiteout-parent-directories
archive: fixes missing whiteout parent directories
2018-02-05 11:26:17 -08:00
Michael Crosby
1a4f609526
Merge pull request #2098 from dankohn/master
Change name of LICENSE
2018-02-05 10:08:13 -05:00
Dan Kohn
48d27e4e74 Change name of LICENSE
This will allow GitHub's License API to properly classify containerd as Apache
https://developer.github.com/v3/licenses/

Signed-off-by: Dan Kohn <dan@dankohn.com>
2018-02-05 09:46:28 -05:00
Michael Crosby
ae3c72c853
Merge pull request #2099 from tkporter/master
Add time type conversions for 32bit Unix platforms
2018-02-05 09:19:58 -05:00
Michael Crosby
78bd07afef
Merge pull request #1746 from AkihiroSuda/split-differ-interface
diff: resplit Applier from Differ
2018-02-05 09:18:56 -05:00
Michael Crosby
13733b6a65
Merge pull request #2100 from kunalkushwaha/testsuite-typo-fix
Testcase name corrected
2018-02-05 09:11:41 -05:00
Michael Crosby
549ec7b9dd
Merge pull request #2091 from crosbymichael/shim-size
Shim optimizations for size and cpu
2018-02-05 09:10:56 -05:00
Kunal Kushwaha
1d6047aa71 Testcase name corrected
checkUploadStatus actaully verifys contents on Updating already written buffers,
hence should be called as checkUpdateStatus

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-02-05 11:12:12 +09:00
Trevor Porter
d994d08664 Add time type conversion for 32bit Unix platforms
Ensures the time.Unix function is given int64 arguments

Signed-off-by: Trevor Porter <trkporter@ucdavis.edu>
2018-02-03 22:36:36 +00:00
Derek McGowan
d778dd15d8
Fixes missing whiteout parent directories
Ensures include parents is called for whiteouts

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-02-02 17:02:14 -08:00
Stephen Day
83cf371556
Merge pull request #2090 from AkihiroSuda/remove-wtf
vendor: update BurntSushi/toml for MIT license
2018-02-02 16:45:41 -08:00
Michael Crosby
254807da5b
Merge pull request #2092 from dnephin/fix-vendor-validation
Fix vendor validation
2018-02-02 16:51:12 -05:00
Daniel Nephin
2125d8efc3 Fix vendor validation
vendor/ must be removed first, otherwise files added to vendor/ that aren't added to
vendor.conf will not cause the validation to fail.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2018-02-02 10:54:21 -08:00
Michael Crosby
8ee29a17e6 Bump gc threshold to 40%
Doing tests, this is a better balance for the threshold in reguards to
memory and cpu usage.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-02 11:00:34 -05:00
Akihiro Suda
36a2deb029 vendor: update BurntSushi/toml for MIT license
Follow-up to #2088

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-02-02 15:51:57 +09:00
Derek McGowan
44f6bc40d4
Merge pull request #2088 from stevvooe/update-toml
vendor: update BurntSushi/toml for MIT license
2018-02-01 15:19:49 -08:00
Stephen J Day
85678e1885
vendor: update BurntSushi/toml for MIT license
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-02-01 14:58:31 -08:00
Michael Crosby
db78450e8b Remove grpclogger from log package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-01 17:20:49 -05:00
Michael Crosby
ea00fc793b Remove protobuf for mount in shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-01 17:18:40 -05:00
Derek McGowan
ba61af665d
Merge pull request #2086 from crosbymichael/bump-cgroups
Bump cgroups to c0710c92e8b3a44681d1321dcfd1360fc5
2018-02-01 10:33:22 -08:00
Michael Crosby
5915c9ab5e Bump cgroups to c0710c92e8b3a44681d1321dcfd1360fc5
This fixes performance issues with walking `/dev` to get device paths.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-02-01 11:43:42 -05:00
Michael Crosby
7e1d8aafee
Merge pull request #1957 from tophj-ibm/check-for-mounts-tests
running tests in a container
2018-02-01 11:39:58 -05:00
Phil Estes
34e24997b2
Merge pull request #2081 from crosbymichael/debug
Allow tcp debug address
2018-02-01 08:15:09 +00:00