Commit Graph

664 Commits

Author SHA1 Message Date
Maksym Pavlenko cad809b01c Update nix to 0.30
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-09-05 01:06:18 +00:00
dependabot[bot] f74cf7402e build(deps): bump actions/labeler from 5 to 6
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:51:36 +00:00
dependabot[bot] c01d8e08e9 build(deps): bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:43:45 +00:00
dependabot[bot] ae6f4b4b2a build(deps): bump actions/stale from 9.1.0 to 10.0.0
Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](5bef64f19d...3a9db7e6a4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:28:15 +00:00
Maksym Pavlenko ba28bfb15d
Fix stale job configuration
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-08-28 16:19:58 -07:00
jokemanfire 10b41f16a6 fix(task): update debug is useless
The debug message in MessageFiled<Any> is useless

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-08-22 21:57:15 +00:00
jokemanfire 45387cd5e6 fix(cgroup) : fix cgroup update if cgroup path is release
avoid update cgroup path if init process cgroup is release

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-08-22 21:48:53 +00:00
dependabot[bot] 2055c40893 build(deps): bump bnjbvr/cargo-machete from 0.8.0 to 0.9.1
Bumps [bnjbvr/cargo-machete](https://github.com/bnjbvr/cargo-machete) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/bnjbvr/cargo-machete/releases)
- [Changelog](https://github.com/bnjbvr/cargo-machete/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bnjbvr/cargo-machete/compare/v0.8.0...v0.9.1)

---
updated-dependencies:
- dependency-name: bnjbvr/cargo-machete
  dependency-version: 0.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 21:26:31 +00:00
Fabiano Fidêncio 5e3fa79d7d Revert "workflows: Make `Tests` non-required"
This reverts commit 5aae0c3bf2, as the
test has been fixed and is behaving as expected.

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-08-15 21:09:05 +00:00
胡丁洋10346053 7259c1ce28 fix(shim): Under certain extreme conditions, the kill cannot be completed
Let kill call in single task for not holding the lock.
2025-08-15 06:01:32 +00:00
Fabiano Fidêncio 1458a10396 ci: Test with gnu and musl targets
Then we can ensure we don't end up with a similar issue that happend
with containerd-shim-protos not being buildable with musl on 0.9.0.

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-08-14 23:05:39 +00:00
dependabot[bot] e08126e522 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 19:48:40 +00:00
jokemanfire 6b81286549 Fix: update cgroups-rs for fix a bug
bug ref:
7d4d4579a3

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-08-02 22:43:43 +00:00
zzzzzzzzzy9 ae58ea3aed shim/loop-dev: fix setup_loop_dev returned error 2025-07-30 15:26:29 +00:00
Fabiano Fidêncio 42985376b5 Update dependencies
Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-07-18 22:00:07 +00:00
Fabiano Fidêncio 13ebc83b25 Bump shim crate to 0.10.0
Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-07-18 22:00:07 +00:00
Fabiano Fidêncio 608f5f0dc3 Update shim dependency
Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-07-18 21:44:27 +00:00
Fabiano Fidêncio cfd185006b Bump shim proto to 0.10.0
There was no change here, but we're bumping to keep the version the same
as the shim (which will be released soon enough).

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-07-18 21:44:27 +00:00
Fabiano Fidêncio 5aae0c3bf2 workflows: Make `Tests` non-required
As we've been constantly hitting:
```
 failures:

---- mount_linux::tests::test_setup_loop_dev stdout ----
thread 'mount_linux::tests::test_setup_loop_dev' panicked at crates/shim/src/mount_linux.rs:1174:9:
assertion failed: result.is_ok()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    mount_linux::tests::test_setup_loop_dev
```

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
2025-07-18 21:44:27 +00:00
Tim Zhang d8f28555b5 shim/loop-dev: fix variable undefined error for musl
Fixes: #413

Signed-off-by: Tim Zhang <tim@hyper.sh>
2025-07-18 10:24:34 -07:00
Tim Zhang 884ba3d6e1 shim: re-impl Events trait for async RemotePublisher
Fixes: https://github.com/containerd/rust-extensions/pull/318/files#r2212454388

Signed-off-by: Tim Zhang <tim@hyper.sh>
2025-07-17 11:16:54 +00:00
Maksym Pavlenko 4ae8331ea1
Update dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-07-16 14:22:42 -07:00
Maksym Pavlenko 333a23c22b
Bump shim crate to 0.9
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-07-16 14:22:02 -07:00
Maksym Pavlenko b5346f5390
Update shim dependency
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-07-16 14:15:25 -07:00
Maksym Pavlenko 3f82d7dc7e
Bump shim protos to 0.9.0
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-07-16 14:13:39 -07:00
Tim Zhang e4551b1013 shim-protos: replace ttrpc-codegen to the released crate version
The new version v0.6.0 has been released.

Signed-off-by: Tim Zhang <tim@hyper.sh>
2025-07-15 17:54:05 +00:00
jinda.ljd 0e4ff0c5da truncate backing file path exceeding 64 bytes in LoopInfo
When the backing file path exceeds 64 bytes, an 'out of range' error occurs due to the limitation of the `file_name` field in `LoopInfo`. This commit truncates the file path to ensure it does not exceed the maximum supported length, preventing the error while maintaining usability.

Signed-off-by: jinda.ljd <jinda.ljd@alibaba-inc.com>
2025-07-15 02:56:39 +00:00
zzzzzzzzzy9 afab3c8eba add some test for mount_rootfs and umount_recursive and setup_loop
Signed-off-by: zzzzzzzzzy9 <zhang.yu58@zte.com.cn>
2025-07-07 04:51:59 +00:00
zzzzzzzzzy9 11e97809b8 support loop-dev mount in mount_rootfs
Signed-off-by: zzzzzzzzzy9 <zhang.yu58@zte.com.cn>
2025-07-07 04:51:59 +00:00
zzzzzzzzzy9 15fbabcf8e Unmount the mount point of the container when the container is deleted.
Signed-off-by: zzzzzzzzzy9 <zhang.yu58@zte.com.cn>
2025-07-07 04:51:59 +00:00
zzzzzzzzzy9 6aa801807e move mount to mount_linux and mount_other
Signed-off-by: zzzzzzzzzy9 <zhang.yu58@zte.com.cn>
2025-07-07 04:51:59 +00:00
Maksym Pavlenko 220d6d6a65
Fix runc dependency
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-06-30 10:09:42 -07:00
Maksym Pavlenko b8107d6101
Bump runc crate version
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-06-30 09:54:17 -07:00
Bryant Biggs c0b92c4e96 chore: Update protobuf definitions using latest containerd version v2.1.1 2025-06-11 00:15:32 +00:00
Bryant Biggs 8469d6d7a8 chore: Bump ttrpc-codegen as well 2025-06-11 00:13:54 +00:00
Bryant Biggs ad6d647960 chore: Update protobuf dependency to latest 2025-06-11 00:13:54 +00:00
jokemanfire 055e49bf6f fix ut test
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-06-11 00:13:30 +00:00
jokemanfire 0a07bdde72 runc: split the lib's trait from lib to async and sync
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-06-11 00:13:30 +00:00
Bryant Biggs 468fbc0b4c chore: Move tokio dependency in `snapshots` to dev dependency 2025-06-11 00:09:51 +00:00
Bryant Biggs cd5a84d8a7 chore: Update tonic dependencies to latest 2025-06-11 00:07:41 +00:00
jokemanfire cea5523d20 fix(update): avoid update resource while the process is zombie
add a check in zombie init process

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-05-09 01:42:38 +00:00
dependabot[bot] 9b5727a28e build(deps): bump bnjbvr/cargo-machete from 0.7.0 to 0.8.0
Bumps [bnjbvr/cargo-machete](https://github.com/bnjbvr/cargo-machete) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/bnjbvr/cargo-machete/releases)
- [Changelog](https://github.com/bnjbvr/cargo-machete/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bnjbvr/cargo-machete/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: bnjbvr/cargo-machete
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 19:31:20 +00:00
Maksym Pavlenko 4744fafcd6 Remove Ubuntu 20.04 runners and bump containerd versions
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-05-08 18:40:27 +00:00
jokemanfire 3b42040af2 optimize: use a more user-friendly interface in ttrpc
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-15 03:41:12 +00:00
Jorge Prendes 8130e41939 remove dependency on signal-hook-tokio
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-04-10 16:27:31 +00:00
Jorge Prendes 2a098d9f69 re-enable cargo machete
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-04-09 14:23:23 +00:00
Jorge Prendes 59589df20f ping grcov version
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-04-09 13:47:06 +00:00
Jorge Prendes 18fcf6bc52 remove unused dependencies
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-03-19 23:27:16 +00:00
Jorge Prendes 277a1a65f2 use windows activation strategy on async code
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-03-19 23:27:16 +00:00
Jorge Prendes df1b8f05dd use windows activation strategy on all platforms in sync code
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-03-19 23:27:16 +00:00