pub struct ProjectsRunOptions<'a> {Show 13 fields
pub repo: PathBuf,
pub targets_root: PathBuf,
pub target_file: String,
pub master: NodeTarget,
pub designers: DesignersPolicy,
pub children_settle: Duration,
pub children_poll: Duration,
pub tag_verify_settle: Duration,
pub tag_verify_poll: Duration,
pub backup: Option<&'a dyn BackupTags>,
pub backup_policy: BackupPolicy,
pub tag_delete_ready: Duration,
pub tag_delete_poll: Duration,
/* private fields */
}Expand description
What deploy_projects_run needs besides the plan.
Fields§
§repo: PathBufThe project repo root: the run directory lives below it.
targets_root: PathBufThe root target_file and a relative known_hosts or data_dir
resolve against (--targets, default the repo).
target_file: StringThe target file’s name below the targets root.
master: NodeTargetThe master node. The import and the record go here and nowhere else;
nodes.backup is never written (the redundancy sync carries the
project and the tags to it) and is read only through backup.
designers: DesignersPolicy--designers, --designers-timeout and the poll interval (25-14).
children_settle: DurationThe longest the children sweep waits for the children’s exports to
settle (K7); the CLI passes CHILDREN_SETTLE_S seconds.
children_poll: DurationHow often the sweep reads the children while it waits; the CLI passes
CHILDREN_POLL_S seconds. The engine tests pass short values, never
an environment variable.
tag_verify_settle: DurationThe longest the tag verify waits for two reads of every owned
provider to agree; the CLI passes TAG_VERIFY_SETTLE_S seconds.
tag_verify_poll: DurationHow often the tag verify reads while it waits; the CLI passes
TAG_VERIFY_POLL_S seconds.
backup: Option<&'a dyn BackupTags>The backup node of a redundant pair, read only (26-13): a tag-owning
run waits for it after a green run and after a verified rollback.
None for a target without nodes.backup: no backup call is made.
backup_policy: BackupPolicyHow long that wait lasts and how often it looks (--backup-timeout).
Unused without backup.
tag_delete_ready: DurationThe longest a tag-owning run waits for the master’s tagDelete route
to answer its handshake before the first write (26-19); the CLI
passes crate::deploy::tag_delete::TAG_DELETE_READY_TIMEOUT_S
seconds. Unused without a configured route.
tag_delete_poll: DurationThe pause between two handshakes of that wait; the CLI passes
crate::deploy::tag_delete::TAG_DELETE_READY_POLL_S seconds.