All checks were successful
Run Check Script / check (pull_request) Successful in 2m32s
The binary carried a dev nats+operator+agent stack with user/pass flags that no automated caller used (the e2e harness composes those Scores from the lib directly). Cut it: main.rs is now load FleetDeploySecrets → run one FleetOperatorScore. 265→118 lines. Matches ADR-023 (one Score per component, compose upward).
50 lines
1.7 KiB
TOML
50 lines
1.7 KiB
TOML
[package]
|
|
name = "harmony-fleet-deploy"
|
|
edition = "2024"
|
|
version.workspace = true
|
|
readme.workspace = true
|
|
license.workspace = true
|
|
description = "Deploy-side Scores for the fleet stack: operator, agent, NATS, callout. Imports harmony for the Score-Topology-Interpret machinery; consumed by the production CLI, the e2e harness, and future control-plane tooling."
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
# CLI entry point: deploy the published operator chart (harmony apply).
|
|
# Built on harmony_cli like the rest of the workspace's *-deploy crates.
|
|
[[bin]]
|
|
name = "harmony-fleet-deploy"
|
|
path = "src/main.rs"
|
|
|
|
# `harmony-fleet-release --from-tag <tag>` builds + publishes the
|
|
# operator's image + chart for a release.
|
|
[[bin]]
|
|
name = "harmony-fleet-release"
|
|
path = "src/bin/harmony-fleet-release.rs"
|
|
|
|
[dependencies]
|
|
harmony = { path = "../../harmony", features = ["podman"] }
|
|
harmony_cli = { path = "../../harmony_cli" }
|
|
harmony_config = { path = "../../harmony_config" }
|
|
harmony_types = { path = "../../harmony_types" }
|
|
harmony_macros = { path = "../../harmony_macros" }
|
|
harmony-fleet-auth = { path = "../harmony-fleet-auth" }
|
|
harmony-reconciler-contracts = { path = "../../harmony-reconciler-contracts" }
|
|
|
|
anyhow = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
clap = { workspace = true }
|
|
k8s-openapi = { workspace = true }
|
|
kube = { workspace = true, features = ["runtime", "derive"] }
|
|
log = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
non-blank-string-rs = "1"
|
|
schemars = "0.8"
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
tempfile = "3"
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
toml = { workspace = true }
|
|
tracing = { workspace = true }
|