pub struct Rebuild {
pub enabled: bool,
pub staged: bool,
pub state_root: Option<String>,
pub lock_timeout: u64,
pub backend: String,
pub grace_hours: Option<u32>,
pub prepare: Option<String>,
pub ledger_config: Option<String>,
}Expand description
Staged rebuild.
Fields§
§enabled: boolSet false to skip the phase.
staged: boolRoute a line through eb-staged-rebuild run when it carries --rebuild, -f or --force as a whole option and its module is already installed. A target can override this with staged.
state_root: Option<String>--state-root. {target} expands to the target name, which gives each target a state root and a lock of its own; check refuses it when two staged targets share a software root, and any other placeholder. Unset, eb-staged-rebuild takes EB_STAGED_REBUILD_STATE_ROOT, which a module can set where eb-pipeline cannot see it, else .eb-staged-rebuild next to the software tree.
lock_timeout: u64--lock-timeout: seconds a staged line waits for the state root’s lock, which another eb-staged-rebuild holds for the whole of its build and publish; 0 refuses at once. A line whose wait runs out is refused.
backend: Stringauto, bwrap, userns or installpath.
grace_hours: Option<u32>--grace-hours.
prepare: Option<String>Executable passed as --prepare.
ledger_config: Option<String>JSON file passed as --ledger-config. A target can override this with ledger_config.