mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-13 03:26:54 +00:00
Add tools/packaging/kata-deploy/binary as a workspace member, inherit shared dependency versions from the root manifest, and refresh Cargo.lock. Build the kata-deploy image from the repository root: copy the workspace layout into the rust-builder stage, run cargo test/build with -p kata-deploy, and adjust artifact and static asset COPY paths. Update the payload build script to invoke docker buildx with -f .../Dockerfile from the repo root. Add a repo-root .dockerignore to keep the Docker build context smaller. Document running unit tests with cargo test -p kata-deploy from the root. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
39 lines
777 B
TOML
39 lines
777 B
TOML
[package]
|
|
name = "kata-deploy"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition = "2021"
|
|
license.workspace = true
|
|
rust-version = "1.90.0"
|
|
|
|
[[bin]]
|
|
name = "kata-deploy"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
clap.workspace = true
|
|
env_logger = "0.10"
|
|
k8s-openapi = { version = "0.26", default-features = false, features = [
|
|
"v1_33",
|
|
] }
|
|
kube = { version = "2.0", features = ["runtime", "derive"] }
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
regex.workspace = true
|
|
serde_json.workspace = true
|
|
serde_yaml = "0.9"
|
|
tokio = { workspace = true, features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"signal",
|
|
"time",
|
|
] }
|
|
toml_edit = "0.22"
|
|
walkdir = "2"
|
|
|
|
[dev-dependencies]
|
|
rstest.workspace = true
|
|
serial_test.workspace = true
|
|
tempfile.workspace = true
|