Skip to content
refs
History
15 lines · 646 BRaw
1import type { JobRunner } from "./job-runner.ts";
2import type { JobSlots } from "./job-slots.ts";
3import type { RunHub } from "./run-hub.ts";
4import type { RunParams } from "./run-pipeline.ts";
5
6export interface CiEnv {
7 readonly ARTIFACTS: Artifacts;
8 readonly DB: D1Database;
9 readonly RUN_HUB: DurableObjectNamespace<RunHub>;
10 readonly JOB_RUNNER: DurableObjectNamespace<JobRunner>;
11 readonly JOB_SLOTS: DurableObjectNamespace<JobSlots>;
12 readonly RUNS: Workflow<RunParams>;
13 /** 32 random bytes in base64. It wraps the key of every CI secret. Without it, secrets can be neither saved nor read. */
14 readonly CI_SECRETS_KEY?: string;
15}