mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 13:27:16 +00:00
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>