pub struct Repository {
pub name: String,
pub profile: String,
pub labels: Vec<String>,
pub warm: u32,
pub build_cache: bool,
pub build_cache_writers: BuildCacheWriters,
pub rerun_runner_faults: bool,
}Expand description
A repository to serve: [[repositories]]. Each entry is one of the repository’s pools; entries with the same
name serve it in several profiles, each with its own labels, which no two of them share (ADR 0058).
Fields§
§name: Stringowner/name on GitHub.
profile: StringThe profile the jobs this pool’s labels match run in.
labels: Vec<String>The labels its runners register with; a job runs on them when every label it asks for is one of these.
warm: u32How many idle runners it keeps registered for jobs not queued yet while it is active (ADR 0050, 0107); 0 turns warm runners and bursts off. Default 1.
build_cache: boolWhether its runners get the shared build cache, when [caches.build] is enabled. Default true.
build_cache_writers: BuildCacheWritersWhose runs may write to the shared build cache besides the branches’ (ADR 0053), the same in every pool of
the repository. Default "default-branch".
rerun_runner_faults: boolWhether runnerd asks GitHub to re-run a run’s failed jobs, once per attempt, when its runner failed one of them
and none failed otherwise (ADR 0153), the same in every pool of the repository. Needs [github] job_actions.
Default false: a runner fault is read from the job’s own output, which its code could print.