@pipeline-builder/pipeline-manager 6.2.0 → 6.3.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/cli.d.ts.map +1 -1
- package/dist/cli.js +8 -2
- package/dist/commands/audit-stacks.d.ts.map +1 -1
- package/dist/commands/audit-stacks.js +3 -2
- package/dist/commands/create-pat.d.ts.map +1 -1
- package/dist/commands/create-pat.js +13 -6
- package/dist/commands/org-export.d.ts +4 -3
- package/dist/commands/org-export.d.ts.map +1 -1
- package/dist/commands/org-export.js +10 -5
- package/dist/commands/runner-signing-key.d.ts +49 -0
- package/dist/commands/runner-signing-key.d.ts.map +1 -0
- package/dist/commands/runner-signing-key.js +203 -0
- package/dist/commands/setup-runner.d.ts +123 -10
- package/dist/commands/setup-runner.d.ts.map +1 -1
- package/dist/commands/setup-runner.js +476 -117
- package/dist/commands/synth.d.ts.map +1 -1
- package/dist/commands/synth.js +12 -6
- package/dist/commands/test-plugin.d.ts.map +1 -1
- package/dist/commands/test-plugin.js +4 -3
- package/dist/commands/version.d.ts.map +1 -1
- package/dist/commands/version.js +10 -6
- package/dist/lambda/runner-handler.d.ts.map +1 -1
- package/dist/lambda/runner-handler.js +47 -8
- package/dist/lambda/runner-jws.d.ts +13 -4
- package/dist/lambda/runner-jws.d.ts.map +1 -1
- package/dist/lambda/runner-jws.js +22 -8
- package/dist/templates/runner-stack.json +95 -3
- package/dist/utils/command-utils.d.ts +8 -0
- package/dist/utils/command-utils.d.ts.map +1 -1
- package/dist/utils/command-utils.js +15 -1
- package/dist/utils/device-auth.d.ts +12 -0
- package/dist/utils/device-auth.d.ts.map +1 -1
- package/dist/utils/device-auth.js +18 -11
- package/dist/utils/error-handler.d.ts.map +1 -1
- package/dist/utils/error-handler.js +10 -9
- package/dist/utils/output-utils.d.ts.map +1 -1
- package/dist/utils/output-utils.js +5 -3
- package/dist/utils/plugin-resolver.d.ts.map +1 -1
- package/dist/utils/plugin-resolver.js +13 -5
- package/dist/utils/plugin-zip.d.ts.map +1 -1
- package/dist/utils/plugin-zip.js +22 -5
- package/dist/utils/registration-client.js +2 -2
- package/dist/utils/response-utils.d.ts +11 -0
- package/dist/utils/response-utils.d.ts.map +1 -1
- package/dist/utils/response-utils.js +19 -1
- package/dist/utils/runner-template.d.ts +29 -7
- package/dist/utils/runner-template.d.ts.map +1 -1
- package/dist/utils/runner-template.js +41 -12
- package/package.json +4 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type Stack } from '@aws-sdk/client-cloudformation';
|
|
2
|
+
import { type RunnerHealth, type RunnerOutcome, type RunnerSigningKeyDto, type RunnersUnavailableReason, type RunnerStatus } from '@pipeline-builder/api-core/pipeline-runners';
|
|
2
3
|
import { Command } from 'commander';
|
|
3
4
|
import { type StepUpProvider } from '../utils/service-account.js';
|
|
4
5
|
export interface RunnerPlanInput {
|
|
@@ -8,6 +9,12 @@ export interface RunnerPlanInput {
|
|
|
8
9
|
pipelinePrefix?: string;
|
|
9
10
|
apiGateway?: boolean;
|
|
10
11
|
allowIp?: string[];
|
|
12
|
+
/** commander's `--no-waf` (true unless given). */
|
|
13
|
+
waf?: boolean;
|
|
14
|
+
/** `--waf-rate-limit <n>` as typed. */
|
|
15
|
+
wafRateLimit?: string | number;
|
|
16
|
+
/** `--generate-key`: create the org's signing key (step-up) when it has none. */
|
|
17
|
+
generateKey?: boolean;
|
|
11
18
|
yes?: boolean;
|
|
12
19
|
delete?: boolean;
|
|
13
20
|
withEvents?: boolean;
|
|
@@ -18,12 +25,23 @@ export interface RunnerPlan {
|
|
|
18
25
|
region: string;
|
|
19
26
|
/** Where the runner may act. */
|
|
20
27
|
regions: string[];
|
|
28
|
+
/**
|
|
29
|
+
* The regions the account scan MUST cover (the stack region, then every
|
|
30
|
+
* --regions region): listed first, and an unreadable one fails the scan. The
|
|
31
|
+
* scan itself covers every enabled region of the account ({@link accountRunnerStacks}).
|
|
32
|
+
*/
|
|
33
|
+
scanRegions: string[];
|
|
21
34
|
/** Explicit prefixes, or undefined = derive from the org's registered pipeline names. */
|
|
22
35
|
prefixes?: string[];
|
|
23
36
|
apiGateway: boolean;
|
|
24
37
|
allowIps: string[];
|
|
25
|
-
|
|
26
|
-
|
|
38
|
+
/** The API's WAFv2 rate limit is attached (api-gateway only). */
|
|
39
|
+
waf: boolean;
|
|
40
|
+
/** Requests per 5 minutes per source IP (meaningful when `waf`). */
|
|
41
|
+
wafRateLimit: number;
|
|
42
|
+
generateKey: boolean;
|
|
43
|
+
/** --yes: confirms '*' prefixes and installing beside a parent organization's shared runner. */
|
|
44
|
+
yes: boolean;
|
|
27
45
|
delete: boolean;
|
|
28
46
|
withEvents: boolean;
|
|
29
47
|
}
|
|
@@ -53,6 +71,28 @@ export interface RunnerDto {
|
|
|
53
71
|
/** Own org admins only. Compared, never printed. */
|
|
54
72
|
functionUrl?: string | null;
|
|
55
73
|
}
|
|
74
|
+
/** A parent organization's runner shared with this team (`inherited` on the runner list). */
|
|
75
|
+
export interface InheritedRunnerDto extends RunnerDto {
|
|
76
|
+
fromOrgId?: string;
|
|
77
|
+
fromOrgName?: string;
|
|
78
|
+
}
|
|
79
|
+
/** What `GET /pipelines/runners` tells setup-runner. */
|
|
80
|
+
export interface RunnerList {
|
|
81
|
+
own: RunnerDto[];
|
|
82
|
+
inherited: InheritedRunnerDto[];
|
|
83
|
+
signingKey: RunnerSigningKeyDto | null;
|
|
84
|
+
}
|
|
85
|
+
/** One `pipeline-builder-runner-*` stack in the account (read with the operator's credentials, never sent to the platform). */
|
|
86
|
+
export interface RunnerStackInfo {
|
|
87
|
+
stackName: string;
|
|
88
|
+
region: string;
|
|
89
|
+
/** Its RunnerId parameter (the function's RUNNER_ID). */
|
|
90
|
+
runnerId?: string;
|
|
91
|
+
/** Its pb.runner-label tag. */
|
|
92
|
+
label?: string;
|
|
93
|
+
/** Its AllowedPipelinePrefixes parameter. */
|
|
94
|
+
prefixes: string[];
|
|
95
|
+
}
|
|
56
96
|
export interface SetupRunnerDeps {
|
|
57
97
|
platform: PlatformApi;
|
|
58
98
|
platformBaseUrl: string;
|
|
@@ -62,6 +102,7 @@ export interface SetupRunnerDeps {
|
|
|
62
102
|
stackName: string;
|
|
63
103
|
template: Record<string, unknown>;
|
|
64
104
|
parameters: string[];
|
|
105
|
+
tags: Record<string, string>;
|
|
65
106
|
region: string;
|
|
66
107
|
}): Promise<void>;
|
|
67
108
|
/** The stack's outputs and parameters, or undefined when it does not exist. */
|
|
@@ -69,6 +110,14 @@ export interface SetupRunnerDeps {
|
|
|
69
110
|
outputs: Record<string, string>;
|
|
70
111
|
parameters: Record<string, string>;
|
|
71
112
|
} | undefined>;
|
|
113
|
+
/** The account's enabled regions (EC2 DescribeRegions, AllRegions=false), asked in `region`. */
|
|
114
|
+
enabledRegions(region: string): Promise<string[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Every runner stack (`pipeline-builder-runner-*`) in these regions of the
|
|
117
|
+
* account. An unreadable region in `required` fails the call; any other is
|
|
118
|
+
* warned about and skipped (an SCP that denies a region denies a runner there too).
|
|
119
|
+
*/
|
|
120
|
+
listRunnerStacks(regions: string[], required: string[]): Promise<RunnerStackInfo[]>;
|
|
72
121
|
deleteStack(stackName: string, region: string): Promise<void>;
|
|
73
122
|
/** Upload the bundled runner handler and wait until the function is updated. */
|
|
74
123
|
uploadCode(functionName: string, region: string): Promise<void>;
|
|
@@ -78,12 +127,28 @@ export interface SetupRunnerDeps {
|
|
|
78
127
|
bundleSha256(): string;
|
|
79
128
|
/** `infra setup-events --scoped-ingest` in the region (--with-events). */
|
|
80
129
|
runSetupEvents(region: string): Promise<void>;
|
|
130
|
+
/** A y/N question; false when nobody can answer (not a terminal, --json). */
|
|
131
|
+
confirm(question: string): Promise<boolean>;
|
|
81
132
|
warn(message: string): void;
|
|
82
133
|
}
|
|
83
|
-
|
|
84
|
-
export declare
|
|
134
|
+
/** Why the platform cannot take runners right now (`available: false` / 409 RUNNERS_UNAVAILABLE). */
|
|
135
|
+
export declare function runnersUnavailableMessage(reason?: RunnersUnavailableReason | null): string;
|
|
136
|
+
/** A 409 RUNNERS_UNAVAILABLE refusal's `details.reason`, when the server sent one. */
|
|
137
|
+
export declare function refusalUnavailableReason(err: unknown): RunnersUnavailableReason | null;
|
|
138
|
+
/** The org has no effective signing key and none will be created by this run. */
|
|
139
|
+
export declare const NO_ORG_KEY_MESSAGE: string;
|
|
140
|
+
export declare const KEY_UNREADABLE_MESSAGE = "Your organization's runner signing key can't be read, so runs through your runners are paused until your platform operator fixes it (RUNNER_KEY_UNREADABLE).";
|
|
141
|
+
/** A team that inherits its key from a parent with no key: only that parent (or switching to its own key) can fix it. */
|
|
142
|
+
export declare function inheritedNoKeyMessage(parentName: string | undefined): string;
|
|
85
143
|
/** Turn the runner-specific refusals into what the operator should do. Anything else is rethrown as-is. */
|
|
86
144
|
export declare function explainRunnerError(err: unknown): never;
|
|
145
|
+
/** Where the org's signing key came from on this run. Key ids only. */
|
|
146
|
+
export interface SigningKeyStatus {
|
|
147
|
+
/** existing: the org (own mode) has one; inherited: a parent's; generated: --generate-key now; with-first-runner: the platform creates it on registration. */
|
|
148
|
+
origin: 'existing' | 'inherited' | 'generated' | 'with-first-runner';
|
|
149
|
+
kid: string | null;
|
|
150
|
+
inheritedFrom?: string;
|
|
151
|
+
}
|
|
87
152
|
export interface SetupRunnerResult {
|
|
88
153
|
action: 'created' | 'updated' | 'deleted';
|
|
89
154
|
runnerId?: string;
|
|
@@ -99,21 +164,67 @@ export interface SetupRunnerResult {
|
|
|
99
164
|
outcome?: RunnerOutcome;
|
|
100
165
|
errorCode?: string;
|
|
101
166
|
};
|
|
167
|
+
/** The runner's own key set: what it verifies every request against. */
|
|
168
|
+
jwksUrl?: string;
|
|
169
|
+
signingKey?: SigningKeyStatus;
|
|
102
170
|
bundleSha256?: string;
|
|
103
171
|
eventsStack?: 'present' | 'missing' | 'deployed';
|
|
104
172
|
}
|
|
173
|
+
/** The account's runner stacks, sorted by whose runner each one is. */
|
|
174
|
+
export interface AccountRunners {
|
|
175
|
+
/** This org's runners (RunnerId is in its own list). */
|
|
176
|
+
own: Array<{
|
|
177
|
+
stack: RunnerStackInfo;
|
|
178
|
+
runner: RunnerDto;
|
|
179
|
+
}>;
|
|
180
|
+
/** A parent organization's runners shared with this org. */
|
|
181
|
+
inherited: Array<{
|
|
182
|
+
stack: RunnerStackInfo;
|
|
183
|
+
runner: InheritedRunnerDto;
|
|
184
|
+
}>;
|
|
185
|
+
/** Anyone else's (another organization's, or a stale stack of a revoked runner). */
|
|
186
|
+
foreign: RunnerStackInfo[];
|
|
187
|
+
}
|
|
188
|
+
/** Sort the account's runner stacks by reading each RunnerId against the org's runner list. */
|
|
189
|
+
export declare function classifyAccountRunners(stacks: RunnerStackInfo[], list: RunnerList): AccountRunners;
|
|
190
|
+
/** Two prefix sets can name the same pipeline ('*' overlaps everything; 'acme-' overlaps 'acme-web-'). */
|
|
191
|
+
export declare function prefixesOverlap(a: string[], b: string[]): boolean;
|
|
192
|
+
/**
|
|
193
|
+
* The account's runner stacks in EVERY enabled region: the rule is one runner
|
|
194
|
+
* per account, and a runner stack in a region outside the stack region and
|
|
195
|
+
* --regions is still in the account. The stack region and --regions come first
|
|
196
|
+
* and must be readable; the rest follow in the order DescribeRegions answers.
|
|
197
|
+
* Returns the stacks and the regions scanned.
|
|
198
|
+
*/
|
|
199
|
+
export declare function accountRunnerStacks(plan: RunnerPlan, deps: SetupRunnerDeps): Promise<{
|
|
200
|
+
stacks: RunnerStackInfo[];
|
|
201
|
+
regions: string[];
|
|
202
|
+
}>;
|
|
203
|
+
/**
|
|
204
|
+
* Read each region's runner stacks IN PARALLEL with `listOne`, in `regions`
|
|
205
|
+
* order. A failed region in `required` fails the scan (naming it); any other
|
|
206
|
+
* failed region is warned about and skipped.
|
|
207
|
+
*/
|
|
208
|
+
export declare function scanRegionStacks(regions: string[], required: string[], listOne: (region: string) => Promise<RunnerStackInfo[]>, warn: (message: string) => void): Promise<RunnerStackInfo[]>;
|
|
209
|
+
/** The runner's own JWKS URL (absolute). */
|
|
210
|
+
export declare function runnerJwksUrl(platformBaseUrl: string, runnerId: string): string;
|
|
105
211
|
/** Install or update a runner. */
|
|
106
212
|
export declare function setupRunnerFlow(plan: RunnerPlan, deps: SetupRunnerDeps): Promise<SetupRunnerResult>;
|
|
107
213
|
/**
|
|
108
|
-
* Revoke on the platform, THEN delete the stack. The runner is
|
|
109
|
-
*
|
|
110
|
-
* install that never got this far) is revoked
|
|
111
|
-
*
|
|
112
|
-
*
|
|
214
|
+
* Revoke on the platform, THEN delete the stack. The runner is this org's
|
|
215
|
+
* runner with that label among the account's runner stacks; without one, only a
|
|
216
|
+
* PENDING runner of that label (an install that never got this far) is revoked
|
|
217
|
+
* by label — an active one lives in another account or region, and revoking it
|
|
218
|
+
* from the wrong account would silently cut that one off. A stack whose runner
|
|
219
|
+
* is not this org's is never touched.
|
|
113
220
|
*/
|
|
114
221
|
export declare function deleteRunner(plan: RunnerPlan, deps: SetupRunnerDeps): Promise<SetupRunnerResult>;
|
|
115
222
|
/** SHA-256 of the runner bundle: what release notes list, so an operator can check what runs in their account. */
|
|
116
223
|
export declare function sha256OfFile(file: string): string;
|
|
224
|
+
/** A DescribeStacks entry as {@link RunnerStackInfo}, or undefined when it is not a runner stack. */
|
|
225
|
+
export declare function runnerStackInfo(s: Stack, region: string): RunnerStackInfo | undefined;
|
|
226
|
+
/** The rule, after the options in `setup-runner --help`. */
|
|
227
|
+
export declare const SETUP_RUNNER_HELP: string;
|
|
117
228
|
/**
|
|
118
229
|
* Registers `infra setup-runner`.
|
|
119
230
|
*
|
|
@@ -121,6 +232,8 @@ export declare function sha256OfFile(file: string): string;
|
|
|
121
232
|
* ```bash
|
|
122
233
|
* pipeline-manager infra setup-runner --region us-east-1 --regions us-east-1,eu-west-2 --pipeline-prefix acme-
|
|
123
234
|
* pipeline-manager infra setup-runner --region us-east-1 --api-gateway --allow-ip 203.0.113.10/32
|
|
235
|
+
* pipeline-manager infra setup-runner --region us-east-1 --api-gateway --allow-ip 203.0.113.10/32 --waf-rate-limit 500
|
|
236
|
+
* pipeline-manager infra setup-runner --region us-east-1 --generate-key
|
|
124
237
|
* pipeline-manager infra setup-runner --region us-east-1 --label ops --delete
|
|
125
238
|
* pipeline-manager infra setup-runner --region us-east-1 --dry-run --json
|
|
126
239
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-runner.d.ts","sources":["../../src/commands/setup-runner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup-runner.d.ts","sources":["../../src/commands/setup-runner.ts"],"names":[],"mappings":"AAwDA,OAAO,EAC+E,KAAK,KAAK,EAE/F,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACgD,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,KAAK,mBAAmB,EACpH,KAAK,wBAAwB,EAAE,KAAK,YAAY,EACjD,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAUlF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,kDAAkD;IAClD,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,iFAAiF;IACjF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM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