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,
}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); 0 turns warm runners 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".