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
Jorge Prendes
35980682a6
Consolidate the NamedPipeLogger into the FifoLogger
...
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-03-19 23:25:14 +00:00
Jorge Prendes
f4fdddc5e5
ignore advisory with proc-macro-error and protobuf to unblock CI
...
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2025-03-19 22:54:47 +00:00
Jiaxiao (mossaka) Zhou
8fba47295b
feat(shim): make logger module public
...
Downstream shim implementations can use this module to setup logger by
themselves. One example is runwasi's container process needs to use this
module to setup logger so that logs from the container process can be
populated to containerd.
Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
2025-02-25 23:17:12 +00:00
jokemanfire
906bd0f466
Update publisher err deal.
...
ref:https://github.com/containerd/ttrpc-rust/pull/259
Due to the inclusion of the latest version of ttrpc, this part of the code has been updated
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-02-24 18:54:43 +00:00
Kyle Kosic
559cc576b9
add experimental flag
2025-02-20 18:20:05 +00:00
Phil Estes
9d9cc05d18
Add example using the transfer service
...
Pulls an image to the containerd content store
Signed-off-by: Phil Estes <estesp@amazon.com>
2025-02-01 06:55:48 +00:00
Maksym Pavlenko
822a065062
Add Jiaxiao Zhou to reviewers
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-31 19:05:21 +00:00
Maksym Pavlenko
cd926a2d89
Remove --files-with-diff
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-31 11:09:25 -08:00
Maksym Pavlenko
ae876e3a33
Fix shim dependency
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-28 12:06:30 -08:00
Maksym Pavlenko
c016d933ed
Bump shim crate version to 0.8
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-28 11:59:33 -08:00
Maksym Pavlenko
2d999680fe
Fix publish?
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-28 11:49:18 -08:00
Maksym Pavlenko
ef81c80577
Bump shim protos to 0.8
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-28 11:30:33 -08:00
jokemanfire
e5db241747
Fix complie error
...
1. update ttrpc version
2. proto3 syntax "To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default"
3. compile fail because "required for the cast from `Arc<std::boxed::Box<<T as asynchronous::Shim>::T>>` to `Arc<(dyn containerd_shim_protos::shim_async::Task + std::marker::Send + Sync + 'static)>`"
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-01-27 20:08:08 +00:00
dependabot[bot]
26b783c0b4
build(deps): bump actions/stale from 9.0.0 to 9.1.0
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](28ca103628...5bef64f19d )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 20:06:30 +00:00
jokemanfire
545b0e789e
Add info for get runtimeinfo
...
This interface is already in goshim.
Use containerd-shim-runc-v2 --info.
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-01-27 20:06:12 +00:00
Maksym Pavlenko
1f1e38dc06
Bump client to 0.8.0
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2025-01-16 13:46:49 -08:00