pub struct ReleaseConfig {Show 18 fields
pub flake_dir: PathBuf,
pub fleet_resolved_attr: String,
pub hosts: HostsSpec,
pub push_cmd: Option<String>,
pub sign_cmd: String,
pub signature_algorithm: String,
pub release_dir: PathBuf,
pub artifact_name: String,
pub git_commit: bool,
pub git_push: Option<GitPushTarget>,
pub commit_template: String,
pub git_user_name: Option<String>,
pub git_user_email: Option<String>,
pub smoke_verify: bool,
pub reuse_unchanged_signature: bool,
pub revocations_attr: Option<String>,
pub bootstrap_nonces_attr: Option<String>,
pub pin_source_url: Option<String>,
}Expand description
CLI-assembled config consumed by run.
Fields§
§flake_dir: PathBuf§fleet_resolved_attr: StringDefault .#fleet.resolved.
hosts: HostsSpec§push_cmd: Option<String>Env: NIXFLEET_HOST, NIXFLEET_PATH, NIXFLEET_CLOSURE_HASH.
sign_cmd: StringEnv: NIXFLEET_INPUT (canonical bytes), NIXFLEET_OUTPUT
(where hook writes raw signature). Required.
signature_algorithm: Stringed25519 | ecdsa-p256.
release_dir: PathBuf§artifact_name: String§git_commit: bool§git_push: Option<GitPushTarget>§commit_template: String§git_user_name: Option<String>§git_user_email: Option<String>§smoke_verify: boolStructural smoke verify: canonicalize round-trip + schema parse + non-zero sig length. Default on.
reuse_unchanged_signature: boolReuse signedAt when closureHashes match - produces byte-stable
releases on no-op runs.
revocations_attr: Option<String>Flake attr yielding the revocations list. When set, the pipeline signs
revocations.json alongside fleet.resolved.json via the same
sign_cmd. None skips the revocations artifact.
bootstrap_nonces_attr: Option<String>Flake attr yielding the bootstrap-nonces list. When set, the pipeline
signs bootstrap-nonces.json alongside fleet.resolved.json via the
same sign_cmd. None skips the artifact entirely (which means CP
enrolment is unusable in strict mode - only used in dev/test).
pin_source_url: Option<String>Source URL for building pinned hosts at non-current commits. Optional
at the type level but required at runtime iff any non-expired host pin
specifies a commit different from the current release commit
(validation in validate_pin_source_url).
Trait Implementations§
Source§impl Clone for ReleaseConfig
impl Clone for ReleaseConfig
Source§fn clone(&self) -> ReleaseConfig
fn clone(&self) -> ReleaseConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more