@cat-factory/contracts 0.97.0 → 0.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/environments.d.ts +977 -67
- package/dist/environments.d.ts.map +1 -1
- package/dist/environments.js +13 -2
- package/dist/environments.js.map +1 -1
- package/dist/primitives.d.ts +23 -0
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +30 -0
- package/dist/primitives.js.map +1 -1
- package/dist/provider-config.d.ts +29 -5
- package/dist/provider-config.d.ts.map +1 -1
- package/dist/provider-config.js +33 -2
- package/dist/provider-config.js.map +1 -1
- package/dist/recurring.d.ts +3 -3
- package/dist/recurring.d.ts.map +1 -1
- package/dist/recurring.js +6 -1
- package/dist/recurring.js.map +1 -1
- package/dist/routes/environments.d.ts +601 -4
- package/dist/routes/environments.d.ts.map +1 -1
- package/dist/routes/recurring.d.ts +5 -5
- package/dist/routes/runners.d.ts +184 -2
- package/dist/routes/runners.d.ts.map +1 -1
- package/dist/routes/user-secret.d.ts +2 -2
- package/dist/routes/workspaces.d.ts +2 -2
- package/dist/runners.d.ts +292 -2
- package/dist/runners.d.ts.map +1 -1
- package/dist/runners.js +21 -3
- package/dist/runners.js.map +1 -1
- package/dist/snapshot.d.ts +1 -1
- package/dist/user-secret.d.ts +1 -1
- package/package.json +1 -1
package/dist/runners.d.ts
CHANGED
|
@@ -346,8 +346,65 @@ export declare const runnerPoolManifestSchema: v.ObjectSchema<{
|
|
|
346
346
|
}, undefined>;
|
|
347
347
|
}, undefined>;
|
|
348
348
|
export type RunnerPoolManifest = v.InferOutput<typeof runnerPoolManifestSchema>;
|
|
349
|
+
export declare const eksRunnerConfigSchema: v.ObjectSchema<{
|
|
350
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be an AWS region slug">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
351
|
+
readonly clusterName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
352
|
+
readonly stsHost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a bare host or host:port">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
353
|
+
/** Human label for the connection (shown in the UI). */
|
|
354
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
355
|
+
/** kube-apiserver root URL, e.g. `https://my-cluster.example:6443`. */
|
|
356
|
+
readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
357
|
+
/** Namespace the per-run pods are created in. */
|
|
358
|
+
readonly namespace: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a valid Kubernetes namespace">]>;
|
|
359
|
+
/** PEM CA bundle to verify the apiserver TLS cert (omit only for a publicly-trusted CA). */
|
|
360
|
+
readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
361
|
+
/** Skip apiserver TLS verification — strongly discouraged; kind/dev clusters only. */
|
|
362
|
+
readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
363
|
+
/** The executor-harness image the pod runs (the `default` image variant). */
|
|
364
|
+
readonly image: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
365
|
+
/** The heavier UI-tester image (Playwright), used for `image:'ui'` dispatches. */
|
|
366
|
+
readonly imageUi: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
367
|
+
/**
|
|
368
|
+
* The separate deploy-harness image (slim base + `kubectl`/`kustomize`/`helm`), used for
|
|
369
|
+
* `image:'deploy'` dispatches — a container-backed Kubernetes env provision. Absent ⇒ the
|
|
370
|
+
* pool can't render manifests, so a render-needing config fails loudly (the synchronous
|
|
371
|
+
* raw-manifest REST path is unaffected); set it to enable the pool's deploy backend.
|
|
372
|
+
*/
|
|
373
|
+
readonly imageDeploy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
374
|
+
/** Container port the harness HTTP server listens on (default 8080). */
|
|
375
|
+
readonly harnessPort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
376
|
+
/** Name of an `imagePullSecrets` entry for a private registry. */
|
|
377
|
+
readonly imagePullSecretName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
378
|
+
/** ServiceAccount the pod runs as (NOT the token used to call the apiserver). */
|
|
379
|
+
readonly serviceAccountName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
380
|
+
/** Default pod resource requests/limits applied to every run pod. */
|
|
381
|
+
readonly resources: v.OptionalSchema<v.ObjectSchema<{
|
|
382
|
+
readonly requests: v.OptionalSchema<v.ObjectSchema<{
|
|
383
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
384
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
385
|
+
}, undefined>, undefined>;
|
|
386
|
+
readonly limits: v.OptionalSchema<v.ObjectSchema<{
|
|
387
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
388
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
389
|
+
}, undefined>, undefined>;
|
|
390
|
+
}, undefined>, undefined>;
|
|
391
|
+
/** Per-instance-size limit overrides (t-shirt InstanceSize → cpu/memory). */
|
|
392
|
+
readonly resourcesBySize: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
393
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
394
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
395
|
+
}, undefined>, undefined>, undefined>;
|
|
396
|
+
/** Pod `nodeSelector`. */
|
|
397
|
+
readonly nodeSelector: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
398
|
+
/** Pod tolerations (passed through to the pod spec verbatim). */
|
|
399
|
+
readonly tolerations: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
400
|
+
/** Extra pod metadata labels. */
|
|
401
|
+
readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
402
|
+
/** Extra pod metadata annotations. */
|
|
403
|
+
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
404
|
+
}, undefined>;
|
|
405
|
+
export type EksRunnerConfig = v.InferOutput<typeof eksRunnerConfigSchema>;
|
|
349
406
|
/** Built-in runner backend kinds the contract knows by name. */
|
|
350
|
-
export declare const RESERVED_RUNNER_BACKEND_KINDS: readonly ['manifest', 'kubernetes'];
|
|
407
|
+
export declare const RESERVED_RUNNER_BACKEND_KINDS: readonly ['manifest', 'kubernetes', 'eks'];
|
|
351
408
|
/**
|
|
352
409
|
* The `kind` slug of a CUSTOM (third-party, programmatically-registered) runner backend:
|
|
353
410
|
* any lower-kebab slug that isn't a reserved built-in. A custom runner backend rides the
|
|
@@ -360,7 +417,8 @@ export declare const customRunnerBackendKindSchema: v.SchemaWithPipe<readonly [v
|
|
|
360
417
|
/**
|
|
361
418
|
* An "agent runner backend" config, discriminated by `kind`. This is the universal
|
|
362
419
|
* abstraction over WHERE repo-operating coding jobs run: the built-ins `manifest` (the BYO
|
|
363
|
-
* HTTP scheduler pool)
|
|
420
|
+
* HTTP scheduler pool), `kubernetes` (native per-run pods) and `eks` (native per-run pods on
|
|
421
|
+
* AWS EKS — the Kubernetes transport behind a minted IAM token), plus any CUSTOM kind a
|
|
364
422
|
* deployment registers by reference into the app-owned `RunnerBackendRegistry` (it rides the
|
|
365
423
|
* generic manifest member — NO new variant needed). Mirrors `environmentBackendConfigSchema`;
|
|
366
424
|
* the provider-registry seam keys on `kind`.
|
|
@@ -569,6 +627,64 @@ export declare const runnerBackendConfigSchema: v.VariantSchema<"kind", [v.Objec
|
|
|
569
627
|
/** Extra pod metadata annotations. */
|
|
570
628
|
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
571
629
|
}, undefined>;
|
|
630
|
+
}, undefined>, v.ObjectSchema<{
|
|
631
|
+
readonly kind: v.LiteralSchema<"eks", undefined>;
|
|
632
|
+
readonly eks: v.ObjectSchema<{
|
|
633
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be an AWS region slug">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
634
|
+
readonly clusterName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
635
|
+
readonly stsHost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a bare host or host:port">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
636
|
+
/** Human label for the connection (shown in the UI). */
|
|
637
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
638
|
+
/** kube-apiserver root URL, e.g. `https://my-cluster.example:6443`. */
|
|
639
|
+
readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
640
|
+
/** Namespace the per-run pods are created in. */
|
|
641
|
+
readonly namespace: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a valid Kubernetes namespace">]>;
|
|
642
|
+
/** PEM CA bundle to verify the apiserver TLS cert (omit only for a publicly-trusted CA). */
|
|
643
|
+
readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
644
|
+
/** Skip apiserver TLS verification — strongly discouraged; kind/dev clusters only. */
|
|
645
|
+
readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
646
|
+
/** The executor-harness image the pod runs (the `default` image variant). */
|
|
647
|
+
readonly image: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
648
|
+
/** The heavier UI-tester image (Playwright), used for `image:'ui'` dispatches. */
|
|
649
|
+
readonly imageUi: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
650
|
+
/**
|
|
651
|
+
* The separate deploy-harness image (slim base + `kubectl`/`kustomize`/`helm`), used for
|
|
652
|
+
* `image:'deploy'` dispatches — a container-backed Kubernetes env provision. Absent ⇒ the
|
|
653
|
+
* pool can't render manifests, so a render-needing config fails loudly (the synchronous
|
|
654
|
+
* raw-manifest REST path is unaffected); set it to enable the pool's deploy backend.
|
|
655
|
+
*/
|
|
656
|
+
readonly imageDeploy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
657
|
+
/** Container port the harness HTTP server listens on (default 8080). */
|
|
658
|
+
readonly harnessPort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
659
|
+
/** Name of an `imagePullSecrets` entry for a private registry. */
|
|
660
|
+
readonly imagePullSecretName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
+
/** ServiceAccount the pod runs as (NOT the token used to call the apiserver). */
|
|
662
|
+
readonly serviceAccountName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
663
|
+
/** Default pod resource requests/limits applied to every run pod. */
|
|
664
|
+
readonly resources: v.OptionalSchema<v.ObjectSchema<{
|
|
665
|
+
readonly requests: v.OptionalSchema<v.ObjectSchema<{
|
|
666
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
667
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
668
|
+
}, undefined>, undefined>;
|
|
669
|
+
readonly limits: v.OptionalSchema<v.ObjectSchema<{
|
|
670
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
671
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
672
|
+
}, undefined>, undefined>;
|
|
673
|
+
}, undefined>, undefined>;
|
|
674
|
+
/** Per-instance-size limit overrides (t-shirt InstanceSize → cpu/memory). */
|
|
675
|
+
readonly resourcesBySize: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
676
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
677
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
678
|
+
}, undefined>, undefined>, undefined>;
|
|
679
|
+
/** Pod `nodeSelector`. */
|
|
680
|
+
readonly nodeSelector: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
681
|
+
/** Pod tolerations (passed through to the pod spec verbatim). */
|
|
682
|
+
readonly tolerations: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
683
|
+
/** Extra pod metadata labels. */
|
|
684
|
+
readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
685
|
+
/** Extra pod metadata annotations. */
|
|
686
|
+
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
687
|
+
}, undefined>;
|
|
572
688
|
}, undefined>, v.ObjectSchema<{
|
|
573
689
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">, v.CheckAction<string, "reserved backend kind">]>;
|
|
574
690
|
readonly manifest: v.ObjectSchema<{
|
|
@@ -940,6 +1056,64 @@ export declare const runnerPoolConnectionSchema: v.ObjectSchema<{
|
|
|
940
1056
|
/** Extra pod metadata annotations. */
|
|
941
1057
|
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
942
1058
|
}, undefined>;
|
|
1059
|
+
}, undefined>, v.ObjectSchema<{
|
|
1060
|
+
readonly kind: v.LiteralSchema<"eks", undefined>;
|
|
1061
|
+
readonly eks: v.ObjectSchema<{
|
|
1062
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be an AWS region slug">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
1063
|
+
readonly clusterName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1064
|
+
readonly stsHost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a bare host or host:port">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
1065
|
+
/** Human label for the connection (shown in the UI). */
|
|
1066
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1067
|
+
/** kube-apiserver root URL, e.g. `https://my-cluster.example:6443`. */
|
|
1068
|
+
readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1069
|
+
/** Namespace the per-run pods are created in. */
|
|
1070
|
+
readonly namespace: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a valid Kubernetes namespace">]>;
|
|
1071
|
+
/** PEM CA bundle to verify the apiserver TLS cert (omit only for a publicly-trusted CA). */
|
|
1072
|
+
readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1073
|
+
/** Skip apiserver TLS verification — strongly discouraged; kind/dev clusters only. */
|
|
1074
|
+
readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1075
|
+
/** The executor-harness image the pod runs (the `default` image variant). */
|
|
1076
|
+
readonly image: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1077
|
+
/** The heavier UI-tester image (Playwright), used for `image:'ui'` dispatches. */
|
|
1078
|
+
readonly imageUi: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1079
|
+
/**
|
|
1080
|
+
* The separate deploy-harness image (slim base + `kubectl`/`kustomize`/`helm`), used for
|
|
1081
|
+
* `image:'deploy'` dispatches — a container-backed Kubernetes env provision. Absent ⇒ the
|
|
1082
|
+
* pool can't render manifests, so a render-needing config fails loudly (the synchronous
|
|
1083
|
+
* raw-manifest REST path is unaffected); set it to enable the pool's deploy backend.
|
|
1084
|
+
*/
|
|
1085
|
+
readonly imageDeploy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1086
|
+
/** Container port the harness HTTP server listens on (default 8080). */
|
|
1087
|
+
readonly harnessPort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1088
|
+
/** Name of an `imagePullSecrets` entry for a private registry. */
|
|
1089
|
+
readonly imagePullSecretName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1090
|
+
/** ServiceAccount the pod runs as (NOT the token used to call the apiserver). */
|
|
1091
|
+
readonly serviceAccountName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1092
|
+
/** Default pod resource requests/limits applied to every run pod. */
|
|
1093
|
+
readonly resources: v.OptionalSchema<v.ObjectSchema<{
|
|
1094
|
+
readonly requests: v.OptionalSchema<v.ObjectSchema<{
|
|
1095
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1096
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1097
|
+
}, undefined>, undefined>;
|
|
1098
|
+
readonly limits: v.OptionalSchema<v.ObjectSchema<{
|
|
1099
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1100
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1101
|
+
}, undefined>, undefined>;
|
|
1102
|
+
}, undefined>, undefined>;
|
|
1103
|
+
/** Per-instance-size limit overrides (t-shirt InstanceSize → cpu/memory). */
|
|
1104
|
+
readonly resourcesBySize: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1105
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1106
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1107
|
+
}, undefined>, undefined>, undefined>;
|
|
1108
|
+
/** Pod `nodeSelector`. */
|
|
1109
|
+
readonly nodeSelector: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1110
|
+
/** Pod tolerations (passed through to the pod spec verbatim). */
|
|
1111
|
+
readonly tolerations: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
1112
|
+
/** Extra pod metadata labels. */
|
|
1113
|
+
readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1114
|
+
/** Extra pod metadata annotations. */
|
|
1115
|
+
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1116
|
+
}, undefined>;
|
|
943
1117
|
}, undefined>, v.ObjectSchema<{
|
|
944
1118
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">, v.CheckAction<string, "reserved backend kind">]>;
|
|
945
1119
|
readonly manifest: v.ObjectSchema<{
|
|
@@ -1305,6 +1479,64 @@ export declare const registerRunnerPoolSchema: v.ObjectSchema<{
|
|
|
1305
1479
|
/** Extra pod metadata annotations. */
|
|
1306
1480
|
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1307
1481
|
}, undefined>;
|
|
1482
|
+
}, undefined>, v.ObjectSchema<{
|
|
1483
|
+
readonly kind: v.LiteralSchema<"eks", undefined>;
|
|
1484
|
+
readonly eks: v.ObjectSchema<{
|
|
1485
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be an AWS region slug">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
1486
|
+
readonly clusterName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1487
|
+
readonly stsHost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a bare host or host:port">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
1488
|
+
/** Human label for the connection (shown in the UI). */
|
|
1489
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1490
|
+
/** kube-apiserver root URL, e.g. `https://my-cluster.example:6443`. */
|
|
1491
|
+
readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1492
|
+
/** Namespace the per-run pods are created in. */
|
|
1493
|
+
readonly namespace: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a valid Kubernetes namespace">]>;
|
|
1494
|
+
/** PEM CA bundle to verify the apiserver TLS cert (omit only for a publicly-trusted CA). */
|
|
1495
|
+
readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1496
|
+
/** Skip apiserver TLS verification — strongly discouraged; kind/dev clusters only. */
|
|
1497
|
+
readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1498
|
+
/** The executor-harness image the pod runs (the `default` image variant). */
|
|
1499
|
+
readonly image: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1500
|
+
/** The heavier UI-tester image (Playwright), used for `image:'ui'` dispatches. */
|
|
1501
|
+
readonly imageUi: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1502
|
+
/**
|
|
1503
|
+
* The separate deploy-harness image (slim base + `kubectl`/`kustomize`/`helm`), used for
|
|
1504
|
+
* `image:'deploy'` dispatches — a container-backed Kubernetes env provision. Absent ⇒ the
|
|
1505
|
+
* pool can't render manifests, so a render-needing config fails loudly (the synchronous
|
|
1506
|
+
* raw-manifest REST path is unaffected); set it to enable the pool's deploy backend.
|
|
1507
|
+
*/
|
|
1508
|
+
readonly imageDeploy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1509
|
+
/** Container port the harness HTTP server listens on (default 8080). */
|
|
1510
|
+
readonly harnessPort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1511
|
+
/** Name of an `imagePullSecrets` entry for a private registry. */
|
|
1512
|
+
readonly imagePullSecretName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1513
|
+
/** ServiceAccount the pod runs as (NOT the token used to call the apiserver). */
|
|
1514
|
+
readonly serviceAccountName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1515
|
+
/** Default pod resource requests/limits applied to every run pod. */
|
|
1516
|
+
readonly resources: v.OptionalSchema<v.ObjectSchema<{
|
|
1517
|
+
readonly requests: v.OptionalSchema<v.ObjectSchema<{
|
|
1518
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1519
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1520
|
+
}, undefined>, undefined>;
|
|
1521
|
+
readonly limits: v.OptionalSchema<v.ObjectSchema<{
|
|
1522
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1523
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1524
|
+
}, undefined>, undefined>;
|
|
1525
|
+
}, undefined>, undefined>;
|
|
1526
|
+
/** Per-instance-size limit overrides (t-shirt InstanceSize → cpu/memory). */
|
|
1527
|
+
readonly resourcesBySize: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1528
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1529
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1530
|
+
}, undefined>, undefined>, undefined>;
|
|
1531
|
+
/** Pod `nodeSelector`. */
|
|
1532
|
+
readonly nodeSelector: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1533
|
+
/** Pod tolerations (passed through to the pod spec verbatim). */
|
|
1534
|
+
readonly tolerations: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
1535
|
+
/** Extra pod metadata labels. */
|
|
1536
|
+
readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1537
|
+
/** Extra pod metadata annotations. */
|
|
1538
|
+
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1539
|
+
}, undefined>;
|
|
1308
1540
|
}, undefined>, v.ObjectSchema<{
|
|
1309
1541
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">, v.CheckAction<string, "reserved backend kind">]>;
|
|
1310
1542
|
readonly manifest: v.ObjectSchema<{
|
|
@@ -1672,6 +1904,64 @@ export declare const testRunnerPoolConnectionSchema: v.ObjectSchema<{
|
|
|
1672
1904
|
/** Extra pod metadata annotations. */
|
|
1673
1905
|
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1674
1906
|
}, undefined>;
|
|
1907
|
+
}, undefined>, v.ObjectSchema<{
|
|
1908
|
+
readonly kind: v.LiteralSchema<"eks", undefined>;
|
|
1909
|
+
readonly eks: v.ObjectSchema<{
|
|
1910
|
+
readonly region: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be an AWS region slug">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
1911
|
+
readonly clusterName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1912
|
+
readonly stsHost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a bare host or host:port">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
1913
|
+
/** Human label for the connection (shown in the UI). */
|
|
1914
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1915
|
+
/** kube-apiserver root URL, e.g. `https://my-cluster.example:6443`. */
|
|
1916
|
+
readonly apiServerUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1917
|
+
/** Namespace the per-run pods are created in. */
|
|
1918
|
+
readonly namespace: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be a valid Kubernetes namespace">]>;
|
|
1919
|
+
/** PEM CA bundle to verify the apiserver TLS cert (omit only for a publicly-trusted CA). */
|
|
1920
|
+
readonly caCertPem: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1921
|
+
/** Skip apiserver TLS verification — strongly discouraged; kind/dev clusters only. */
|
|
1922
|
+
readonly insecureSkipTlsVerify: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1923
|
+
/** The executor-harness image the pod runs (the `default` image variant). */
|
|
1924
|
+
readonly image: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1925
|
+
/** The heavier UI-tester image (Playwright), used for `image:'ui'` dispatches. */
|
|
1926
|
+
readonly imageUi: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1927
|
+
/**
|
|
1928
|
+
* The separate deploy-harness image (slim base + `kubectl`/`kustomize`/`helm`), used for
|
|
1929
|
+
* `image:'deploy'` dispatches — a container-backed Kubernetes env provision. Absent ⇒ the
|
|
1930
|
+
* pool can't render manifests, so a render-needing config fails loudly (the synchronous
|
|
1931
|
+
* raw-manifest REST path is unaffected); set it to enable the pool's deploy backend.
|
|
1932
|
+
*/
|
|
1933
|
+
readonly imageDeploy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1934
|
+
/** Container port the harness HTTP server listens on (default 8080). */
|
|
1935
|
+
readonly harnessPort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1936
|
+
/** Name of an `imagePullSecrets` entry for a private registry. */
|
|
1937
|
+
readonly imagePullSecretName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1938
|
+
/** ServiceAccount the pod runs as (NOT the token used to call the apiserver). */
|
|
1939
|
+
readonly serviceAccountName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1940
|
+
/** Default pod resource requests/limits applied to every run pod. */
|
|
1941
|
+
readonly resources: v.OptionalSchema<v.ObjectSchema<{
|
|
1942
|
+
readonly requests: v.OptionalSchema<v.ObjectSchema<{
|
|
1943
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1944
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1945
|
+
}, undefined>, undefined>;
|
|
1946
|
+
readonly limits: v.OptionalSchema<v.ObjectSchema<{
|
|
1947
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1948
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1949
|
+
}, undefined>, undefined>;
|
|
1950
|
+
}, undefined>, undefined>;
|
|
1951
|
+
/** Per-instance-size limit overrides (t-shirt InstanceSize → cpu/memory). */
|
|
1952
|
+
readonly resourcesBySize: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1953
|
+
readonly cpu: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1954
|
+
readonly memory: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1955
|
+
}, undefined>, undefined>, undefined>;
|
|
1956
|
+
/** Pod `nodeSelector`. */
|
|
1957
|
+
readonly nodeSelector: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1958
|
+
/** Pod tolerations (passed through to the pod spec verbatim). */
|
|
1959
|
+
readonly tolerations: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
1960
|
+
/** Extra pod metadata labels. */
|
|
1961
|
+
readonly labels: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1962
|
+
/** Extra pod metadata annotations. */
|
|
1963
|
+
readonly annotations: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
1964
|
+
}, undefined>;
|
|
1675
1965
|
}, undefined>, v.ObjectSchema<{
|
|
1676
1966
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">, v.CheckAction<string, "reserved backend kind">]>;
|
|
1677
1967
|
readonly manifest: v.ObjectSchema<{
|
package/dist/runners.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../src/runners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoC5B,kFAAkF;AAClF,eAAO,MAAM,yBAAyB;;aAA6B,CAAA;AACnE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF,oEAAoE;AACpE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAA8B,CAAA;AACrE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;aAAmC,CAAA;AAC/E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F,wEAAwE;AACxE,eAAO,MAAM,oBAAoB,4DAA4C,CAAA;AAC7E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;IAC1C,8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wE;;;;;;;;;;;;;;;YAExE,sEAAsE;;;;;;;;;;;;;;;;gBA1ItE,8EAA8E;;gBAE9E,2DAA2D;;;;;gBAE3D,yEAAyE;;;;gBAIzE,8CAA8C;;;;gBAI9C;;;;;;;;;mBASG;;gBAEH;;;;;;;mBAOG;;gBAEH,mFAAmF;;gBAEnF;;;;;;;mBAOG;;gBAEH;;;;mBAIG;;;;;;aAmMH,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,8BAA8B,CAAC,CAAA"}
|
package/dist/runners.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { environmentAuthSchemeSchema, environmentRequestTemplateSchema, environmentSecretRefSchema, } from './environments.js';
|
|
3
|
-
import { customBackendKindSchema } from './primitives.js';
|
|
3
|
+
import { customBackendKindSchema, eksClusterFieldsSchema } from './primitives.js';
|
|
4
4
|
// ---------------------------------------------------------------------------
|
|
5
5
|
// Self-hosted runner-pool wire contracts ("bring your own infra").
|
|
6
6
|
//
|
|
@@ -178,8 +178,24 @@ export const runnerPoolManifestSchema = v.object({
|
|
|
178
178
|
release: v.optional(runnerPoolRequestTemplateSchema),
|
|
179
179
|
response: runnerPoolResponseMappingSchema,
|
|
180
180
|
});
|
|
181
|
+
// ---------------------------------------------------------------------------
|
|
182
|
+
// AWS EKS runner backend.
|
|
183
|
+
//
|
|
184
|
+
// An EKS cluster's apiserver IS a standard Kubernetes apiserver, so the EKS runner backend
|
|
185
|
+
// reuses the ENTIRE native Kubernetes transport (per-run pods over the apiserver pod-proxy)
|
|
186
|
+
// — the only difference is authentication. Instead of a static ServiceAccount bearer token,
|
|
187
|
+
// EKS authenticates with a short-lived IAM token: a SigV4-presigned STS `GetCallerIdentity`
|
|
188
|
+
// URL (the `k8s-aws-v1.` token, ~15 min TTL). So the config is the Kubernetes runner config
|
|
189
|
+
// (apiserver endpoint, CA, namespace, image, sizing) PLUS the AWS `region` + `clusterName`;
|
|
190
|
+
// the AWS credentials ride the secret bundle (`awsAccessKeyId` / `awsSecretAccessKey` /
|
|
191
|
+
// optional `awsSessionToken`). The minting lives in `@cat-factory/eks`.
|
|
192
|
+
// ---------------------------------------------------------------------------
|
|
193
|
+
export const eksRunnerConfigSchema = v.object({
|
|
194
|
+
...kubernetesRunnerConfigSchema.entries,
|
|
195
|
+
...eksClusterFieldsSchema.entries,
|
|
196
|
+
});
|
|
181
197
|
/** Built-in runner backend kinds the contract knows by name. */
|
|
182
|
-
export const RESERVED_RUNNER_BACKEND_KINDS = ['manifest', 'kubernetes'];
|
|
198
|
+
export const RESERVED_RUNNER_BACKEND_KINDS = ['manifest', 'kubernetes', 'eks'];
|
|
183
199
|
/**
|
|
184
200
|
* The `kind` slug of a CUSTOM (third-party, programmatically-registered) runner backend:
|
|
185
201
|
* any lower-kebab slug that isn't a reserved built-in. A custom runner backend rides the
|
|
@@ -192,7 +208,8 @@ export const customRunnerBackendKindSchema = customBackendKindSchema(RESERVED_RU
|
|
|
192
208
|
/**
|
|
193
209
|
* An "agent runner backend" config, discriminated by `kind`. This is the universal
|
|
194
210
|
* abstraction over WHERE repo-operating coding jobs run: the built-ins `manifest` (the BYO
|
|
195
|
-
* HTTP scheduler pool)
|
|
211
|
+
* HTTP scheduler pool), `kubernetes` (native per-run pods) and `eks` (native per-run pods on
|
|
212
|
+
* AWS EKS — the Kubernetes transport behind a minted IAM token), plus any CUSTOM kind a
|
|
196
213
|
* deployment registers by reference into the app-owned `RunnerBackendRegistry` (it rides the
|
|
197
214
|
* generic manifest member — NO new variant needed). Mirrors `environmentBackendConfigSchema`;
|
|
198
215
|
* the provider-registry seam keys on `kind`.
|
|
@@ -200,6 +217,7 @@ export const customRunnerBackendKindSchema = customBackendKindSchema(RESERVED_RU
|
|
|
200
217
|
export const runnerBackendConfigSchema = v.variant('kind', [
|
|
201
218
|
v.object({ kind: v.literal('manifest'), manifest: runnerPoolManifestSchema }),
|
|
202
219
|
v.object({ kind: v.literal('kubernetes'), kubernetes: kubernetesRunnerConfigSchema }),
|
|
220
|
+
v.object({ kind: v.literal('eks'), eks: eksRunnerConfigSchema }),
|
|
203
221
|
v.object({ kind: customRunnerBackendKindSchema, manifest: runnerPoolManifestSchema }),
|
|
204
222
|
]);
|
|
205
223
|
/** A workspace's runner-backend binding, as exposed to clients (never secret values). */
|
package/dist/runners.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runners.js","sourceRoot":"","sources":["../src/runners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,GAC3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"runners.js","sourceRoot":"","sources":["../src/runners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,GAC3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAEjF,8EAA8E;AAC9E,mEAAmE;AACnE,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,4EAA4E;AAC5E,mFAAmF;AACnF,oFAAoF;AACpF,uEAAuE;AACvE,EAAE;AACF,yEAAyE;AACzE,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,yEAAyE;AACzE,6CAA6C;AAC7C,EAAE;AACF,8EAA8E;AAC9E,+EAA+E;AAC/E,+BAA+B;AAC/B,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,2EAA2E;AAC3E,+EAA+E;AAC/E,oCAAoC;AACpC,8EAA8E;AAE9E,kFAAkF;AAClF,MAAM,CAAC,MAAM,yBAAyB,GAA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AM,EAAE,CAAC;CAC1C,CAAC,CAAA;AAGF,mFAAmF;AACnF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAA;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IAC7C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACtD,CAAC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1039,7 +1039,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1039
1039
|
readonly blockId: v.StringSchema<undefined>;
|
|
1040
1040
|
readonly frameId: v.StringSchema<undefined>;
|
|
1041
1041
|
readonly pipelineId: v.StringSchema<undefined>;
|
|
1042
|
-
readonly template: v.PicklistSchema<["dep-update", "tech-debt", "custom"], undefined>;
|
|
1042
|
+
readonly template: v.PicklistSchema<["dep-update", "tech-debt", "bug-triage", "custom"], undefined>;
|
|
1043
1043
|
readonly name: v.StringSchema<undefined>;
|
|
1044
1044
|
readonly recurrence: v.ObjectSchema<{
|
|
1045
1045
|
readonly intervalHours: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>;
|
package/dist/user-secret.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const userSecretDescriptorSchema: v.ObjectSchema<{
|
|
|
40
40
|
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
41
41
|
readonly secret: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
42
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
43
|
-
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select"], undefined>, undefined>;
|
|
43
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea"], undefined>, undefined>;
|
|
44
44
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
45
45
|
readonly value: v.StringSchema<undefined>;
|
|
46
46
|
readonly label: v.StringSchema<undefined>;
|