pub struct ProjectsRunOptions<'a> {
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,
/* 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 contacted (the redundancy sync carries the
project to it).
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.