Commit Graph

14024 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
87dd4309db vendor: github.com/containerd/platforms v0.2.1
- Remove hcsshim import from repo
    - un-exports GetOsVersion
- Update windows matcher to not compare empty os version

full diff: https://github.com/containerd/platforms/compare/v0.2.0...v0.2.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-12 00:54:03 +02:00
Maksym Pavlenko
e840d1d9cc Merge pull request #10286 from dmcgowan/update-tls-fallback-default-ports
Allow fallback across default ports
2024-06-11 17:11:42 +00:00
Maksym Pavlenko
9c4ca8676b Merge pull request #10320 from containerd/dependabot/go_modules/github.com/checkpoint-restore/checkpointctl-1.2.0
build(deps): bump github.com/checkpoint-restore/checkpointctl from 1.1.0 to 1.2.0
2024-06-11 17:10:49 +00:00
Maksym Pavlenko
8247b5755a Merge pull request #10321 from ktock/ctr-local-flag-deps
ctr: return explicit errors for flags unsupported by transfer service
2024-06-11 17:10:28 +00:00
Derek McGowan
3debabbccd Merge pull request #10324 from ktock/golangci-lint-1.59.1
CI:  bump up golangci-lint to v1.59.1
2024-06-11 13:13:19 +00:00
Kohei Tokunaga
939135ae36 CI: golangci-lint v1.59.1
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-06-11 20:17:35 +09:00
Kohei Tokunaga
df7f6ba5b9 ctr: return explicit errors for flags unsupported by transfer service
ctr currently silently ignores several flags by default (without --local) and
the user can't know which flags are supported until they see the code.
This commit fixes ctr to return an explicit error when it finds an unsupported
flag.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-06-11 12:08:47 +09:00
dependabot[bot]
686a610ee7 build(deps): bump github.com/checkpoint-restore/checkpointctl
Bumps [github.com/checkpoint-restore/checkpointctl](https://github.com/checkpoint-restore/checkpointctl) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/checkpoint-restore/checkpointctl/releases)
- [Commits](https://github.com/checkpoint-restore/checkpointctl/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/checkpoint-restore/checkpointctl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:34:36 +00:00
dependabot[bot]
156458e544 build(deps): bump the golang-x group with 2 updates
Bumps the golang-x group with 2 updates: [golang.org/x/mod](https://github.com/golang/mod) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/mod` from 0.17.0 to 0.18.0
- [Commits](https://github.com/golang/mod/compare/v0.17.0...v0.18.0)

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

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- 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-06-10 23:34:26 +00:00
Samuel Karp
4a18adcfca Merge pull request #10304 from AkihiroSuda/ci-add-back-rocky8
CI: add back EL 8
2024-06-10 16:50:15 +00:00
Akihiro Suda
08c1e12e9b CI: add back EL 8
Add back EL 8 to test legacy compatibility

Follow-up to PR 10297

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-06-08 19:50:39 +09:00
Maksym Pavlenko
378a502fb2 Merge pull request #10310 from kiashok/update-hcsshim-0.12.4
Update hcsshim tag to 0.12.4
2024-06-07 18:40:32 +00:00
Kirtana Ashok
149ca6880a Update hcsshim tag to 0.12.4
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-06-07 07:47:01 -07:00
Maksym Pavlenko
45bc430dd1 Merge pull request #10294 from dmcgowan/fail-integration-test-on-plugin-fail
Fail integration test early when a plugin load fails
2024-06-06 00:44:04 +00:00
Derek McGowan
b1a23c495a Fail integration test early when a plugin load fails
Avoid running tests when a plugin fails to load and return the init
error from the plugin. This prevents the test failing later with an
unhelpful error and attempting to find the actual error in the daemon
logs.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-06-05 16:58:03 -07:00
Derek McGowan
d23c4b8b53 Use unix and windows specific connection error checks
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-06-05 14:39:57 -07:00
Derek McGowan
02b6c6939f Allow fallback across default ports
When no port is specified, allow falling back from 443 to 80 when
http is specified along with a TLS configuration.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-06-05 14:39:57 -07:00
Maksym Pavlenko
34d3c17ae2 Merge pull request #10291 from ktock/push-platform-conf
Transfer: Push: Enable to specify platforms
2024-06-05 21:28:09 +00:00
Maksym Pavlenko
4c2737939e Merge pull request #10293 from containerd/dependabot/go_modules/github.com/containerd/containerd/api-1.8.0-rc.2
build(deps): bump github.com/containerd/containerd/api from 1.8.0-rc.0 to 1.8.0-rc.2
2024-06-05 21:26:49 +00:00
dependabot[bot]
80ce8bd612 build(deps): bump github.com/containerd/containerd/api
Bumps [github.com/containerd/containerd/api](https://github.com/containerd/containerd) from 1.8.0-rc.0 to 1.8.0-rc.2.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/api/v1.8.0-rc.0...api/v1.8.0-rc.2)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 08:09:12 +00:00
Fu Wei
d4148d94cc Merge pull request #10302 from ktock/ctr-pull-label
ctr: pull: Do not ignore labels when transfer service is used
2024-06-05 06:06:11 +00:00
Kohei Tokunaga
cde2527fce ctr: pull: Do not ignore labels when transfer service is used
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-06-05 12:26:00 +09:00
Samuel Karp
222db53917 Merge pull request #10296 from dmcgowan/update-go-1.22.4
Update Go version to 1.22.4
2024-06-04 23:48:30 +00:00
Derek McGowan
1c123efb41 Update Go version to 1.22.4
Includes fix for a symlink race on remove.
Updates 1.21 to 1.21.11 for runc install which also includes the
symlink fix.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-06-04 15:46:09 -07:00
Derek McGowan
6005d839be Merge pull request #10297 from dmcgowan/update-rockylinux-vagrant
Update rockylinux vagrant build
2024-06-04 15:45:23 -07:00
Derek McGowan
e1e793e4ab Update rockylinux vagrant build
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-06-04 14:38:12 -07:00
Kohei Tokunaga
5611fdd4af Transfer: Push: Enable to specify platforms
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-06-04 10:02:13 +09:00
Maksym Pavlenko
1369112514 Merge pull request #10287 from ktock/transfer-push-dup
Transfer: Push: fix failure on pushing duplicated blobs
2024-06-04 00:11:56 +00:00
Derek McGowan
5d6a94a54c Merge pull request #10243 from dmcgowan/update-shim-manager-config
Cleanup shim manager configuration
2024-06-03 17:22:36 +00:00
Kohei Tokunaga
0e8cc91463 Transfer: Push: fix failure on pushing duplicated blobs
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-05-31 18:08:45 +09:00
Fu Wei
21c244d436 Merge pull request #10274 from fuweid/fix-10228
*: export RemoveVolatileOption for CRI image volumes
2024-05-30 21:52:49 +00:00
Wei Fu
4123170a39 *: export RemoveVolatileOption for CRI image volumes
Remove volatile option when CRI prepares image volumes.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-05-30 09:56:37 +08:00
Derek McGowan
eb8b3de9d3 Merge pull request #10264 from austinvazquez/disable-make-latest
Explicitly set release latest to false
2024-05-29 21:56:20 +00:00
Maksym Pavlenko
080d35b9ea Merge pull request #10279 from dmcgowan/api-type-alias-envelope
Add type alias for event Envelope
2024-05-29 20:47:53 +00:00
Derek McGowan
3e71ccafc4 Add type alias for event Envelope
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-29 11:10:57 -07:00
Maksym Pavlenko
a5ba3b70b3 Merge pull request #10276 from dmcgowan/api-minimum-go-version
Update api minimum Go version to 1.21
2024-05-29 17:31:14 +00:00
Akihiro Suda
1529259077 Merge pull request #10275 from dmcgowan/imgcrypt-revendor
Re-enable imgcrypt
2024-05-29 16:54:47 +00:00
Fu Wei
5d2c988a5a Merge pull request #10201 from abel-von/retry-remote-sandbox-wait
sandbox: do retry for wait to remote sandbox controller
2024-05-29 00:00:29 +00:00
Derek McGowan
da1d9672f6 Enable imgcrypt in cri pull
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-28 13:50:06 -07:00
Derek McGowan
9857afda44 Add vendor for github.com/containerd/imgcrypt
Updates to version using containerd v2.0.0-rc

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-28 13:49:34 -07:00
Derek McGowan
359d84351d Update api minimum go version to 1.21
A higher go build version is not required for the API

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-28 13:05:03 -07:00
Maksym Pavlenko
6383a1ce76 Merge pull request #10258 from bzsuni/bz/update/pause
update pause image to 3.10
2024-05-28 18:01:23 +00:00
Samuel Karp
e32090e044 Merge pull request #10273 from thaJeztah/remove_use_of_platform_alias
remove uses of platforms.Platform alias
2024-05-28 17:29:40 +00:00
Sebastiaan van Stijn
446e63579c remove uses of platforms.Platform alias
Commit 3c8469a782 removed uses of the api
types.Platform type from public interfaces, instead using the type from
the OCI image spec.

For convenience, it also introduced an alias in the platforms package.
While this alias allows packages that already import containerd's
platforms package (now a separate module), it may also cause confusion
(it's not clear that it's an alias for the OCI type), and for packages
that do not depend on containerd's platforms package / module may now
be resulting in an extra dependency.

Let's remove the use of this alias, and instead use the OCI type directly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-05-28 14:56:30 +02:00
Austin Vazquez
2d73340c2c Explicitly set release latest to false
This change explicitly sets mainline releases as not latest.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-05-25 15:27:48 +00:00
bzsuni
22f2af40c0 update pause image to 3.10
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-05-25 08:17:46 +08:00
Derek McGowan
45e30913bc Merge pull request #10257 from akhilerm/fix-unknown-platform
core/image: fix usage of "unknown" platform
2024-05-23 21:23:18 +00:00
Akhil Mohan
65024e6fd1 core/image: fix usage of "unknown" platform
"unknown" should not be returned as a valid platform
supported by the image

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-05-23 16:35:44 +05:30
Derek McGowan
ca59fb0b41 Cleanup shim manager configuration
Keep platforms configuration on task manager and add environment config
for shims.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-05-22 11:06:53 -07:00
Akihiro Suda
ccc41e6705 Merge pull request #10251 from mxpv/runtime
Provide runtime options in plugin info
2024-05-21 20:34:34 +00:00