Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/onboard-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@ import {
/** The Compose project name the vendored file declares. */
export const RUNNER_PROJECT = "catalyst-host";
export const RUNNER_SESSION_NETWORK = "catalyst-session-v1";
/** Supervisor from ee729b12 (Host images 38138827750); runner from
* 91a82214 (Runner image 38133282600). The watchdog retains its reviewed pin.
/** Catalyst's approved host release, generation 2 (hr-a19f7b0859a98147-9a96426c93e32173-63a9b20c3be3dc3e):
* runner, supervisor and watchdog all built from catalyst-cloud 2ec4a551. A machine set up from these
* pins then follows newer approved releases itself (`catalyst runner update`, CTC-4646).
* Explicit environment values override these pins; a saved runner image is preserved. */
export const RUNNER_HOST_IMAGES = {
supervisor:
"ghcr.io/coalesce-labs/catalyst-supervisor@sha256:3331ebc4204ae3975a4efb2c870c941f9c0f5ab435735e91dc9977941c91e9a8",
"ghcr.io/coalesce-labs/catalyst-supervisor@sha256:9a96426c93e32173a67e849aa5a462e9f5466b872e4117f9a8a7df1972b2a136",
watchdog:
"ghcr.io/coalesce-labs/catalyst-deadline-watchdog@sha256:a5999dbf229ac432b83c2ed3fe43fa251366baceb73af2f57590890a6a758f0d",
"ghcr.io/coalesce-labs/catalyst-deadline-watchdog@sha256:63a9b20c3be3dc3ea328d77aa68dece942a40be46cb3126d9a7868e082828feb",
runner:
"ghcr.io/coalesce-labs/catalyst-runner@sha256:9db2bf2c5580e2a1459fd076fa32c9af34456cc639ec3ab92b57b6ad98da67fb",
"ghcr.io/coalesce-labs/catalyst-runner@sha256:a19f7b0859a9814740935f7aadd8fe5c5c9c5974f9a5956a057b983ada16ea01",
} as const;
const IMAGE_REF = /^[a-z0-9][a-z0-9._:/-]{0,255}@sha256:[0-9a-f]{64}$/;
const HOST_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]{0,62}$/;
Expand Down
2 changes: 1 addition & 1 deletion test/onboard-runner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ describe("prerequisites", () => {
expect(ref).toMatch(/^ghcr\.io\/coalesce-labs\/[a-z-]+@sha256:[0-9a-f]{64}$/);
});

const PUBLIC_RUNNER = "ghcr.io/coalesce-labs/catalyst-runner@sha256:9db2bf2c5580e2a1459fd076fa32c9af34456cc639ec3ab92b57b6ad98da67fb";
const PUBLIC_RUNNER = "ghcr.io/coalesce-labs/catalyst-runner@sha256:a19f7b0859a9814740935f7aadd8fe5c5c9c5974f9a5956a057b983ada16ea01";
function defaultFixture() {
const engine = fakeEngine();
engine.images.set(RUNNER_HOST_IMAGES.supervisor, "arm64");
Expand Down
Loading