Files
containerd/.github
Maksym Pavlenko 8859265706 ci: install the Rust runc shim from crates.io
Install the pinned release of containerd-runc-shim with cargo install
instead of building the tip of rust-extensions' main, so the Rust legs
run a known shim that does not change underneath the PR. The build no
longer runs inside rust-extensions, whose rust-toolchain.toml used to
pick the toolchain, so pin one here instead.

Building the shim takes a minute or two per Rust leg, and its inputs
are fixed by the pinned crate version, toolchain and runner image, so
keep the installed binary in the actions cache keyed on those and only
run cargo install, and install the toolchain, when it is missing.

CRI only types runtime options for io.containerd.runc.v2, so the Rust
shim got generic options and SystemdCgroup never reached it. Configure
it as the runc runtime's binary through runtime_path instead.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-10-30 13:20:13 -07:00
..
2026-10-20 21:44:50 +02:00