ci.footprint¶
Sum the window's runner-minutes by runner label; price them where GitHub would.
Reads the metrics series the gate job writes; CI is its only
writer, a local run reads. Every job of every run in the window,
or of the newest --since runs, is counted on one runner label:
a check leg on the runner its job name lists, every other job (the
gate job, the docs build, the release jobs) on the first runner
[ci] runners names, where the workflow places them. Per label
and kind the jobs and the minutes, then the total and the minutes
per 30 days from the window's span. A job without a wall time,
still running when the gate job collected or never started, is
counted apart and priced as nothing.
On GitHub, when the repository is public, the same minutes are priced at GitHub's rates for the standard runners of a private repository, by the class the label names (linux, windows, macos), with the total, the USD per 30 days and the source page: a public repository is not billed for them, and the price says what the matrix would cost one that is. On another forge, or on a private GitHub repository, nothing is priced.
Fails when the window holds no row: the gate job of a run on the forge writes one.
| Parameter | Type | Default | Description |
|---|---|---|---|
--since=INT |
int | 0 |
the newest runs read; 0 reads the whole window |