containerd / rust-extensions

Rust crates to extend containerd
https://containerd.io
Apache License 2.0
172 stars 66 forks source link

Release 0.7.0 of Shim and 0.5.0 of client #252

Closed jsturtevant closed 5 months ago

jsturtevant commented 5 months ago

There have been some dependency version increases, updates to the protobuf files and small improvements since last release.

In runwasi, we are blocked on an update since the containerd client wasn't on prost-types 12.x: https://github.com/containerd/runwasi/pull/488

mxpv commented 5 months ago

Client and shim-protos releases are here.

Interestingly shim publish job has failed.

mxpv commented 5 months ago

Hmm.. I can reproduce it locally. I wonder why wasn't it caught on CI:

$ cargo build -p containerd-shim                                                                                                                                                                                                                [took 10s] ✦    v1.71.1
   Compiling value-bag v1.7.0
  ...
   Compiling containerd-shim-protos v0.7.0 (/Users/mxpv/Github/rust-extensions/crates/shim-protos)
   Compiling containerd-shim v0.7.0 (/Users/mxpv/Github/rust-extensions/crates/shim)
error[E0308]: mismatched types
   --> crates/shim/src/synchronous/mod.rs:502:28
    |
502 |                 parent_fd: _listener.as_raw_fd(),
    |                            ^^^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `i32`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `containerd-shim` (lib) due to previous error
mxpv commented 5 months ago

The new shim release is here