Commit Graph

13981 Commits

Author SHA1 Message Date
Akihiro Suda
bfdc224861 Merge pull request #9920 from AkihiroSuda/cri-tools-20240304
critools-version: v1.30.0
2024-05-07 21:27:53 +00:00
Derek McGowan
c7fb8a9255 Update metadata snapshotter to lease on exists
Currently the metadata snapshotter is not consistently adding keys to a
lease when already exists is returned. When a lease is provided, any
already exists errors should add the relevant key to the lease. It is
not expected that clients must explicitly lease a key after calling
Prepare/Commit.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-07 11:27:05 -07:00
Derek McGowan
a993add92e Merge pull request #10184 from containerd/dependabot/go_modules/google.golang.org/protobuf-1.34.1
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1
2024-05-07 17:53:47 +00:00
Fu Wei
313fc12b8a Merge pull request #9965 from abel-von/streaming-io
cri: support io by streaming API
2024-05-07 14:22:12 +00:00
Phil Estes
c5f538c4c4 Merge pull request #10147 from containerd/dependabot/github_actions/lycheeverse/lychee-action-1.10.0
build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0
2024-05-07 14:21:21 +00:00
Abel Feng
b8dfb4d8f5 cri: support io by streaming api
Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-05-07 20:26:40 +08:00
Wei Fu
3b065cdddb CI: skip test in arm64 CI
Co-authored-by: Wei Fu <fuweid89@gmail.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-05-07 21:24:28 +09:00
Akihiro Suda
6c3c5376fc critools-version: v1.30.0
Pulls in kubernetes-sigs/cri-tools PR 1344 (`KEP-3857: Recursive Read-only (RRO) mounts`)
to test PR 9787

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-05-07 21:23:51 +09:00
Akihiro Suda
45b49487e5 Merge pull request #10183 from containerd/dependabot/go_modules/go.etcd.io/bbolt-1.3.10
build(deps): bump go.etcd.io/bbolt from 1.3.9 to 1.3.10
2024-05-07 05:07:15 +00:00
dependabot[bot]
b488e76db6 build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 04:55:53 +00:00
Maksym Pavlenko
cd7825da08 Merge pull request #9883 from abel-von/modify-sandbox-client
sandbox: modify sandbox client
2024-05-07 04:16:57 +00:00
Maksym Pavlenko
c0e34fb7c8 Merge pull request #10174 from dcantah/simplify-errs
Chore: Simplify some syscall error checks
2024-05-07 03:32:49 +00:00
Akihiro Suda
e151b4d054 Merge pull request #10182 from containerd/dependabot/go_modules/github.com/pelletier/go-toml/v2-2.2.2
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2
2024-05-07 03:17:41 +00:00
Akihiro Suda
6e9273c466 Merge pull request #10181 from containerd/dependabot/go_modules/golang-x-1f871509c5
build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 in the golang-x group
2024-05-07 03:17:18 +00:00
dependabot[bot]
a6e417dc63 build(deps): bump go.etcd.io/bbolt from 1.3.9 to 1.3.10
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.9 to 1.3.10.
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.9...v1.3.10)

---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:16:38 +00:00
dependabot[bot]
4401c3cb7e build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml)
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:16:30 +00:00
dependabot[bot]
42e02c6c0b build(deps): bump golang.org/x/sys in the golang-x group
Bumps the golang-x group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.19.0 to 0.20.0
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:16:18 +00:00
Maksym Pavlenko
c30ac85477 Merge pull request #10176 from akhilerm/remove-go-1.21
remove go1.21.9 from CI matrix
2024-05-06 22:36:08 +00:00
Maksym Pavlenko
7686062c4e Merge pull request #10178 from dmcgowan/update-api-1.8-0-rc.0
Update containerd api to v1.8.0-rc.0
2024-05-06 19:45:23 +00:00
Phil Estes
04c7d6ccbf Merge pull request #9960 from adrianreber/2024-03-12-criu-not-found
Return correct error if CRIU binary is missing
2024-05-06 19:41:38 +00:00
Maksym Pavlenko
6c72ad9565 Merge pull request #10171 from fuweid/follow-up-10158
core/metadata: failfast on content.Commit
2024-05-06 19:23:52 +00:00
Derek McGowan
88b52119ce Update api version to v1.8.0-rc.0
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-06 11:11:52 -07:00
Derek McGowan
1c9c64f316 Update release procedure to mention api replace
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-06 11:11:52 -07:00
Derek McGowan
e69efd56d6 Add go mod replace when proto changes happen
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-06 11:03:07 -07:00
Abel Feng
678137199a sandbox: remove PID() in sandbox client
which is not used and for some sandbox implementation, we may not get
the pid of a sandbox.

Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-05-07 00:51:33 +08:00
Maksym Pavlenko
114ef75833 Merge pull request #10169 from AkihiroSuda/crun-1.15
CI: bump up crun to 1.15
2024-05-06 16:12:47 +00:00
Derek McGowan
cc4d86922b Merge pull request #10167 from dmcgowan/prepare-api-1.8.0
Prepare release notes for api/v1.8.0-rc.0
2024-05-06 15:58:56 +00:00
Akhil Mohan
13f2fa1de1 remove go1.21.9 from CI matrix
since go.mod got updated to go1.22, 1.22 is the minimum version to build
containerd. even if 1.21.9 is the version present on the host, go
command will build using 1.22.0 go version.

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-05-06 16:00:41 +05:30
Danny Canter
f0363a7f6b Chore: Simplify some syscall error checks
This just replaces some type casts to check whether a few dial errors are
a specific syscall with the stdlibs errors.As/errors.Is pals.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2024-05-06 00:44:13 -07:00
Derek McGowan
a26c686ea2 Merge pull request #10168 from dmcgowan/api-release-action
Add API release action
2024-05-04 22:34:23 +00:00
Wei Fu
99ad11a00a core/metadata: failfast on content.Commit
Close: #10158

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-05-04 17:24:00 +08:00
Akihiro Suda
3fb84403b1 CI: bump up crun to 1.15
Changes:
- https://github.com/containers/crun/releases/tag/1.14.4
- https://github.com/containers/crun/releases/tag/1.15

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-05-04 14:12:23 +09:00
Derek McGowan
55fcebffc7 Prepare release notes for api/v1.8.0
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-03 16:51:50 -07:00
Derek McGowan
b811a88793 Add API release action
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-03 16:26:11 -07:00
Maksym Pavlenko
b6ffa2794e Merge pull request #10164 from henry118/shim-fix
Update ctr shim subcommand to task v3
2024-05-03 19:37:36 +00:00
Kazuyoshi Kato
30fad38ce6 Merge pull request #10148 from containerd/dependabot/go_modules/otel-2cd70c4535
build(deps): bump the otel group with 8 updates
2024-05-03 18:17:10 +00:00
Kazuyoshi Kato
d65976b687 Merge pull request #10163 from dmcgowan/transfer-ttrpc-support
Add support for ttrpc in transfer and streaming service
2024-05-03 18:15:52 +00:00
Akihiro Suda
ef12da25e2 Merge pull request #9781 from kinvolk/rata/userns-use-pluginInfo
core/runtime: Check shim PluginInfo to enforce idmap support
2024-05-03 16:07:50 +00:00
Henry Wang
b8060d641d Update ctr shim subcommand to task v3
Signed-off-by: Henry Wang <henwang@amazon.com>
2024-05-03 15:25:48 +00:00
Rodrigo Campos
f1e265b138 core/runtime: Check shim PluginInfo to enforce idmap support
This commit gets rid of the TODO by moving the check to use the
pluginInfo() infrastructure.

The check is only enforced for shims that return info that can be read
as type runtime.Features. For shims that don't provide that, we just
ignore it, as those shims might not be affected by this.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-05-03 15:00:59 +02:00
Fu Wei
857dc6f89e Merge pull request #10162 from dmcgowan/cleanup-local-transfer
Cleanup local transfer interface
2024-05-03 10:40:46 +00:00
Derek McGowan
05a3171bb4 Update transfer proxy to support ttrpc
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 23:16:51 -07:00
Derek McGowan
ec04e4f638 Add streaming proxy
Signed-off-by: Derek McGowan <derek@mcg.dev>

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 22:38:14 -07:00
Fu Wei
193af78800 Merge pull request #10151 from dmcgowan/move-proto-to-api
Add api Go module and move all protos under api
2024-05-03 03:25:04 +00:00
Derek McGowan
fe01cad201 Cleanup local transfer interface
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 15:45:49 -07:00
Derek McGowan
171fc1434a Update release doc to mention API versioning
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 11:03:00 -07:00
Derek McGowan
2ac2b9c909 Make api a Go sub-module
Allow the api to stay at the same v1 go package name and keep using a
1.x version number. This indicates the API is still at 1.x and allows
sharing proto types with containerd 1.6 and 1.7 releases.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 11:03:00 -07:00
Derek McGowan
e1b94c0e7d Move protobuf package under pkg
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 10:52:03 -07:00
Derek McGowan
3e9cace720 Move runtimeoptions to api directory
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 10:52:02 -07:00
Derek McGowan
4a45507772 Move runc options to api directory
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-02 10:52:00 -07:00