Commit Graph

4649 Commits

Author SHA1 Message Date
Michael Crosby
32e788a8be
Merge pull request #3205 from Random-Liu/test-runtime-for-cri
Use $TEST_RUNTIME for cri test.
2019-04-12 13:51:53 -04:00
Phil Estes
906e8bc7dc
Merge pull request #3207 from crosbymichael/ttrpc-deps
Requeue events in the ttrpc publisher
2019-04-12 17:54:12 +01:00
Michael Crosby
63c7a879b6 Requeue events in the shim publisher
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-12 11:57:20 -04:00
Jared Cordasco
fc167f9578 Correct PusherFunc helper to match Pusher intf
Signed-off-by: Jared Cordasco <jcordasc@coglib.com>
2019-04-12 09:12:55 -05:00
Jared Cordasco
a7af3c13a5 Correct import path in services/server package
Signed-off-by: Jared Cordasco <jcordasc@coglib.com>
2019-04-11 23:07:46 -05:00
Lantao Liu
9cc58781fa Check task list to avoid unnecessary cleanup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-11 16:29:09 -07:00
Michael Crosby
97d247cd0f Rename hrpc to tcpServer
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-11 15:06:06 -04:00
Derek McGowan
5f4c977ba0
Merge pull request #3162 from crosbymichael/tcpservice
Add tcp service for grpc listeners
2019-04-11 11:55:00 -07:00
Derek McGowan
ff90b036c7
Merge pull request #3202 from crosbymichael/nofile
Set nofile to 1048576
2019-04-11 11:47:57 -07:00
Derek McGowan
acca107732
Merge pull request #3204 from crosbymichael/fix-forward
Fix API forward events for shims
2019-04-11 11:46:46 -07:00
Michael Crosby
047348e198 Add dialer for events service
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-11 12:01:52 -04:00
Phil Estes
5703f415c6
Merge pull request #3197 from Random-Liu/add-required-plugins
Add support for required plugins.
2019-04-11 12:02:16 +02:00
Michael Crosby
ae87730ad2 Improve shim shutdown logic
Shims no longer call `os.Exit` but close the context on shutdown so that
events and other resources have hit the `defer`s.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-10 18:17:07 -04:00
Lantao Liu
a12f836d5a Use $TEST_RUNTIME for cri test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-10 14:11:03 -07:00
Lantao Liu
4b3b99ea11 Add support for required plugins.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-10 11:31:59 -07:00
Michael Crosby
4ba756edda Fix API forward events for shims
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-10 13:34:34 -04:00
Michael Crosby
1a1f8f11a5 Set nofile to 1048576
Closes #3201

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-10 11:39:17 -04:00
Michael Crosby
b911ae3428 Add tcp service for grpc listeners
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-10 11:12:50 -04:00
Phil Estes
475619c29e
Merge pull request #3195 from crosbymichael/ttrpc-love
Use ttrpc in the daemon for event publishing from shims
2019-04-10 10:29:01 +02:00
Michael Crosby
a6f587e4c4 Use ttrpc to publish runtime v2 events
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-09 14:38:50 -04:00
Michael Crosby
a8a805cad3 Add ttrpc server to containerd
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-09 13:08:23 -04:00
Phil Estes
db3a8637c1
Merge pull request #3194 from crosbymichael/shim-oom
Add GetOOMScore function
2019-04-09 17:30:52 +02:00
Michael Crosby
c93d645435 Add GetOOMScore function
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-09 10:40:54 -04:00
Phil Estes
aaca11c40d
Merge pull request #3189 from dmcgowan/extended-security-releases
Extend release timeline
2019-04-09 00:37:14 -04:00
Phil Estes
993fb310f6
Merge pull request #3160 from sofat1989/imageresume
delete the ingest when any errors happen during resuming status
2019-04-09 00:34:28 -04:00
Akihiro Suda
4d313c00ab
Merge pull request #3186 from thaJeztah/bump_dependencies
Bump dependencies
2019-04-06 13:28:24 +09:00
fesu
7045801fd4 delete the ingest when any errors happen during resuming status
Signed-off-by: Su Fei  <fesu@ebay.com>
2019-04-06 11:21:18 +08:00
Derek McGowan
dcf6023c4c
Extend release timeline
Update releases active releases with latest version and timeline.
Extend 1.1 an additional 3 months to align with k8s 1.11 EOL and 3 months extended for security.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-04-05 12:27:01 -07:00
Phil Estes
d77a5bf72d
Merge pull request #3188 from masters-of-cats/clean-test
Introduce 'clean-test' target in Makefile
2019-04-05 14:24:07 -04:00
Georgi Sabev
d5b770aa87 Introduce 'clean-test' target in Makefile
When tests fail they could leave debris behind such as
- overlay mounts
- cgroups
- metadata
These debris can cause subsequent tests to fail

Co-authored-by: Danail Branekov <danailster@gmail.com>
Signed-off-by: Georgi Sabev <georgethebeatle@gmail.com>
2019-04-05 17:17:03 +03:00
Sebastiaan van Stijn
2583d9e426
update gogo/googleapis v1.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:19 +02:00
Sebastiaan van Stijn
a98df70da1
update containerd/btrfs af5082808c833de0e79c1e72eea9fea239364877
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:16 +02:00
Sebastiaan van Stijn
aa8dccd220
update containerd/aufs f894a800659b6e11c1a13084abd1712f346e349c
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:13 +02:00
Sebastiaan van Stijn
ed61d7f680
bump containerd/zfs and dependencies
temporarily adds both pborman/uuid and google/uuid,
pending mistifyio/go-zfs#72

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:10 +02:00
Sebastiaan van Stijn
d667628ca9
bump github.com/pkg/errors v0.8.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:08 +02:00
Sebastiaan van Stijn
68ef178352
bump github.com/BurntSushi/toml v0.3.1
switch the licenses of cmd/ to be the same as the root

full diff: a368813c5e...3012a1dbe2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:05 +02:00
Sebastiaan van Stijn
1978c0b74b
bump gotest.tools v2.3.0, google/go-cmp v0.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 14:55:02 +02:00
Michael Crosby
591e52c504
Merge pull request #3185 from thaJeztah/update_dev_dockerfile
Update contrib/Dockerfile.test
2019-04-05 08:39:46 -04:00
Sebastiaan van Stijn
2741dbe2c1
contrib: Dockerfile: bump go 1.12
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 12:59:20 +02:00
Sebastiaan van Stijn
a84f87d84f
contrib: Dockerfile: add a base stage
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 12:26:55 +02:00
Sebastiaan van Stijn
a07e12cded
contrib: Dockerfile: reformat, and use --no-install-recommends
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 12:24:41 +02:00
Sebastiaan van Stijn
ba9e1ea23c
contrib: Dockerfile: use build-arg for go-version
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-05 12:16:36 +02:00
Phil Estes
eea500d122
Merge pull request #3179 from Random-Liu/publish-error
Return event publish errors
2019-04-04 20:35:34 -04:00
Phil Estes
6e170ec5b7
Merge pull request #3176 from Random-Liu/update-cri-master
Update cri to 6d353571e6.
2019-04-04 20:34:34 -04:00
Derek McGowan
9990eed314
Merge pull request #3178 from crosbymichael/exitStatus
Export ExitStatus init func
2019-04-04 16:23:15 -07:00
Derek McGowan
a7e30fae99
Merge pull request #3173 from crosbymichael/reg-errors
Update handling of registry errors
2019-04-04 15:14:04 -07:00
Lantao Liu
74eb0dc812 Return event publish errors.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-04 14:55:38 -07:00
Michael Crosby
10cf21dcf7 Export ExitStatus init func
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-04 17:46:16 -04:00
Lantao Liu
a733587496 Update cri to 6d353571e6.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-04 14:02:08 -07:00
Michael Crosby
de1da8be32 Update handling of registry errors
Update to #3109

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-04 14:51:03 -04:00