Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth authenticates the service's callers (specs/0001-architecture.md, Endpoints): GitHub's webhook deliveries by their HMAC signature, Google's signed calls from the scheduler and push subscriptions, and the service's machines by their Compute Engine identity tokens.
|
Package auth authenticates the service's callers (specs/0001-architecture.md, Endpoints): GitHub's webhook deliveries by their HMAC signature, Google's signed calls from the scheduler and push subscriptions, and the service's machines by their Compute Engine identity tokens. |
|
Package bases makes the service's base images (specs/0003-disks.md, Base images): one per architecture, lsr-base-<arch>-<key>, whose key covers everything that goes into it.
|
Package bases makes the service's base images (specs/0003-disks.md, Base images): one per architecture, lsr-base-<arch>-<key>, whose key covers everything that goes into it. |
|
Package binding binds each run's scope, once, in the bucket (specs/0002-machines.md, Binding a run).
|
Package binding binds each run's scope, once, in the bucket (specs/0002-machines.md, Binding a run). |
|
Package compute is the service's view of Compute Engine: its machines, their disks and the images they boot, in one project, through Google's REST client.
|
Package compute is the service's view of Compute Engine: its machines, their disks and the images they boot, in one project, through Google's REST client. |
|
Package consumer reads what a consumer's repository says to the service (specs/0005-interface.md, A consumer's files): its .github/runners.json, and the keys of its caches (specs/0003-disks.md, Keys).
|
Package consumer reads what a consumer's repository says to the service (specs/0005-interface.md, A consumer's files): its .github/runners.json, and the keys of its caches (specs/0003-disks.md, Keys). |
|
Package deploy orders the service's deploys, so that a revision a later deploy replaced makes no more machines or base images' builders (specs/0004-deployment.md, Which revision makes machines).
|
Package deploy orders the service's deploys, so that a revision a later deploy replaced makes no more machines or base images' builders (specs/0004-deployment.md, Which revision makes machines). |
|
Package disks keeps consumers' caches, and makes resume images of the work disks of jobs lost to a preemption or to the age limit (specs/0003-disks.md, specs/0002-machines.md, Preemption).
|
Package disks keeps consumers' caches, and makes resume images of the work disks of jobs lost to a preemption or to the age limit (specs/0003-disks.md, specs/0002-machines.md, Preemption). |
|
Package github is the service's view of GitHub: what it reads, as the organization's GitHub App installation, with every answer classed as confirmed or not.
|
Package github is the service's view of GitHub: what it reads, as the organization's GitHub App installation, with every answer classed as confirmed or not. |
|
Package lease keeps a lease in the bucket: an object taken with a generation precondition, valid for a fixed time unless renewed, and released by deleting exactly the generation its holder last wrote (specs/0001-architecture.md, Passes).
|
Package lease keeps a lease in the bucket: an object taken with a generation precondition, valid for a fixed time unless renewed, and released by deleting exactly the generation its holder last wrote (specs/0001-architecture.md, Passes). |
|
Package logging reads the service's machines' boot logs from Cloud Logging (specs/0002-machines.md, A machine's life): Compute Engine sends a machine's serial console there, and serves a stopped or deleted machine's console from nowhere else.
|
Package logging reads the service's machines' boot logs from Cloud Logging (specs/0002-machines.md, A machine's life): Compute Engine sends a machine's serial console there, and serves a stopped or deleted machine's console from nowhere else. |
|
Package machines gives queued jobs machines and ends their lives (specs/0002-machines.md, A machine's life): a pass makes a machine for each job that may have one, from one pool for every consumer, oldest job first, and deletes what's finished; the job-started check decides, from GitHub's records, whether the job a machine's runner took may run there; an admitted job asks for its work disk and its save in its steps; and the supervisor's report says the job is done.
|
Package machines gives queued jobs machines and ends their lives (specs/0002-machines.md, A machine's life): a pass makes a machine for each job that may have one, from one pool for every consumer, oldest job first, and deletes what's finished; the job-started check decides, from GitHub's records, whether the job a machine's runner took may run there; an admitted job asks for its work disk and its save in its steps; and the supervisor's report says the job is done. |
|
Package pass runs the reconciler's passes one at a time, under the lease (specs/0001-architecture.md, Passes): taken at the start, renewed every minute, released at the end, with an absolute deadline that caps every call a pass makes, and a stop to everything once a renewal fails.
|
Package pass runs the reconciler's passes one at a time, under the lease (specs/0001-architecture.md, Passes): taken at the start, renewed every minute, released at the end, with an absolute deadline that caps every call a pass makes, and a stop to everything once a renewal fails. |
|
Package pubsub publishes the webhook's checked deliveries to Pub/Sub (specs/0001-architecture.md, Components): each delivery's body as a message's data, with its event as the attribute "event", for the push subscription to deliver to the reconcile endpoint.
|
Package pubsub publishes the webhook's checked deliveries to Pub/Sub (specs/0001-architecture.md, Components): each delivery's body as a message's data, with its event as the attribute "event", for the push subscription to deliver to the reconcile endpoint. |
|
Package scope is a run's scope: where it may read and save disks (specs/0002-machines.md, Scope).
|
Package scope is a run's scope: where it may read and save disks (specs/0002-machines.md, Scope). |
|
Package selector reads the one label a job asks for a machine by (specs/0002-machines.md, Selectors):
|
Package selector reads the one label a job asks for a machine by (specs/0002-machines.md, Selectors): |
|
Package server is the service's HTTP interface, versioned under /v1/ (specs/0001-architecture.md, Endpoints).
|
Package server is the service's HTTP interface, versioned under /v1/ (specs/0001-architecture.md, Endpoints). |
|
Package servicetest wires the real service, its machines, disks and webhook, to this repository's emulators of GitHub, Google's issuers, Pub/Sub, Compute Engine and Cloud Storage, as a service.World: what the conformance suite drives.
|
Package servicetest wires the real service, its machines, disks and webhook, to this repository's emulators of GitHub, Google's issuers, Pub/Sub, Compute Engine and Cloud Storage, as a service.World: what the conformance suite drives. |
|
Package store keeps the service's records in its Cloud Storage bucket, with generation preconditions so that concurrent writers never overwrite each other unknowingly.
|
Package store keeps the service's records in its Cloud Storage bucket, with generation preconditions so that concurrent writers never overwrite each other unknowingly. |
|
Package tokens mints OAuth access tokens downscoped to one prefix of the caches' bucket, with Google's Credential Access Boundaries, from the service's own credentials (specs/0003-disks.md, Caches): a job gets one that may only read a version's objects, or one that may only create objects under its own version's prefix.
|
Package tokens mints OAuth access tokens downscoped to one prefix of the caches' bucket, with Google's Credential Access Boundaries, from the service's own credentials (specs/0003-disks.md, Caches): a job gets one that may only read a version's objects, or one that may only create objects under its own version's prefix. |
Click to show internal directories.
Click to hide internal directories.