Standalone workspace crates for BuildKit image building and containerd container execution. Config types, YAML schema integration, compiler dispatch, validation rules, and mock-based unit tests. Current implementation shells out to buildctl/nerdctl — will be replaced with proper gRPC clients (buildkit-client, containerd protos) in a follow-up. Config types, YAML integration, and test infrastructure are stable and reusable. wfe-buildkit: 60 tests, 97.9% library coverage wfe-containerd: 61 tests, 97.8% library coverage 447 total workspace tests.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "wfe-yaml"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "YAML workflow definitions for WFE"
|
|
|
|
[features]
|
|
default = []
|
|
deno = ["deno_core", "deno_error", "url", "reqwest"]
|
|
buildkit = ["wfe-buildkit"]
|
|
containerd = ["wfe-containerd"]
|
|
|
|
[dependencies]
|
|
wfe-core = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
tokio = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
regex = { workspace = true }
|
|
deno_core = { workspace = true, optional = true }
|
|
deno_error = { workspace = true, optional = true }
|
|
url = { workspace = true, optional = true }
|
|
reqwest = { workspace = true, optional = true }
|
|
wfe-buildkit = { workspace = true, optional = true }
|
|
wfe-containerd = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util", "process"] }
|
|
tokio-util = "0.7"
|
|
wfe-core = { workspace = true, features = ["test-support"] }
|
|
wfe = { path = "../wfe" }
|
|
wiremock = { workspace = true }
|
|
tempfile = { workspace = true }
|