Commit Graph

14496 Commits

Author SHA1 Message Date
Maksym Pavlenko
ef516a1507 Remove runtime v1
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:14 -07:00
Iceber Gu
76778aee64 integration: add restart monitor test for paused task
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-15 14:32:17 +08:00
Derek McGowan
eebd4ad531
Merge pull request #8264 from AkihiroSuda/remove-restart-logpath
Remove "containerd.io/restart.logpath" label (deprecated since v1.5)
2023-03-14 19:40:58 -07:00
Derek McGowan
fe3cd1781b
Merge pull request #8267 from helen-frank/feature/OptimizationcheckBinarySizes
Optimization containerd-stress
2023-03-14 17:16:20 -07:00
Akihiro Suda
35a103d321
Remove "containerd.io/restart.logpath" label (deprecated since v1.5)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-15 09:00:11 +09:00
Kazuyoshi Kato
a570c8184a
Merge pull request #8213 from jedevc/export-skip-docker-manifest
archive: consistently respect value of WithSkipDockerManifest
2023-03-14 15:01:08 -07:00
Phil Estes
39cfd1613b
Merge pull request #8263 from AkihiroSuda/remove-aufs
Remove `aufs` snapshotter (deprecated since v1.5)
2023-03-14 11:56:36 -04:00
helen
08337f3563 Pre-splice strings and determine whether it is a file and check criCleanup err.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-03-14 23:15:46 +08:00
Iceber Gu
e0d9b96631 Fix restarting the paused containers
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-14 17:42:36 +08:00
Akihiro Suda
86fc1ccab4
Remove aufs snapshotter (deprecated since v1.5)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-14 14:37:13 +09:00
Shingo Omura
50740a1a0c
use strings.Cut instead of strings.Split for parsing imageConfig.User
Signed-off-by: Shingo Omura <everpeace@gmail.com>
2023-03-14 13:52:03 +09:00
Kazuyoshi Kato
689cd12ee6
Merge pull request #8261 from davidhsingyuchen/plugins-err-typo
docs: fix typo in comment of plugin.Plugin.Err()
2023-03-13 15:25:30 -07:00
Hsing-Yu (David) Chen
b39ac5d09b docs: fix typo in comment of plugin.Plugin.Err()
Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
2023-03-13 11:46:01 -07:00
Danny Canter
d835fd2a3a Sandbox: Correct/add some fields to Status()
CreatedAt was being used as the ExitedAt timestamp, and Info from the
response wasn't being set on the response.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-03-13 04:04:17 -07:00
Justin Chadwell
d3e856da7f export: add test for WithSkipDockerManifest
Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-03-13 09:02:53 +00:00
Danny Canter
70da5c7830 Sandbox: Cleanup shim on Start failure
Made a change a bit ago to cleanup the shim on CreateSandbox failures and
noted that we should probably do the same on Start as well as nothing gets
cleaned up otherwise, and nothing states that a sandbox server/shim should
exit itself if Create/Start fail. Ideally this could be hooked up to
some subsystem in containerd that'd do it for us, but for now to allow
developing prototyping sandbox shims this makes things much friendlier.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-03-13 01:54:13 -07:00
Derek McGowan
1fbd703741
Merge pull request #8242 from dmcgowan/prepare-v1.7.0
Prepare release notes for v1.7.0
2023-03-10 10:05:05 -08:00
Derek McGowan
e13a9165ef
Prepare release notes for v1.7.0
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-03-09 17:02:36 -08:00
Maksym Pavlenko
e92e692de0
Merge pull request #8241 from AkihiroSuda/deprecation-20230309
RELEASES.md: describe the deprecated config properties
2023-03-09 10:48:12 -08:00
Derek McGowan
0fe3b496d5
Merge pull request #8232 from panguicai008/flag-usage
Flag usage uses uppercase letters
2023-03-09 10:34:32 -08:00
Derek McGowan
216801593d
Merge pull request #8240 from davidhsingyuchen/client-install-doc
docs: link docs/managed-opt.md to client.Install
2023-03-09 10:24:20 -08:00
Akihiro Suda
625217d5fb
RELEASES.md: describe the deprecated config properties
These deprecations were mentioned in `pkg/cri/config/config.go`
but not mentioned in `RELEASES.md`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-09 15:12:54 +09:00
Derek McGowan
8cc09e6a71
Merge pull request #8233 from dmcgowan/prepare-v1.7.0-rc.3
Prepare release notes for v1.7.0-rc.3
2023-03-08 20:25:26 -08:00
Hsing-Yu (David) Chen
703e2ba4bc docs: link docs/managed-opt.md to client.Install
Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
2023-03-08 17:55:14 -08:00
Fu Wei
1f236dc57a
Merge pull request #8237 from AkihiroSuda/go-1.20.2 2023-03-09 09:50:14 +08:00
Akihiro Suda
f2bb9c9b0b
Go 1.20.2
> go1.20.2 (released 2023-03-07) includes a security fix to the crypto/elliptic package,
> as well as bug fixes to the compiler, the covdata command, the linker, the runtime, and
> the crypto/ecdh, crypto/rsa, crypto/x509, os, and syscall packages.
> See the Go 1.20.2 milestone on our issue tracker for details.

https://go.dev/doc/devel/release#go1.20.minor

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-09 08:45:29 +09:00
Maksym Pavlenko
de3b7796a0
Merge pull request #8236 from dmcgowan/update-ttrpc-v1.2.1
Update ttrpc to v1.2.1
2023-03-08 14:22:40 -08:00
Maksym Pavlenko
48a1350658
Merge pull request #8149 from Burning1020/sb-netns
sandbox: create sandbox with network namespace path
2023-03-08 14:22:00 -08:00
Derek McGowan
56354c7de5
Update ttrpc to v1.2.1
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-03-08 10:29:44 -08:00
Akihiro Suda
71a7234f67
Merge pull request #8224 from vvoland/label-dist-source
labels: Add LabelDistributionSource
2023-03-08 21:37:00 +09:00
Zhang Tianyang
5144ba9c49 sandbox: create sandbox with network namespace path
Signed-off-by: Zhang Tianyang <burning9699@gmail.com>
2023-03-08 18:54:14 +08:00
Paweł Gronowski
dd3eedf3c3 labels: Add LabelDistributionSource
Add a public const for "containerd.io/distribution.source" in `labels`
package and replace hardcoded usages.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-03-08 10:01:58 +01:00
panguicai008
5c9c630c33 use uppercase letters for flag usage
Signed-off-by: panguicai008 <guicai.pan@daocloud.io>
2023-03-08 14:28:06 +08:00
Derek McGowan
0efc498d3d
Prepare release notes for v1.7.0-rc.3
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-03-07 17:10:04 -08:00
Kazuyoshi Kato
29e10a192a
Merge pull request #8220 from AkihiroSuda/archive-discard-uname-gname
archive: disable looking up usernames and groupnames on the host
2023-03-07 12:55:18 -08:00
Kazuyoshi Kato
9746e0c3fd
Merge pull request #8222 from AkihiroSuda/otel-v1.14.0
go.mod: go.opentelemetry.io/otel/* v1.14.0
2023-03-07 11:34:18 -08:00
Kazuyoshi Kato
13bd93847d
Merge pull request #8225 from AkihiroSuda/comment-image-created-at
metadata: add comments about `Image.CreatedAt`
2023-03-07 11:28:22 -08:00
Akihiro Suda
ff4acdc42e
metadata: add comments about Image.CreatedAt
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-08 03:23:01 +09:00
Derek McGowan
94cf2f5099
Merge pull request #8216 from dmcgowan/prepare-v1.7.0-rc.2
Add release notes for v1.7.0-rc.2
2023-03-07 09:51:03 -08:00
Derek McGowan
744809b7ed
Merge pull request #8221 from AkihiroSuda/misc-20230307
go.mod: {hcsshim, containerd/*, go-restful/v3, mergo, klauspost/compress, opencontainers/*}@latest
2023-03-07 09:07:35 -08:00
Akihiro Suda
6d46bb410b
go.mod: go.opentelemetry.io/otel/* v1.14.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-08 02:06:41 +09:00
Akihiro Suda
d26587c725
archive: disable looking up usernames and groupnames on the host
These strings were resolved using the user information on the host
filesystem and were decreasing reproducibility.

For moby/buildkit issue 3688

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-08 02:04:40 +09:00
Akihiro Suda
535ef5054d
go.mod: github.com/stretchr/testify v1.8.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:39 +09:00
Akihiro Suda
2b4f830ede
go.mod: github.com/opencontainers/selinux v1.11.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:39 +09:00
Akihiro Suda
6bfc82dafe
go.mod: github.com/opencontainers/runtime-spec v1.1.0-rc.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:39 +09:00
Akihiro Suda
7c70185ae9
go.mod: github.com/klauspost/compress v1.16.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:39 +09:00
Akihiro Suda
8e67b27315
go.mod: github.com/imdario/mergo v0.3.13
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:38 +09:00
Akihiro Suda
6afec55581
go.mod: github.com/emicklei/go-restful/v3 v3.10.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:38 +09:00
Akihiro Suda
c4f928f88c
go.mod: github.com/containerd/ttrpc v1.2.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:38 +09:00
Akihiro Suda
5630d6a840
go.mod: github.com/containerd/fifo v1.1.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-07 22:06:38 +09:00