@intentius/chant-lexicon-pulumi 0.124.87 → 0.124.89
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/README.md +8 -1
- package/dist/ci-setup.d.ts +15 -16
- package/dist/ci-setup.d.ts.map +1 -1
- package/dist/ci-setup.js +62 -60
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/dist/stack-ops.d.ts +66 -2
- package/dist/stack-ops.d.ts.map +1 -1
- package/dist/stack-ops.js +78 -20
- package/package.json +2 -2
- package/src/ci-setup.test.ts +26 -11
- package/src/ci-setup.ts +74 -73
- package/src/index.ts +1 -1
- package/src/stack-ops.test.ts +91 -0
- package/src/stack-ops.ts +106 -24
package/README.md
CHANGED
|
@@ -51,11 +51,18 @@ A program that reads another stack through `StackReference` orders its stack aft
|
|
|
51
51
|
The first three run on chant core's walks ([#4808](https://github.com/INTENTIUS/chant/issues/4808)): `exportStateVersion` over `pulumiStackVersionSource`, `releaseStateLock` over the stack's lock, and `runStateMigration` with the two stacks as its roots. The action runs on core's `gatedOp`.
|
|
52
52
|
|
|
53
53
|
- Export by version. `version` names an update's number on a backend whose `stack history` numbers them (Pulumi Cloud); a version it does not have is refused before anything is asked. A file backend, a bucket and plunge number none, so the version there is the `sha256:` digest of the stack's export now, and a stack updated after the approval asks again instead of writing the newer state. The result carries the `version` exported.
|
|
54
|
-
- The live-run check before a cancel. `liveRuns` reads the repository's runs that have not finished; by default core's `
|
|
54
|
+
- The live-run check before a cancel. `liveRuns` reads the repository's runs that have not finished; by default core's `forgeLiveRunsOf` of the forge `forge` names (`--forge`, `--repo` and the rest, over the environment, as `forgeTargetWith` reads them). On a laptop, with no CI variables and no `forge.repo`, the stack directory's origin remote names the forge and the repository ([#4920](https://github.com/INTENTIUS/chant/issues/4920), `forgeOfCheckout` in `@intentius/chant/forge-remote`), so the cancel needs only a token. While a run that began before the lock was taken is alive, nothing is asked (`PulumiStackOpRefused` with `code: "live-run"`); a run that came back after the approval holds the release with the approval unspent (`code: "held"`); a forge that cannot be read refuses. A lock id that is not the one held is refused before anything is asked (`code: "lock-gone"`).
|
|
55
55
|
- The check that nothing moved since the plan. Each call plans: both previews, plunge's plan on plunge, and each stack's export digest, which the request binds. Approved, each export is read again just before the write, and a stack that changed answers `failed` with `check: "moved"` and nothing moved. A stack whose `file://` backend shows it locked refuses the write.
|
|
56
56
|
|
|
57
57
|
`pulumiStackLockIds({ dir, stack })` ([#4615](https://github.com/INTENTIUS/chant/issues/4615)) reads the lock ids a stack holds now, the same read `gatedStackCancel` checks with, so a product can offer the id to approve. It answers `checked: false` on a backend other than `file://`, and no ids for a plunge stack.
|
|
58
58
|
|
|
59
|
+
A product holds only the words for these operations ([#4911](https://github.com/INTENTIUS/chant/issues/4911)):
|
|
60
|
+
|
|
61
|
+
- `approveCommand` on any operation is the line a waiting or refused request prints: a function of the gate and the digest, or a template such as `"plywood approve {gate} --op {op} --plan {digest} {sign}"`, where `{sign}` is `--sign` when `rules.mode` is `sealed`. `stackOpApproveCommand(common)` returns the filled function.
|
|
62
|
+
- `pulumiStackLockToCancel(given, { dir, stack })` is the lock a cancel releases: `given`, else the one lock the `file://` backend holds. No lock, several, a backend chant cannot list, or a failed read answer `{ refusal, message }` with `refusal` one of `no-lock`, `many-locks`, `not-listed` and `read-failed`, plus the `backend` and `ids`, so the product words it.
|
|
63
|
+
- `pulumiMoveDestStack(source, dest, { org })` names the destination as `--dest` takes it: the bare stack in the source's project, else `<org>/<project>/<stack>`, where the org is `organization` on a DIY backend and `org` on Pulumi Cloud. A move whose `source` and `dest` both give `project` names it itself from the destination's backend, with the move's `org`.
|
|
64
|
+
- The requester when the product names none is core's `actorFromEnv` (`@intentius/chant/actor`): `GITHUB_ACTOR`, `GITLAB_USER_LOGIN`, `USER`, `USERNAME`, else `unknown`.
|
|
65
|
+
|
|
59
66
|
A day-2 action on a stack is a `command:local:Command` or `command:remote:Command` resource whose replacement is the operation, such as a key rotation. `gatedStackAction({ dir, stack, urn, name, engine, ... })` refuses any other resource type with `action-type` before anything runs. Each call previews `preview --json --target <urn> --replace <urn> --stack <s>` and refuses with `action-scope`, naming the other URNs, when the preview changes anything besides that one replacement; nothing is asked for then. The request binds the stack, the URN and the preview's digest, so a preview that changed after the approval asks again. Once approved, the update runs, and the finished line keeps `result: applied` (or `failed`) with `detail.result` set to `ok` (or `failed`), the exit code and the last lines of output. The same call after it ran answers `spent`, unless it passes `anew`. A stack on plunge runs both through plunge.
|
|
60
67
|
|
|
61
68
|
The writes go through `runGatedPulumi` and `runGatedPlunge` in `src/run.ts`, whose fixed forms (`PULUMI_GATED_COMMANDS`, `PLUNGE_GATED_COMMANDS`) are the only ones allowed.
|
package/dist/ci-setup.d.ts
CHANGED
|
@@ -10,11 +10,18 @@ export declare const CI_ENGINE_ROOT = "/opt/chant";
|
|
|
10
10
|
/** The archive's architecture word, as both projects name their Linux builds. */
|
|
11
11
|
export type CiArch = "x64" | "arm64";
|
|
12
12
|
export declare const CI_ARCHES: readonly CiArch[];
|
|
13
|
+
/** One release's download: the base URL, the archive per architecture, and its checksums file. */
|
|
14
|
+
export interface CiRelease {
|
|
15
|
+
base: string;
|
|
16
|
+
archive(arch: CiArch): string;
|
|
17
|
+
checksums: string;
|
|
18
|
+
}
|
|
19
|
+
/** The release of `engine` at `version`, as ci-image names it (#4908). A version is a plain semver, so it is safe on a shell line. */
|
|
20
|
+
export declare function ciRelease(engine: CiEngine, version: string): CiRelease;
|
|
13
21
|
/**
|
|
14
|
-
* The sha256 of each recorded Linux archive,
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* two lines when moving a default version.
|
|
22
|
+
* The sha256 of each recorded Linux archive, by its file name: ci-image's
|
|
23
|
+
* `CI_TOOL_SHA256` for Pulumi and plunge (#4908), where a release's two
|
|
24
|
+
* lines are added when a default version moves.
|
|
18
25
|
*/
|
|
19
26
|
export declare const PINNED_SHA256: Readonly<Record<string, string>>;
|
|
20
27
|
/** What a caller may set on an install line. */
|
|
@@ -30,14 +37,6 @@ export interface CiInstallOptions {
|
|
|
30
37
|
*/
|
|
31
38
|
link?: boolean;
|
|
32
39
|
}
|
|
33
|
-
/** One release's download: the base URL, the archive per architecture, and its checksums file. */
|
|
34
|
-
export interface CiRelease {
|
|
35
|
-
base: string;
|
|
36
|
-
archive(arch: CiArch): string;
|
|
37
|
-
checksums: string;
|
|
38
|
-
}
|
|
39
|
-
/** The release of `engine` at `version`. A version is a plain semver, so it is safe on a shell line. */
|
|
40
|
-
export declare function ciRelease(engine: CiEngine, version: string): CiRelease;
|
|
41
40
|
/** Where one release of one engine lives after its line runs. */
|
|
42
41
|
export declare function ciEngineDir(engine: CiEngine, version: string, root?: string): string;
|
|
43
42
|
/** The recorded sums for `version`, by architecture: the caller's, else {@link PINNED_SHA256}'s. */
|
|
@@ -64,10 +63,10 @@ export interface CiFetchOptions {
|
|
|
64
63
|
/**
|
|
65
64
|
* Shell that downloads one release into `dir` and checks it against the
|
|
66
65
|
* release's checksums file and, when recorded, the sum per architecture
|
|
67
|
-
* (#4814). Run it under `set -e`.
|
|
68
|
-
* after the engine, which
|
|
69
|
-
* `checksumsUrl` go onto the line
|
|
70
|
-
* shell, never a value from outside.
|
|
66
|
+
* (#4814): ci-image's `ciToolFetchScript` (#4908). Run it under `set -e`.
|
|
67
|
+
* Both archives unpack a top directory named after the engine, which
|
|
68
|
+
* `--strip-components=1` drops. `arch` and `checksumsUrl` go onto the line
|
|
69
|
+
* as they are, so they are the caller's shell, never a value from outside.
|
|
71
70
|
*/
|
|
72
71
|
export declare function ciFetchScript(engine: CiEngine, version: string, options: CiFetchOptions): string;
|
|
73
72
|
/**
|
package/dist/ci-setup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-setup.d.ts","sourceRoot":"","sources":["../src/ci-setup.ts"],"names":[],"mappings":"
|
|
1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oG;AACpG,wBAAgB,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAMxI;AAED,wEAAwE;AACxE,eAAO,MAAM,WAAW,2DAAyD,CAAC;AAElF;;;;GAIG;AACH,eAAO,MAAM,cAAc,8EAA0E,CAAC;AAatG,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,6HAA6H;IAC7H,GAAG,EAAE,MAAM,CAAC;IACZ,yHAAyH;IACzH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wGAAwG;IACxG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,MAAM,CAUhG;AAaD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,SAAoB,EAAE,OAAO,GAAE,gBAAqB,GAAG,MAAM,CAIrG;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,SAAoB,EAAE,OAAO,GAAE,gBAAqB,GAAG,MAAM,CAErG;AAED,0CAA0C;AAC1C,wBAAgB,aAAa,CAAC,GAAG,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EAAE,CAE5D"}
|
package/dist/ci-setup.js
CHANGED
|
@@ -32,8 +32,15 @@
|
|
|
32
32
|
* download and check alone, for an image build's `RUN` with the arch from
|
|
33
33
|
* `$TARGETARCH` ({@link CI_DOCKER_ARCH}) and the checksums URL from a build
|
|
34
34
|
* argument, so a tampered checksums file can be shown to fail the build.
|
|
35
|
+
*
|
|
36
|
+
* Since #4908 the download, the check and the recorded sums are
|
|
37
|
+
* `@intentius/chant/ci-image`'s, the one copy every engine install uses:
|
|
38
|
+
* {@link ciFetchScript} is `ciToolFetchScript` and {@link PINNED_SHA256} is
|
|
39
|
+
* read from `CI_TOOL_SHA256`. This module keeps the Pulumi words (the x64
|
|
40
|
+
* and arm64 archive names, the sums by them) and the install lines.
|
|
35
41
|
*/
|
|
36
42
|
import { CI_SETUP_UNLINKED_FLOOR } from "@intentius/chant/lexicon";
|
|
43
|
+
import { CI_TOOL_DOCKER_ARCH, CI_TOOL_JOB_ARCH, CI_TOOL_SHA256, ciToolFetchScript, ciToolRelease, ciToolSha256 } from "@intentius/chant/ci-image";
|
|
37
44
|
import { pulumiMemberEngine } from "./member-engine.js";
|
|
38
45
|
/** The first chant with `link: false` and {@link ciFetchScript} (#4814). It is core's floor, so it freezes with chant's release. */
|
|
39
46
|
export const PULUMI_CI_SETUP_FLOOR = CI_SETUP_UNLINKED_FLOOR;
|
|
@@ -44,56 +51,53 @@ export const PLUNGE_CI_VERSION = "0.1.0";
|
|
|
44
51
|
/** Where the lines install each release by default. */
|
|
45
52
|
export const CI_ENGINE_ROOT = "/opt/chant";
|
|
46
53
|
export const CI_ARCHES = ["x64", "arm64"];
|
|
47
|
-
|
|
48
|
-
* The sha256 of each recorded Linux archive, copied from its release's
|
|
49
|
-
* checksums file (the same sums plywood#12 records). A checksums file that
|
|
50
|
-
* lists another sum for one of these fails the install. Add a release's
|
|
51
|
-
* two lines when moving a default version.
|
|
52
|
-
*/
|
|
53
|
-
export const PINNED_SHA256 = {
|
|
54
|
-
"pulumi-v3.272.0-linux-x64.tar.gz": "58d545f2b98761051922008ebd381ecef95484d7f7a5ff7faa15d7a780ea84f6",
|
|
55
|
-
"pulumi-v3.272.0-linux-arm64.tar.gz": "4f0741901b8982c4326b702dabf483c63d2cf77c88ac42dd752b72541284a534",
|
|
56
|
-
"plunge-v0.1.0-linux-x64.tar.gz": "22b89da39ab7dc11268c7b625fec3d99c0793c9c47bf8d031fa94e6967ee8187",
|
|
57
|
-
"plunge-v0.1.0-linux-arm64.tar.gz": "6855611b8cf8381d73f5ddf0b5c0a0d83bdc2a5bd8c50d415e52bb05a4574f83",
|
|
58
|
-
};
|
|
54
|
+
const TOOL_ARCH = { x64: "amd64", arm64: "arm64" };
|
|
59
55
|
const VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
60
|
-
const SHA256 = /^[0-9a-f]{64}$/;
|
|
61
56
|
const ROOT = /^\/[A-Za-z0-9._/-]*$/;
|
|
62
|
-
/** The release of `engine` at `version
|
|
57
|
+
/** The release of `engine` at `version`, as ci-image names it (#4908). A version is a plain semver, so it is safe on a shell line. */
|
|
63
58
|
export function ciRelease(engine, version) {
|
|
64
59
|
if (!VERSION.test(version))
|
|
65
60
|
throw new Error(`${engine} version ${JSON.stringify(version)} is not a release version such as 3.272.0`);
|
|
66
|
-
|
|
67
|
-
return {
|
|
68
|
-
base: `https://github.com/pulumi/pulumi/releases/download/v${version}`,
|
|
69
|
-
archive: (arch) => `pulumi-v${version}-linux-${arch}.tar.gz`,
|
|
70
|
-
checksums: `pulumi-${version}-checksums.txt`,
|
|
71
|
-
};
|
|
72
|
-
}
|
|
61
|
+
const r = ciToolRelease(engine, version, "amd64");
|
|
73
62
|
return {
|
|
74
|
-
base:
|
|
75
|
-
archive: (arch) =>
|
|
76
|
-
checksums:
|
|
63
|
+
base: r.url.slice(0, r.url.lastIndexOf("/")),
|
|
64
|
+
archive: (arch) => ciToolRelease(engine, version, TOOL_ARCH[arch]).asset,
|
|
65
|
+
checksums: r.checksums,
|
|
77
66
|
};
|
|
78
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* The sha256 of each recorded Linux archive, by its file name: ci-image's
|
|
70
|
+
* `CI_TOOL_SHA256` for Pulumi and plunge (#4908), where a release's two
|
|
71
|
+
* lines are added when a default version moves.
|
|
72
|
+
*/
|
|
73
|
+
export const PINNED_SHA256 = Object.fromEntries(Object.entries(CI_TOOL_SHA256).flatMap(([key, sum]) => {
|
|
74
|
+
const m = /^(pulumi|plunge)-(.+)-linux-(amd64|arm64)$/.exec(key);
|
|
75
|
+
return m ? [[ciRelease(m[1], m[2]).archive(m[3] === "amd64" ? "x64" : "arm64"), sum]] : [];
|
|
76
|
+
}));
|
|
79
77
|
/** Where one release of one engine lives after its line runs. */
|
|
80
78
|
export function ciEngineDir(engine, version, root = CI_ENGINE_ROOT) {
|
|
81
79
|
if (!ROOT.test(root))
|
|
82
80
|
throw new Error(`an engine root is an absolute path of letters, digits and ._/-, not ${JSON.stringify(root)}`);
|
|
83
81
|
return `${root.replace(/\/+$/, "")}/${engine}-${version}`;
|
|
84
82
|
}
|
|
83
|
+
/** The caller's sums by ci-image's architecture names. */
|
|
84
|
+
function toolSums(given) {
|
|
85
|
+
if (!given)
|
|
86
|
+
return undefined;
|
|
87
|
+
const out = {};
|
|
88
|
+
for (const arch of CI_ARCHES)
|
|
89
|
+
if (given[arch] !== undefined)
|
|
90
|
+
out[TOOL_ARCH[arch]] = given[arch];
|
|
91
|
+
return out;
|
|
92
|
+
}
|
|
85
93
|
/** The recorded sums for `version`, by architecture: the caller's, else {@link PINNED_SHA256}'s. */
|
|
86
94
|
export function recordedSums(engine, version, given) {
|
|
87
|
-
|
|
95
|
+
ciRelease(engine, version);
|
|
96
|
+
const sums = ciToolSha256(engine, version, toolSums(given));
|
|
88
97
|
const out = {};
|
|
89
|
-
for (const arch of CI_ARCHES)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
continue;
|
|
93
|
-
if (!SHA256.test(sum))
|
|
94
|
-
throw new Error(`the recorded sha256 for ${r.archive(arch)} is not 64 hex digits`);
|
|
95
|
-
out[arch] = sum;
|
|
96
|
-
}
|
|
98
|
+
for (const arch of CI_ARCHES)
|
|
99
|
+
if (sums[TOOL_ARCH[arch]] !== undefined)
|
|
100
|
+
out[arch] = sums[TOOL_ARCH[arch]];
|
|
97
101
|
return out;
|
|
98
102
|
}
|
|
99
103
|
/** A shell expression giving the job's architecture as x64 or arm64. */
|
|
@@ -104,44 +108,42 @@ export const CI_JOB_ARCH = `"$(uname -m | sed 's/x86_64/x64/;s/aarch64/arm64/')"
|
|
|
104
108
|
* bash 3.2 (macOS sh) cannot parse a bare `arm64)` inside `$(...)`.
|
|
105
109
|
*/
|
|
106
110
|
export const CI_DOCKER_ARCH = `"$(case "$TARGETARCH" in (arm64) echo arm64 ;; (*) echo x64 ;; esac)"`;
|
|
111
|
+
/**
|
|
112
|
+
* `arch`, an expression giving x64 or arm64, as ci-image's amd64 or arm64.
|
|
113
|
+
* The two expressions here are ci-image's own; another is mapped in the
|
|
114
|
+
* shell.
|
|
115
|
+
*/
|
|
116
|
+
function toolArch(arch) {
|
|
117
|
+
if (arch === undefined || arch === CI_JOB_ARCH)
|
|
118
|
+
return CI_TOOL_JOB_ARCH;
|
|
119
|
+
if (arch === CI_DOCKER_ARCH)
|
|
120
|
+
return CI_TOOL_DOCKER_ARCH;
|
|
121
|
+
return `"$(case ${arch} in (x64) echo amd64 ;; (*) echo ${arch} ;; esac)"`;
|
|
122
|
+
}
|
|
107
123
|
/**
|
|
108
124
|
* Shell that downloads one release into `dir` and checks it against the
|
|
109
125
|
* release's checksums file and, when recorded, the sum per architecture
|
|
110
|
-
* (#4814). Run it under `set -e`.
|
|
111
|
-
* after the engine, which
|
|
112
|
-
* `checksumsUrl` go onto the line
|
|
113
|
-
* shell, never a value from outside.
|
|
126
|
+
* (#4814): ci-image's `ciToolFetchScript` (#4908). Run it under `set -e`.
|
|
127
|
+
* Both archives unpack a top directory named after the engine, which
|
|
128
|
+
* `--strip-components=1` drops. `arch` and `checksumsUrl` go onto the line
|
|
129
|
+
* as they are, so they are the caller's shell, never a value from outside.
|
|
114
130
|
*/
|
|
115
131
|
export function ciFetchScript(engine, version, options) {
|
|
116
132
|
if (!ROOT.test(options.dir))
|
|
117
133
|
throw new Error(`a fetch directory is an absolute path of letters, digits and ._/-, not ${JSON.stringify(options.dir)}`);
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
`a=${arch}`,
|
|
127
|
-
`f="${file}"`,
|
|
128
|
-
`t="$(mktemp -d)"`,
|
|
129
|
-
`curl -fsSLo "$t/$f" "${r.base}/$f"`,
|
|
130
|
-
`curl -fsSLo "$t/sums" ${checksumsUrl ?? `"${r.base}/${r.checksums}"`}`,
|
|
131
|
-
// The archive's line, with any ./ or * before the name taken off.
|
|
132
|
-
`line="$(sed -n "s#^\\([0-9a-f]\\{64\\}\\) *[*.]*/*$f\\$#\\1#p" "$t/sums")"`,
|
|
133
|
-
`{ [ -n "$line" ] || { echo "${engine} ${version}: $f is not in ${r.checksums}" >&2; exit 1; }; }`,
|
|
134
|
-
pinCase,
|
|
135
|
-
`{ [ -z "$want" ] || [ "$line" = "$want" ] || { echo "${engine} ${version}: ${r.checksums} lists $line for $f; chant records $want" >&2; exit 1; }; }`,
|
|
136
|
-
`echo "$line $t/$f" | sha256sum -c - >/dev/null`,
|
|
137
|
-
`mkdir -p "${dir}"`,
|
|
138
|
-
`tar -xzf "$t/$f" -C "${dir}" --strip-components=1`,
|
|
139
|
-
].join(" && ");
|
|
134
|
+
ciRelease(engine, version);
|
|
135
|
+
const sha256 = toolSums(options.sha256);
|
|
136
|
+
return ciToolFetchScript(engine, version, {
|
|
137
|
+
dir: options.dir,
|
|
138
|
+
arch: toolArch(options.arch),
|
|
139
|
+
...(sha256 ? { sha256 } : {}),
|
|
140
|
+
...(options.checksumsUrl !== undefined ? { checksumsUrl: options.checksumsUrl } : {}),
|
|
141
|
+
});
|
|
140
142
|
}
|
|
141
143
|
/** The line for one engine: skip when present, else fetch and check, then link into /usr/local/bin unless `link` is false. */
|
|
142
144
|
function installLine(engine, version, options, present) {
|
|
143
145
|
const dir = ciEngineDir(engine, version, options.root);
|
|
144
|
-
const install = `(set -e; ${
|
|
146
|
+
const install = `(set -e; ${ciFetchScript(engine, version, { dir, ...(options.sha256 ? { sha256: options.sha256 } : {}) })})`;
|
|
145
147
|
// Unlinked: the versioned directory alone says whether this release is there.
|
|
146
148
|
if (options.link === false)
|
|
147
149
|
return `[ -x "${dir}/${engine}" ] || ${install}`;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { pulumiEngineEvents, pulumiStreamPreview, pulumiAppliedSteps, pulumiPoli
|
|
|
16
16
|
export { readPulumiDrift, type PulumiDriftRunners } from "./drift-read.js";
|
|
17
17
|
export { pulumiAuditCatalog } from "./lint/audit-catalog.js";
|
|
18
18
|
export { PulumiWatchOp, type PulumiWatchOpConfig, type PulumiWatchOpResources } from "./composites/pulumi-watch-op.js";
|
|
19
|
-
export { gatedStackExport, gatedStackCancel, gatedStackMove, gatedStackAction, checkStackActionUrn, stackActionScope, stackActionSubject, PulumiStackActionRefused, PULUMI_ACTION_TYPE_PREFIX, type PulumiStackActionOptions, type PulumiStackActionResult, type PulumiStackActionRefusal, moveLeftovers, diyStackLockIds, diyStackLock, pulumiStackLockIds, pulumiStackVersionSource, PulumiStackOpRefused, type PulumiStackOpRefusal, type PulumiStackOpCheck, type PulumiStackExportResult, type PulumiStackCancelResult, type PulumiStackMoveResult, type PulumiStackLocks, PULUMI_STACK_OPS_OP, type PulumiStackOpOutcome, type PulumiStackOpCommon, type PulumiStackOpKind } from "./stack-ops.js";
|
|
19
|
+
export { gatedStackExport, gatedStackCancel, gatedStackMove, gatedStackAction, checkStackActionUrn, stackActionScope, stackActionSubject, PulumiStackActionRefused, PULUMI_ACTION_TYPE_PREFIX, type PulumiStackActionOptions, type PulumiStackActionResult, type PulumiStackActionRefusal, moveLeftovers, pulumiMoveDestStack, pulumiStackLockToCancel, stackOpApproveCommand, type PulumiLockToCancel, type PulumiLockToCancelRefusal, diyStackLockIds, diyStackLock, pulumiStackLockIds, pulumiStackVersionSource, PulumiStackOpRefused, type PulumiStackOpRefusal, type PulumiStackOpCheck, type PulumiStackExportResult, type PulumiStackCancelResult, type PulumiStackMoveResult, type PulumiStackLocks, PULUMI_STACK_OPS_OP, type PulumiStackOpOutcome, type PulumiStackOpCommon, type PulumiStackOpKind } from "./stack-ops.js";
|
|
20
20
|
export { initReviewStack, removeReviewStack, parseReviewStackLocation, prNumberOf, pulumiTemplateStack, reviewConfigSource, reviewStackFor, reviewStackLocation, reviewStackTeardown, REVIEW_STACK_TEARDOWN, type ReviewStackOptions, type ReviewStackOutcome, type ReviewStackTeardown, type ReviewStackTeardownOptions, } from "./review-stack.js";
|
|
21
21
|
export { pulumiStackReferences, parsePulumiStackName, stackReferenceOwner, PULUMI_STACK_REFERENCE_TYPE, type PulumiStackReference } from "./stack-references.js";
|
|
22
22
|
export { PulumiAdoptOp, type PulumiAdoptOpConfig, type PulumiAdoptOpResources, type PulumiAdoptStack } from "./composites/pulumi-adopt-op.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5H,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,qBAAqB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC;AACtB,OA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KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACnI,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAElG,OAAO,EAAE,0BAA0B,EAAE,KAAK,kBAAkB,EAAE,KAAK,0BAA0B,EAAE,MAAM,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { readPulumiDrift } from "./drift-read.js";
|
|
|
18
18
|
export { pulumiAuditCatalog } from "./lint/audit-catalog.js";
|
|
19
19
|
// The Preview/Drift watch composite and its step builders (#4494).
|
|
20
20
|
export { PulumiWatchOp } from "./composites/pulumi-watch-op.js";
|
|
21
|
-
export { gatedStackExport, gatedStackCancel, gatedStackMove, gatedStackAction, checkStackActionUrn, stackActionScope, stackActionSubject, PulumiStackActionRefused, PULUMI_ACTION_TYPE_PREFIX, moveLeftovers, diyStackLockIds, diyStackLock, pulumiStackLockIds, pulumiStackVersionSource, PulumiStackOpRefused, PULUMI_STACK_OPS_OP } from "./stack-ops.js";
|
|
21
|
+
export { gatedStackExport, gatedStackCancel, gatedStackMove, gatedStackAction, checkStackActionUrn, stackActionScope, stackActionSubject, PulumiStackActionRefused, PULUMI_ACTION_TYPE_PREFIX, moveLeftovers, pulumiMoveDestStack, pulumiStackLockToCancel, stackOpApproveCommand, diyStackLockIds, diyStackLock, pulumiStackLockIds, pulumiStackVersionSource, PulumiStackOpRefused, PULUMI_STACK_OPS_OP } from "./stack-ops.js";
|
|
22
22
|
// Review stacks (INTENTIUS/plywood#15): pr-<n> stacks only.
|
|
23
23
|
export { initReviewStack, removeReviewStack, parseReviewStackLocation, prNumberOf, pulumiTemplateStack, reviewConfigSource, reviewStackFor, reviewStackLocation, reviewStackTeardown, REVIEW_STACK_TEARDOWN, } from "./review-stack.js";
|
|
24
24
|
export { pulumiStackReferences, parsePulumiStackName, stackReferenceOwner, PULUMI_STACK_REFERENCE_TYPE } from "./stack-references.js";
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "8334132d20fb7ecaa6cbdc1db8457dd55bca1d0a1b4f18aa585f7e2cfb9c7200",
|
|
5
5
|
"meta.json": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
|
|
6
6
|
"types/index.d.ts": "883bcdf6a960e21360e79df010ca2087719fffec60fc39541c5ecd32d661e328",
|
|
7
7
|
"rules/member-dir-absolute.ts": "4805d5e247ad544f942e1b2c36fc15a5087ca0aacaf804183a269021bd60e276",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"skills/chant-pulumi-stack-export.md": "aadd67f5e067de61dfda43d57492bca08bd22429e4baf314d6856a810dc0e8dc",
|
|
26
26
|
"skills/chant-pulumi-plunge.md": "8a7f2f9f1124744dee9645905f141057ca01f5a88e34e1bc3858d69406d7ff3a"
|
|
27
27
|
},
|
|
28
|
-
"composite": "
|
|
28
|
+
"composite": "a0c3f35f76d85ddc19be759ebf730d5cbd39f301166d9cd1c317871b92eafc21"
|
|
29
29
|
}
|
package/dist/manifest.json
CHANGED
package/dist/stack-ops.d.ts
CHANGED
|
@@ -31,7 +31,18 @@ export interface PulumiStackOpCommon {
|
|
|
31
31
|
plunge?: PulumiRunner;
|
|
32
32
|
env?: Record<string, string | undefined>;
|
|
33
33
|
gated?: GatedRequestApi;
|
|
34
|
+
/**
|
|
35
|
+
* The command a waiting or refused request prints (#4911), as the product
|
|
36
|
+
* words it: a function of the gate (the request's subject) and the
|
|
37
|
+
* digest, which core's adapters take as `words.approveCommand`, or a
|
|
38
|
+
* template whose `{op}`, `{gate}`, `{digest}` and `{sign}` chant fills,
|
|
39
|
+
* `{sign}` being `--sign` when `rules.mode` is `sealed`. Default core's
|
|
40
|
+
* line.
|
|
41
|
+
*/
|
|
42
|
+
approveCommand?: string | ((subject: string, digest: string) => string);
|
|
34
43
|
}
|
|
44
|
+
/** The approve line `common` asks for (#4911), as core's adapters take `words.approveCommand`; undefined for core's own. */
|
|
45
|
+
export declare function stackOpApproveCommand(common: Pick<PulumiStackOpCommon, "approveCommand" | "rules" | "op">): ((subject: string, digest: string) => string) | undefined;
|
|
35
46
|
/** Which of core's checks stopped an operation that was approved (#4808): a state that moved between the plan and the write. */
|
|
36
47
|
export type PulumiStackOpCheck = "moved";
|
|
37
48
|
/** How a call ended. Only `done` and `failed` ran anything. */
|
|
@@ -174,6 +185,33 @@ export declare function pulumiStackLockIds(opts: {
|
|
|
174
185
|
engine?: PulumiMemberEngine;
|
|
175
186
|
env?: NodeJS.ProcessEnv;
|
|
176
187
|
}): Promise<PulumiStackLocks>;
|
|
188
|
+
/** Why {@link pulumiStackLockToCancel} names no lock (#4911). */
|
|
189
|
+
export type PulumiLockToCancelRefusal = "read-failed" | "not-listed" | "no-lock" | "many-locks";
|
|
190
|
+
/** The lock a cancel releases, or why none can be named without the caller's id. */
|
|
191
|
+
export type PulumiLockToCancel = {
|
|
192
|
+
lockId: string;
|
|
193
|
+
read: boolean;
|
|
194
|
+
} | {
|
|
195
|
+
refusal: PulumiLockToCancelRefusal;
|
|
196
|
+
message: string;
|
|
197
|
+
backend?: string;
|
|
198
|
+
ids?: string[];
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* The lock id a cancel asks to release (#4911): `given` when the caller
|
|
202
|
+
* names one, else the one lock {@link pulumiStackLockIds} finds on the
|
|
203
|
+
* stack's `file://` backend. No lock, two locks, a backend chant cannot
|
|
204
|
+
* list, or a read that failed answers a `refusal` with chant's message; a
|
|
205
|
+
* product words it from the code, the `backend` and the `ids`.
|
|
206
|
+
*/
|
|
207
|
+
export declare function pulumiStackLockToCancel(given: string | undefined, stack: {
|
|
208
|
+
dir: string;
|
|
209
|
+
stack: string;
|
|
210
|
+
cwd?: string;
|
|
211
|
+
project?: string;
|
|
212
|
+
engine?: PulumiMemberEngine;
|
|
213
|
+
env?: NodeJS.ProcessEnv;
|
|
214
|
+
}): Promise<PulumiLockToCancel>;
|
|
177
215
|
export interface PulumiStackCancelOptions extends PulumiStackOpCommon {
|
|
178
216
|
dir: string;
|
|
179
217
|
cwd?: string;
|
|
@@ -189,8 +227,10 @@ export interface PulumiStackCancelOptions extends PulumiStackOpCommon {
|
|
|
189
227
|
* The repository's runs that have not finished (#4808), read before the
|
|
190
228
|
* request and again just before the spend: while one that began before
|
|
191
229
|
* the lock was taken is alive, nothing is released. A throw refuses the
|
|
192
|
-
* release. Default core's `
|
|
193
|
-
* names over the environment (`forgeTargetWith`)
|
|
230
|
+
* release. Default core's `forgeLiveRunsOf` of the forge {@link forge}
|
|
231
|
+
* names over the environment (`forgeTargetWith`); with no CI variables
|
|
232
|
+
* and no `forge.repo`, the stack directory's origin remote names the
|
|
233
|
+
* forge and the repository (#4920).
|
|
194
234
|
*/
|
|
195
235
|
liveRuns?: () => Promise<LiveRun[]>;
|
|
196
236
|
/** The forge whose runs are read when no `liveRuns` is given: `--forge`, `--repo` and the rest a product's flags give. */
|
|
@@ -219,7 +259,29 @@ export interface PulumiMoveStack {
|
|
|
219
259
|
dir: string;
|
|
220
260
|
/** The stack, as `--source` or `--dest` takes it (`<org>/<project>/<stack>` across projects). */
|
|
221
261
|
stack: string;
|
|
262
|
+
/**
|
|
263
|
+
* The stack's project (#4911). Given on both sides with a bare `stack`,
|
|
264
|
+
* the move names the destination as `--dest` takes it itself
|
|
265
|
+
* ({@link pulumiMoveDestStack}).
|
|
266
|
+
*/
|
|
267
|
+
project?: string;
|
|
222
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* The destination as `pulumi state move --dest` takes it (#4911): the bare
|
|
271
|
+
* stack in the source's project, else `<org>/<project>/<stack>`. A DIY
|
|
272
|
+
* backend's organization is always `organization`; on Pulumi Cloud (no
|
|
273
|
+
* backend, or an http(s) one) it is `org` when given. A stack already
|
|
274
|
+
* qualified is kept.
|
|
275
|
+
*/
|
|
276
|
+
export declare function pulumiMoveDestStack(source: {
|
|
277
|
+
project: string;
|
|
278
|
+
}, dest: {
|
|
279
|
+
project: string;
|
|
280
|
+
stack: string;
|
|
281
|
+
backend?: string;
|
|
282
|
+
}, opts?: {
|
|
283
|
+
org?: string;
|
|
284
|
+
}): string;
|
|
223
285
|
export interface PulumiStackMoveOptions extends PulumiStackOpCommon {
|
|
224
286
|
source: PulumiMoveStack;
|
|
225
287
|
dest: PulumiMoveStack;
|
|
@@ -229,6 +291,8 @@ export interface PulumiStackMoveOptions extends PulumiStackOpCommon {
|
|
|
229
291
|
engine?: PulumiMemberEngine;
|
|
230
292
|
runId?: string;
|
|
231
293
|
commit?: string;
|
|
294
|
+
/** The Pulumi Cloud organization a destination in another project is named under ({@link pulumiMoveDestStack}). */
|
|
295
|
+
org?: string;
|
|
232
296
|
}
|
|
233
297
|
export interface PulumiStackMoveResult {
|
|
234
298
|
engine: PulumiMemberEngine;
|
package/dist/stack-ops.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-ops.d.ts","sourceRoot":"","sources":["../src/stack-ops.ts"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAA8C,KAAK,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC1H,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAwC,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE9G,OAAO,
|
|
1
|
+
{"version":3,"file":"stack-ops.d.ts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