Skip to main content

run

Function run 

Source
pub fn run(
    manifest: &Manifest,
    image_digest: &str,
    runtime: &dyn ContainerRuntime,
) -> Result<ConformanceResult>
Expand description

Run the smoke check for a manifest using the given runtime.

For every binary in [tool.binaries] (or the entrypoint command for single-binary tools), try a small set of probe args. A binary passes if any probe exits 0. Tool authors can override the probe list per binary, or skip individual binaries, via [tool.smoke].

Returns Ok(result) even on conformance failures; Err only on setup errors (e.g. tempdir creation).