pub struct Repository {
pub name: String,
pub profile: String,
pub labels: Vec<String>,
pub paused: bool,
pub held: Option<Hold>,
pub queued: Vec<QueuedJob>,
pub runner_memory: Option<u64>,
pub runner_cpu: Option<u64>,
pub cpu_waiting_since: Option<SystemTime>,
pub warm: usize,
}Expand description
A repository as the planner sees it.
Fields§
§name: Stringowner/name on GitHub.
profile: StringThe profile its jobs run in.
labels: Vec<String>The labels its runners register with.
paused: boolPaused repositories get no new runners; their running jobs finish.
held: Option<Hold>No runner starts for this repository before then, after its runners failed.
queued: Vec<QueuedJob>Its queued jobs at the last poll.
runner_memory: Option<u64>What a new runner of it takes of the budget: None, its profile’s memory. Under measured admission, the
largest predicted peak of its queued jobs, since GitHub may give the runner any of them.
runner_cpu: Option<u64>What a new runner of it takes of the CPU budget, in millicores: None, its profile’s cpus. Under measured
admission, the largest predicted average CPU of its queued jobs.
cpu_waiting_since: Option<SystemTime>Since when its next job waits for CPU that a slot and memory have room for.
warm: usizeHow many idle runners it keeps beyond its queued jobs, for jobs not queued yet (warm::target).