pub struct DeployVerifyResult {Show 13 fields
pub env: String,
pub gateway: String,
pub mode: String,
pub node: String,
pub project: String,
pub ok: bool,
pub slug: Option<&'static str>,
pub checks: Vec<Check>,
pub resources_checked: usize,
pub warnings: Vec<String>,
pub excluded_tag_providers: Vec<String>,
pub backup: Option<BackupReport>,
pub secrets: Option<SecretNamesReport>,
}Expand description
The ign deploy verify result (the envelope’s data).
Fields§
§env: StringThe --env value.
gateway: StringGateway directory name from the target.
mode: StringDeployment mode from the target.
node: StringThe node that was verified: master (the default), backup or
both.
project: StringThe WebDev project the tag probes were read through.
ok: boolTrue when no check failed.
slug: Option<&'static str>deploy_verify_failed when ok is false, else null.
checks: Vec<Check>The six checks in fixed order.
resources_checked: usizeDeclared resources read_back compared.
warnings: Vec<String>Non-failing notes.
excluded_tag_providers: Vec<String>The effective tag provider exclusion set: byte-sorted, always holds
System. Those providers were not read or checked.
backup: Option<BackupReport>The backup node’s checks (--node backup|both, V2 shape with
budget_s 0, waited_s 0 and resync null); absent for master.
secrets: Option<SecretNamesReport>The secret-name check of each node --node ran (V7); absent for
master.
Implementations§
Source§impl DeployVerifyResult
impl DeployVerifyResult
Sourcepub fn failure_exit_code(&self) -> Option<u8>
pub fn failure_exit_code(&self) -> Option<u8>
The red-verdict exit passthrough (Decision A), mirroring
crate::actions::testing::TestingRunResult::failure_exit_code:
Some(6) (target state) when a check failed, None otherwise. The
envelope renders first; the binary decides the exit after.