@intentius/chant 0.124.30 → 0.124.32
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/bin/chant +7 -2
- package/dist/cli/commands/check-lexicon-plugin.d.ts +7 -4
- package/dist/cli/commands/check-lexicon-plugin.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon-plugin.js +10 -7
- package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon.js +18 -12
- package/dist/cli/commands/import.d.ts +10 -0
- package/dist/cli/commands/import.d.ts.map +1 -1
- package/dist/cli/commands/import.js +37 -0
- package/dist/cli/commands/init-lexicon/templates/project.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/project.js +4 -3
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/commands/onboard.js +8 -4
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/update.js +2 -1
- package/dist/cli/dependencies.d.ts +18 -0
- package/dist/cli/dependencies.d.ts.map +1 -0
- package/dist/cli/dependencies.js +120 -0
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +23 -4
- package/dist/cli/handlers/fan-out.d.ts.map +1 -1
- package/dist/cli/handlers/fan-out.js +12 -4
- package/dist/cli/handlers/graph.d.ts.map +1 -1
- package/dist/cli/handlers/graph.js +16 -6
- package/dist/cli/handlers/lint.d.ts.map +1 -1
- package/dist/cli/handlers/lint.js +6 -0
- package/dist/cli/handlers/operator.d.ts +2 -2
- package/dist/cli/handlers/operator.js +3 -3
- package/dist/cli/handlers/pr.d.ts +14 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +488 -32
- package/dist/cli/handlers/promote.d.ts.map +1 -1
- package/dist/cli/handlers/promote.js +3 -1
- package/dist/cli/handlers/run.d.ts +13 -1
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/handlers/run.js +38 -15
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +74 -12
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +65 -0
- package/dist/cli/registry.d.ts +29 -2
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/cli/registry.js +6 -2
- package/dist/codegen/generate-post-synth-barrel.js +2 -2
- package/dist/codegen/lexicon-regen.d.ts +4 -0
- package/dist/codegen/lexicon-regen.d.ts.map +1 -1
- package/dist/codegen/lexicon-regen.js +1 -1
- package/dist/codegen/pinned-upgrade.js +2 -2
- package/dist/components/capability.d.ts +44 -3
- package/dist/components/capability.d.ts.map +1 -1
- package/dist/components/capability.js +21 -0
- package/dist/components/changed-files.d.ts +7 -1
- package/dist/components/changed-files.d.ts.map +1 -1
- package/dist/components/changed-files.js +9 -1
- package/dist/components/driver.d.ts +38 -0
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/driver.js +47 -6
- package/dist/components/fan-out-record.d.ts +6 -1
- package/dist/components/fan-out-record.d.ts.map +1 -1
- package/dist/components/fan-out-record.js +24 -0
- package/dist/components/fan-out-run.d.ts +20 -0
- package/dist/components/fan-out-run.d.ts.map +1 -1
- package/dist/components/fan-out-run.js +21 -1
- package/dist/components/pr-pipeline.d.ts +65 -2
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +107 -15
- package/dist/components/pr-run.d.ts +127 -29
- package/dist/components/pr-run.d.ts.map +1 -1
- package/dist/components/pr-run.js +290 -70
- package/dist/components/wave-plan.d.ts +5 -2
- package/dist/components/wave-plan.d.ts.map +1 -1
- package/dist/components/wave-plan.js +12 -1
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/fold-import.js +16 -6
- package/dist/discovery/sandbox/bundle.d.ts.map +1 -1
- package/dist/discovery/sandbox/bundle.js +6 -0
- package/dist/discovery/specifier-resolve.d.ts.map +1 -1
- package/dist/discovery/specifier-resolve.js +8 -2
- package/dist/fold/fold.d.ts.map +1 -1
- package/dist/fold/fold.js +68 -1
- package/dist/fold/subset.d.ts +37 -0
- package/dist/fold/subset.d.ts.map +1 -1
- package/dist/fold/subset.js +88 -0
- package/dist/lexicon-module.d.ts +10 -0
- package/dist/lexicon-module.d.ts.map +1 -1
- package/dist/lexicon-module.js +53 -8
- package/dist/lexicon-plugin-helpers.d.ts.map +1 -1
- package/dist/lexicon-plugin-helpers.js +6 -4
- package/dist/lexicon.d.ts +2 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/affected.d.ts.map +1 -1
- package/dist/lifecycle/affected.js +7 -1
- package/dist/lifecycle/release-ledger.d.ts +21 -0
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.js +24 -0
- package/dist/lifecycle/work-dir.d.ts +45 -0
- package/dist/lifecycle/work-dir.d.ts.map +1 -0
- package/dist/lifecycle/work-dir.js +78 -0
- package/dist/lint/discover.d.ts +17 -9
- package/dist/lint/discover.d.ts.map +1 -1
- package/dist/lint/discover.js +62 -54
- package/dist/module-source.d.ts +57 -0
- package/dist/module-source.d.ts.map +1 -0
- package/dist/module-source.js +104 -0
- package/dist/op/activities/factory.js +1 -1
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/discover.js +13 -3
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/gate.js +3 -0
- package/dist/op/local-executor.d.ts +12 -0
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/local-executor.js +22 -3
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +20 -5
- package/dist/op/operator.d.ts +2 -2
- package/dist/op/operator.js +2 -2
- package/dist/op/redact.d.ts +34 -0
- package/dist/op/redact.d.ts.map +1 -0
- package/dist/op/redact.js +94 -0
- package/dist/op/step-console.d.ts +2 -0
- package/dist/op/step-console.d.ts.map +1 -1
- package/dist/op/step-console.js +5 -2
- package/dist/op/steward.d.ts +6 -4
- package/dist/op/steward.d.ts.map +1 -1
- package/dist/op/steward.js +5 -3
- package/dist/op/work-lease-run.d.ts +20 -7
- package/dist/op/work-lease-run.d.ts.map +1 -1
- package/dist/op/work-lease-run.js +56 -12
- package/dist/pr-forge.d.ts +27 -0
- package/dist/pr-forge.d.ts.map +1 -1
- package/dist/pr-forge.js +51 -6
- package/dist/pr-loop.d.ts +141 -4
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +122 -6
- package/dist/pr-report-url.d.ts +10 -2
- package/dist/pr-report-url.d.ts.map +1 -1
- package/dist/pr-report-url.js +52 -6
- package/dist/ts-loader.d.ts +38 -4
- package/dist/ts-loader.d.ts.map +1 -1
- package/dist/ts-loader.js +190 -16
- package/dist/wave-runtime.mjs +208 -208
- package/dist/workspace/chant-migrations/fountain-retired-kinds.d.ts +34 -0
- package/dist/workspace/chant-migrations/fountain-retired-kinds.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/fountain-retired-kinds.js +176 -0
- package/dist/workspace/chant-migrations.d.ts.map +1 -1
- package/dist/workspace/chant-migrations.js +2 -0
- package/dist/workspace/checks/boxes.d.ts +6 -6
- package/dist/workspace/checks/boxes.js +9 -9
- package/dist/workspace/ci-green-forge.d.ts +6 -4
- package/dist/workspace/ci-green-forge.d.ts.map +1 -1
- package/dist/workspace/ci-green.d.ts +28 -12
- package/dist/workspace/ci-green.d.ts.map +1 -1
- package/dist/workspace/ci-green.js +49 -21
- package/dist/workspace/ci-list.schema.json +12 -6
- package/dist/workspace/ci-report-url.d.ts +18 -0
- package/dist/workspace/ci-report-url.d.ts.map +1 -0
- package/dist/workspace/ci-report-url.js +33 -0
- package/dist/workspace/ci-run-index.d.ts +108 -0
- package/dist/workspace/ci-run-index.d.ts.map +1 -0
- package/dist/workspace/ci-run-index.js +164 -0
- package/dist/workspace/ci-run-index.schema.json +52 -0
- package/dist/workspace/ci-run.d.ts +159 -9
- package/dist/workspace/ci-run.d.ts.map +1 -1
- package/dist/workspace/ci-run.js +419 -50
- package/dist/workspace/ci-runner-key.d.ts +133 -0
- package/dist/workspace/ci-runner-key.d.ts.map +1 -0
- package/dist/workspace/ci-runner-key.js +237 -0
- package/dist/workspace/ci-secrets.d.ts +65 -0
- package/dist/workspace/ci-secrets.d.ts.map +1 -0
- package/dist/workspace/ci-secrets.js +211 -0
- package/dist/workspace/ci-serve.d.ts +67 -4
- package/dist/workspace/ci-serve.d.ts.map +1 -1
- package/dist/workspace/ci-serve.js +240 -35
- package/dist/workspace/declaration.d.ts +8 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.js +11 -2
- package/dist/workspace/declaration.schema.json +7 -2
- package/dist/workspace/export.d.ts +1 -1
- package/dist/workspace/export.d.ts.map +1 -1
- package/dist/workspace/export.js +7 -3
- package/dist/workspace/ls.d.ts +6 -1
- package/dist/workspace/ls.d.ts.map +1 -1
- package/dist/workspace/ls.js +1 -0
- package/dist/workspace/ls.schema.json +7 -1
- package/dist/workspace/pin-integrity.d.ts.map +1 -1
- package/dist/workspace/pin-integrity.js +3 -2
- package/dist/workspace/pr-report.schema.json +74 -7
- package/dist/workspace/reason-codes.d.ts +7 -3
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/reason-codes.js +9 -4
- package/dist/workspace/run-event.schema.json +3 -1
- package/dist/workspace/status.schema.json +3 -1
- package/dist/workspace/trust/trust-write.d.ts +109 -0
- package/dist/workspace/trust/trust-write.d.ts.map +1 -0
- package/dist/workspace/trust/trust-write.js +320 -0
- package/dist/workspace/trust-write.schema.json +265 -0
- package/dist/workspace/write-scope.d.ts +9 -0
- package/dist/workspace/write-scope.d.ts.map +1 -1
- package/dist/workspace/write-scope.js +11 -1
- package/package.json +1 -1
- package/src/__fixtures__/pr-loop/pr-apply-wave-waiting.note.golden.md +48 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +3 -3
- package/src/cli/commands/audit.test.ts +2 -2
- package/src/cli/commands/check-lexicon-plugin.test.ts +9 -0
- package/src/cli/commands/check-lexicon-plugin.ts +11 -8
- package/src/cli/commands/check-lexicon.test.ts +1 -1
- package/src/cli/commands/check-lexicon.ts +16 -11
- package/src/cli/commands/import.ts +40 -0
- package/src/cli/commands/init-lexicon/templates/project.ts +4 -3
- package/src/cli/commands/init-lexicon.test.ts +8 -5
- package/src/cli/commands/onboard.test.ts +45 -0
- package/src/cli/commands/onboard.ts +8 -4
- package/src/cli/commands/update.test.ts +6 -0
- package/src/cli/commands/update.ts +4 -1
- package/src/cli/compiled-cli.e2e.test.ts +76 -11
- package/src/cli/dependencies.e2e.test.ts +101 -0
- package/src/cli/dependencies.test.ts +93 -0
- package/src/cli/dependencies.ts +122 -0
- package/src/cli/handlers/build.test.ts +69 -0
- package/src/cli/handlers/build.ts +20 -4
- package/src/cli/handlers/fan-out.test.ts +73 -0
- package/src/cli/handlers/fan-out.ts +11 -4
- package/src/cli/handlers/graph.test.ts +76 -0
- package/src/cli/handlers/graph.ts +19 -12
- package/src/cli/handlers/lint.test.ts +42 -0
- package/src/cli/handlers/lint.ts +6 -0
- package/src/cli/handlers/operator.ts +3 -3
- package/src/cli/handlers/pr-waves.test.ts +449 -0
- package/src/cli/handlers/pr.test.ts +134 -0
- package/src/cli/handlers/pr.ts +523 -31
- package/src/cli/handlers/promote.test.ts +26 -1
- package/src/cli/handlers/promote.ts +3 -2
- package/src/cli/handlers/run-components-exit.test.ts +99 -0
- package/src/cli/handlers/run-signer.test.ts +79 -0
- package/src/cli/handlers/run.ts +34 -16
- package/src/cli/main.test.ts +19 -0
- package/src/cli/main.ts +73 -12
- package/src/cli/parse-args.ts +48 -0
- package/src/cli/registry.ts +35 -4
- package/src/codegen/generate-post-synth-barrel.ts +2 -2
- package/src/codegen/lexicon-regen.ts +1 -1
- package/src/codegen/pinned-upgrade.ts +2 -2
- package/src/codegen/post-synth-barrel-guards.test.ts +6 -11
- package/src/components/capability.ts +51 -3
- package/src/components/changed-files.test.ts +16 -1
- package/src/components/changed-files.ts +9 -1
- package/src/components/driver.test.ts +36 -1
- package/src/components/driver.ts +76 -4
- package/src/components/fan-out-record.ts +29 -1
- package/src/components/fan-out-run.test.ts +35 -0
- package/src/components/fan-out-run.ts +40 -1
- package/src/components/pr-pipeline.test.ts +100 -0
- package/src/components/pr-pipeline.ts +132 -17
- package/src/components/pr-run.test.ts +323 -18
- package/src/components/pr-run.ts +354 -75
- package/src/components/wave-plan.ts +16 -4
- package/src/discovery/fold-host-method.test.ts +87 -0
- package/src/discovery/fold-import.ts +15 -5
- package/src/discovery/fold-package-composite.test.ts +27 -0
- package/src/discovery/fold-specifiers.test.ts +8 -0
- package/src/discovery/sandbox/bundle.ts +6 -0
- package/src/discovery/specifier-resolve.ts +8 -2
- package/src/fold/fold.test.ts +72 -0
- package/src/fold/fold.ts +71 -0
- package/src/fold/subset.test.ts +31 -0
- package/src/fold/subset.ts +99 -0
- package/src/lexicon-dist.e2e.test.ts +254 -0
- package/src/lexicon-module.test.ts +47 -0
- package/src/lexicon-module.ts +49 -7
- package/src/lexicon-plugin-helpers.ts +6 -4
- package/src/lexicon.ts +2 -0
- package/src/lifecycle/affected.test.ts +7 -0
- package/src/lifecycle/affected.ts +6 -1
- package/src/lifecycle/release-ledger.ts +34 -0
- package/src/lifecycle/work-dir.test.ts +77 -0
- package/src/lifecycle/work-dir.ts +82 -0
- package/src/lint/discover.test.ts +46 -2
- package/src/lint/discover.ts +55 -49
- package/src/module-source.test.ts +85 -0
- package/src/module-source.ts +112 -0
- package/src/op/activities/factory.ts +1 -1
- package/src/op/discover-root.test.ts +31 -2
- package/src/op/discover.ts +14 -4
- package/src/op/gate.test.ts +30 -0
- package/src/op/gate.ts +3 -0
- package/src/op/local-executor.ts +31 -3
- package/src/op/op-waves-run.ts +20 -5
- package/src/op/op-waves.test.ts +49 -0
- package/src/op/operator.ts +2 -2
- package/src/op/redact.ts +93 -0
- package/src/op/step-console.ts +7 -2
- package/src/op/steward.ts +6 -4
- package/src/op/work-lease-run.test.ts +88 -2
- package/src/op/work-lease-run.ts +52 -12
- package/src/pr-forge-bundle.test.ts +2 -2
- package/src/pr-forge.test.ts +71 -0
- package/src/pr-forge.ts +70 -6
- package/src/pr-loop-bundle.test.ts +2 -1
- package/src/pr-loop.test.ts +117 -1
- package/src/pr-loop.ts +252 -10
- package/src/pr-report-url.ts +58 -6
- package/src/terraform/__fixtures__/advise.test.ts +21 -2
- package/src/ts-loader.test.ts +89 -1
- package/src/ts-loader.ts +180 -13
- package/src/workspace/changes.test.ts +1 -1
- package/src/workspace/chant-migrations/fountain-retired-kinds.test.ts +33 -0
- package/src/workspace/chant-migrations/fountain-retired-kinds.ts +190 -0
- package/src/workspace/chant-migrations.e2e.test.ts +5 -0
- package/src/workspace/chant-migrations.ts +2 -0
- package/src/workspace/checks/boxes.ts +9 -9
- package/src/workspace/ci-green-forge.ts +6 -4
- package/src/workspace/ci-green-runs.test.ts +53 -11
- package/src/workspace/ci-green.test.ts +1 -1
- package/src/workspace/ci-green.ts +50 -22
- package/src/workspace/ci-list.schema.json +12 -6
- package/src/workspace/ci-report-url.test.ts +220 -0
- package/src/workspace/ci-report-url.ts +33 -0
- package/src/workspace/ci-run-index.schema.json +52 -0
- package/src/workspace/ci-run-index.test.ts +392 -0
- package/src/workspace/ci-run-index.ts +206 -0
- package/src/workspace/ci-run.test.ts +520 -42
- package/src/workspace/ci-run.ts +483 -51
- package/src/workspace/ci-runner-key.test.ts +204 -0
- package/src/workspace/ci-runner-key.ts +275 -0
- package/src/workspace/ci-secrets.test.ts +106 -0
- package/src/workspace/ci-secrets.ts +213 -0
- package/src/workspace/ci-serve.test.ts +282 -39
- package/src/workspace/ci-serve.ts +231 -34
- package/src/workspace/declaration.schema.json +7 -2
- package/src/workspace/declaration.test.ts +23 -0
- package/src/workspace/declaration.ts +19 -3
- package/src/workspace/export.ts +6 -3
- package/src/workspace/ls.schema.json +7 -1
- package/src/workspace/ls.ts +7 -2
- package/src/workspace/pin-integrity.test.ts +5 -0
- package/src/workspace/pin-integrity.ts +3 -2
- package/src/workspace/pr-report.schema.json +74 -7
- package/src/workspace/reason-codes.test.ts +2 -0
- package/src/workspace/reason-codes.ts +9 -4
- package/src/workspace/run-event.schema.json +3 -1
- package/src/workspace/status.schema.json +3 -1
- package/src/workspace/trust/trust-write.test.ts +179 -0
- package/src/workspace/trust/trust-write.ts +377 -0
- package/src/workspace/trust-write.schema.json +265 -0
- package/src/workspace/write-scope.test.ts +29 -1
- package/src/workspace/write-scope.ts +12 -1
|
@@ -22,7 +22,10 @@
|
|
|
22
22
|
* own variables. The forge values a generated job reads from `${{ ... }}`
|
|
23
23
|
* expressions or GitLab's predefined variables come from flags here:
|
|
24
24
|
* `BASE_SHA` from `--base`, `PR_NUMBER` from `--pr`, and the commit from
|
|
25
|
-
* `--commit`.
|
|
25
|
+
* `--commit`. The values a forge job gets from repository secrets come from
|
|
26
|
+
* the host's secrets file (`--secrets`, ./ci-secrets.ts, #4096), and every
|
|
27
|
+
* secret value is redacted from the run's events, record, copied report and
|
|
28
|
+
* output by the executor's `redact` option.
|
|
26
29
|
*
|
|
27
30
|
* The steps run in a fresh checkout of the commit: a detached `git worktree`
|
|
28
31
|
* in a temporary directory outside the repository, removed when the run
|
|
@@ -37,14 +40,44 @@
|
|
|
37
40
|
* key is given, so `chant ci tick --source runs` (#4044) judges the commit
|
|
38
41
|
* from it. Its events are `kind: "pipeline"` and `runtime: "ci"`, and the
|
|
39
42
|
* record and the events carry `runOrigin: { forge: "chant" }`.
|
|
43
|
+
*
|
|
44
|
+
* With a forge client (#4097) the job also sets a commit status at its
|
|
45
|
+
* commit: `pending` when it starts, `success` or `failure` when it settles.
|
|
46
|
+
* A status the forge refuses is a warning and never fails the job.
|
|
47
|
+
*
|
|
48
|
+
* Signing is opt-in (#4156). With no runner key the record is unsigned, and
|
|
49
|
+
* a reader counts it with no signer. A key `.chant/trust.json` does not list
|
|
50
|
+
* leaves it unsigned with a note `--verbose` prints, unless the declaration
|
|
51
|
+
* sets `ci.green.signedSince`; then a run left unsigned is a warning.
|
|
52
|
+
*
|
|
53
|
+
* In place (`--in-place`, #4156) the job runs in the checkout it is started
|
|
54
|
+
* in, as a generated forge job does: no worktree, no setup phase and no
|
|
55
|
+
* commit status of its own (the forge shows the job). The steps get the
|
|
56
|
+
* job's whole environment less `CHANT_RUNNER_KEY`, since the forge job is
|
|
57
|
+
* already the boundary, and the record's `runOrigin` names the forge's run,
|
|
58
|
+
* job and attempt (`resolveCiJob`).
|
|
59
|
+
*
|
|
60
|
+
* Local (`--local`, #4161) runs the job the same way on this machine and
|
|
61
|
+
* leaves nothing outside it. It implies `--no-push` and `--no-status`, and
|
|
62
|
+
* writes nothing under a report URL, given or declared: the command gets no
|
|
63
|
+
* `--report-url`, and gets `--no-status`, so pr-plan and pr-apply post no
|
|
64
|
+
* status or note either. The record is still written to the local
|
|
65
|
+
* `chant/lifecycle`, where a reader on this machine finds it beside CI's for
|
|
66
|
+
* the same commit. It says `runOrigin: { forge: "local" }` and its events say
|
|
67
|
+
* `runtime: "local"`. `ci tick --source runs` and `ci list` never count it.
|
|
68
|
+
* A pr-apply still pushes its own release records and gate facts, as the
|
|
69
|
+
* command always does, since a local apply changes the same infrastructure
|
|
70
|
+
* a CI one does.
|
|
40
71
|
*/
|
|
41
72
|
import { type PrLoopJob, type PrLoopPipelineOptions } from "../components/pr-pipeline.js";
|
|
42
|
-
import { type ForgeKind } from "../pr-forge.js";
|
|
73
|
+
import { type CommitStatus, type ForgeKind } from "../pr-forge.js";
|
|
43
74
|
import type { CommandContext } from "../cli/registry.js";
|
|
44
|
-
import type
|
|
75
|
+
import { type RunOrigin } from "../lifecycle/release-ledger.js";
|
|
45
76
|
import { type OpRunResult, type StepRecord } from "../op/local-executor.js";
|
|
46
77
|
import type { OpRunFailureReason, OpRunRecord } from "../op/runtime.js";
|
|
47
78
|
import type { OpConfig } from "../op/types.js";
|
|
79
|
+
import { type Redact } from "../op/redact.js";
|
|
80
|
+
import { type CiSecrets } from "./ci-secrets.js";
|
|
48
81
|
/** The two jobs a pull-request pipeline has. */
|
|
49
82
|
export type CiJobName = PrLoopJob["jobName"];
|
|
50
83
|
export declare const CI_JOB_NAMES: readonly CiJobName[];
|
|
@@ -52,6 +85,8 @@ export declare const CI_JOB_NAMES: readonly CiJobName[];
|
|
|
52
85
|
export declare const CI_JOB_OPS: Record<CiJobName, string>;
|
|
53
86
|
/** Where a job the chant runner ran says it ran (#4094). */
|
|
54
87
|
export declare const CHANT_RUNNER_ORIGIN: RunOrigin;
|
|
88
|
+
/** Where a job `chant ci run --local` ran says it ran (#4161): this machine, outside CI. */
|
|
89
|
+
export declare const CHANT_LOCAL_ORIGIN: RunOrigin;
|
|
55
90
|
/** The runner's variables every job gets, when the runner has them. */
|
|
56
91
|
export declare const CI_RUN_BASE_ENV: readonly ["PATH", "HOME", "USER", "LOGNAME", "SHELL", "LANG", "LC_ALL", "LC_CTYPE", "TMPDIR", "TZ"];
|
|
57
92
|
/**
|
|
@@ -74,11 +109,14 @@ export declare class CiRunError extends Error {
|
|
|
74
109
|
}
|
|
75
110
|
/**
|
|
76
111
|
* The job's environment: the runner's base variables, the forge variables
|
|
77
|
-
* and `passEnv` names it has,
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
112
|
+
* and `passEnv` names it has, the job's secrets from the host's secrets file
|
|
113
|
+
* (#4096), `CHANT_ENV` as a generated workflow sets it, the commit as the
|
|
114
|
+
* forge spells it, and the job's own variables. A job variable the forge
|
|
115
|
+
* fills from an expression comes from a flag, or from a secret or the
|
|
116
|
+
* runner's environment for a token such as `GITHUB_TOKEN`; a literal one,
|
|
117
|
+
* such as `CHANT_RUN_EVENTS_DIR`, is kept as it is. A secret replaces the
|
|
118
|
+
* runner's variable of the same name, and none replaces a variable the
|
|
119
|
+
* runner sets for the job. `CHANT_RUNNER_KEY` is never in it.
|
|
82
120
|
*/
|
|
83
121
|
export declare function ciJobEnv(job: PrLoopJob, input: {
|
|
84
122
|
forge: ForgeKind;
|
|
@@ -86,6 +124,8 @@ export declare function ciJobEnv(job: PrLoopJob, input: {
|
|
|
86
124
|
values: CiRunValues;
|
|
87
125
|
hostEnv: Record<string, string | undefined>;
|
|
88
126
|
passEnv?: readonly string[];
|
|
127
|
+
/** The secrets this job gets, from {@link ciSecretsFor}. */
|
|
128
|
+
secrets?: Record<string, string>;
|
|
89
129
|
}): Record<string, string>;
|
|
90
130
|
/** What {@link ciJobOp} builds the Op from. */
|
|
91
131
|
export interface CiJobOpInput {
|
|
@@ -112,6 +152,16 @@ export declare function ciJobCommand(job: PrLoopJob, chant?: string): string;
|
|
|
112
152
|
* with no lines is left out.
|
|
113
153
|
*/
|
|
114
154
|
export declare function ciJobOp(input: CiJobOpInput): OpConfig;
|
|
155
|
+
/**
|
|
156
|
+
* The code `chant ci run` exits with for a settled job: 0 when it passed,
|
|
157
|
+
* else its command's own code when that is 1 to 255, such as 3 for a moved
|
|
158
|
+
* plan or a waiting wave (#4156), else 1. The run index records the same
|
|
159
|
+
* code (#4165).
|
|
160
|
+
*/
|
|
161
|
+
export declare function ciJobExitCode(result: {
|
|
162
|
+
status: OpRunResult["status"];
|
|
163
|
+
exitCode?: number;
|
|
164
|
+
}): number;
|
|
115
165
|
/**
|
|
116
166
|
* Why a failed job failed (#4094), from its step records and, when the
|
|
117
167
|
* command wrote one, its pull-request report (`pr-plan.json` or
|
|
@@ -132,6 +182,51 @@ export declare function ciJobFailure(input: {
|
|
|
132
182
|
records: readonly StepRecord[];
|
|
133
183
|
reportDir: string;
|
|
134
184
|
}): OpRunFailureReason | undefined;
|
|
185
|
+
/** What posts a job's commit status (#4097): the `setCommitStatus` of a GitHub or Forgejo client. */
|
|
186
|
+
export interface CiStatusClient {
|
|
187
|
+
setCommitStatus(sha: string, status: CommitStatus): Promise<void>;
|
|
188
|
+
}
|
|
189
|
+
/** Where a job's status goes (#4097). */
|
|
190
|
+
export interface CiStatusConfig {
|
|
191
|
+
client: CiStatusClient;
|
|
192
|
+
/** `--status-url`: the link the status carries, `{key}` standing for `<pr>/<commit>[/<member>]`. Otherwise an https `--report-url` is used. */
|
|
193
|
+
urlTemplate?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* A job's status context: `chant/pr-plan` for the plan, and for the apply
|
|
197
|
+
* `chant/<gate>`, which is `chant/pr-apply` unless `--gate` renamed the gate.
|
|
198
|
+
* pr-plan's own status is `chant/plan` (../pr-loop.ts), a different context.
|
|
199
|
+
*/
|
|
200
|
+
export declare function ciStatusContext(job: CiJobName, gate?: string): string;
|
|
201
|
+
/**
|
|
202
|
+
* The link a job's status carries: the `--status-url` template with `{key}`
|
|
203
|
+
* filled, else the https `--report-url` followed by the key and a slash, else
|
|
204
|
+
* none (an `s3://` or `file://` URL is not one a browser opens).
|
|
205
|
+
*/
|
|
206
|
+
export declare function ciStatusUrl(input: {
|
|
207
|
+
urlTemplate?: string;
|
|
208
|
+
reportUrl?: string;
|
|
209
|
+
pr?: number;
|
|
210
|
+
commit: string;
|
|
211
|
+
member?: string;
|
|
212
|
+
}): string | undefined;
|
|
213
|
+
/** What the settled status says: a short summary, or on failure the record's code and reason. */
|
|
214
|
+
export declare function ciStatusSettled(op: string, result: Pick<CiRunResult, "status" | "record" | "failure">, seconds: number): Pick<CommitStatus, "state" | "description">;
|
|
215
|
+
/**
|
|
216
|
+
* The status client for `chant ci run` and `chant ci serve` (#4097), or none:
|
|
217
|
+
* off with `--no-status`, on GitLab (its client has no commit status call
|
|
218
|
+
* here), and without a forge token. A token with the rest of the forge's
|
|
219
|
+
* variables missing gives a warning instead.
|
|
220
|
+
*/
|
|
221
|
+
export declare function ciStatusFromEnv(input: {
|
|
222
|
+
forge: ForgeKind;
|
|
223
|
+
hostEnv: Record<string, string | undefined>;
|
|
224
|
+
noStatus?: boolean;
|
|
225
|
+
statusUrl?: string;
|
|
226
|
+
}): {
|
|
227
|
+
status?: CiStatusConfig;
|
|
228
|
+
warning?: string;
|
|
229
|
+
};
|
|
135
230
|
/** What `chant ci run` runs. */
|
|
136
231
|
export interface CiRunRequest {
|
|
137
232
|
/** Where the command was run: the project, or a workspace member's directory. */
|
|
@@ -144,7 +239,12 @@ export interface CiRunRequest {
|
|
|
144
239
|
base?: string;
|
|
145
240
|
pr?: number;
|
|
146
241
|
commit?: string;
|
|
147
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* The generator's options: `--gate`, `--branch`, `--events-json`,
|
|
244
|
+
* `--report-url`, `--pr-build` and `--pr-build-command`, and `--wave-gate`
|
|
245
|
+
* (#4003), with which the apply job runs the waves in order and stops at
|
|
246
|
+
* the first whose moved plan waits on its own gate.
|
|
247
|
+
*/
|
|
148
248
|
loop?: PrLoopPipelineOptions;
|
|
149
249
|
/** `--image`: the image a generated pipeline names. Only the default gets setup lines. */
|
|
150
250
|
image?: string;
|
|
@@ -156,8 +256,16 @@ export interface CiRunRequest {
|
|
|
156
256
|
passEnv?: readonly string[];
|
|
157
257
|
/** The runner's environment. Default `process.env`. */
|
|
158
258
|
hostEnv?: Record<string, string | undefined>;
|
|
259
|
+
/**
|
|
260
|
+
* The host's secrets file, read (#4096, `--secrets`): the job gets the
|
|
261
|
+
* secrets its allowlist names, and every value in it is redacted from the
|
|
262
|
+
* run's events, record, copied report and output.
|
|
263
|
+
*/
|
|
264
|
+
secrets?: CiSecrets;
|
|
159
265
|
/** `--output`: where the job's report is copied, from `cwd`. Default `.chant/pr`. */
|
|
160
266
|
output?: string;
|
|
267
|
+
/** `--run-index-limit`: how many runs the index at `loop.reportUrl` keeps (#4098). Default 200. */
|
|
268
|
+
runIndexLimit?: number;
|
|
161
269
|
/** A runner key, PEM, that signs the run's record. */
|
|
162
270
|
runnerKey?: string;
|
|
163
271
|
/**
|
|
@@ -181,6 +289,26 @@ export interface CiRunRequest {
|
|
|
181
289
|
* failed. `chant ci serve` names one per `prApplyRecordKey`.
|
|
182
290
|
*/
|
|
183
291
|
resumeRecord?: string;
|
|
292
|
+
/** Set a commit status at the job's commit (#4097). Absent: none is set. `chant ci run` builds it from the environment. */
|
|
293
|
+
status?: CiStatusConfig;
|
|
294
|
+
/**
|
|
295
|
+
* `--in-place` (#4156): run in the checkout `cwd` is in, at its `HEAD`, as
|
|
296
|
+
* a generated forge job does, with the runner's whole environment less
|
|
297
|
+
* `CHANT_RUNNER_KEY`, no setup phase, and the forge's run as `runOrigin`.
|
|
298
|
+
*/
|
|
299
|
+
inPlace?: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* `--local` (#4161): run on this machine and write nothing beyond it. It
|
|
302
|
+
* implies `push: false` and no status (`status` is ignored), writes
|
|
303
|
+
* nothing under `loop.reportUrl`, and the record and events say
|
|
304
|
+
* `runOrigin: { forge: "local" }` and `runtime: "local"`.
|
|
305
|
+
*/
|
|
306
|
+
local?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* `--wave <k>` (#4003, #4156): the one wave a generated apply job runs, as
|
|
309
|
+
* `pr-apply --wave <k>`. Needs `--wave-gate`.
|
|
310
|
+
*/
|
|
311
|
+
wave?: number;
|
|
184
312
|
signal?: AbortSignal;
|
|
185
313
|
}
|
|
186
314
|
export interface CiRunResult {
|
|
@@ -201,8 +329,14 @@ export interface CiRunResult {
|
|
|
201
329
|
pushWarning?: string;
|
|
202
330
|
/** What went wrong beside the job, such as a record the key could not sign. */
|
|
203
331
|
warnings: string[];
|
|
332
|
+
/** What `--verbose` prints: such as a run left unsigned when nothing asks for a signature (#4156). */
|
|
333
|
+
notes: string[];
|
|
334
|
+
/** The exit code of the job's command when it failed with one, such as pr-apply's 3 for a moved plan. */
|
|
335
|
+
exitCode?: number;
|
|
204
336
|
/** The checkout the job ran in, removed by now. */
|
|
205
337
|
checkout: string;
|
|
338
|
+
/** The job ran with `local` (#4161): its record stays on this machine. */
|
|
339
|
+
local?: true;
|
|
206
340
|
}
|
|
207
341
|
/** The member a job runs for, and its directory from the repository root, as the generator decides it. */
|
|
208
342
|
export declare function ciJobPlace(cwd: string, top: string): {
|
|
@@ -215,8 +349,24 @@ export declare function ciJobPlace(cwd: string, top: string): {
|
|
|
215
349
|
* before anything runs when the request can't be run.
|
|
216
350
|
*/
|
|
217
351
|
export declare function ciRun(req: CiRunRequest): Promise<CiRunResult>;
|
|
352
|
+
/**
|
|
353
|
+
* Redact every text file under `dir` in place (#4096): the job's report, its
|
|
354
|
+
* change set and its component events, as `ci run` copied them out. A
|
|
355
|
+
* JSON file stays JSON. A file with a NUL byte is taken as binary and left.
|
|
356
|
+
*/
|
|
357
|
+
export declare function redactTree(dir: string, redact: Redact): void;
|
|
218
358
|
/** The text `chant ci run` prints when the run settles. */
|
|
219
359
|
export declare function formatCiRun(r: CiRunResult): string;
|
|
360
|
+
/**
|
|
361
|
+
* The generator's options from `ci run`'s and `ci serve`'s flags, as `chant
|
|
362
|
+
* build --components --generate <lexicon> --pr-loop` takes them: `--gate`,
|
|
363
|
+
* `--branch`, `--events-json`, `--report-url`, `--pr-build`,
|
|
364
|
+
* `--pr-build-command`, `--wave-gate` (#4003) and `--no-require-review`
|
|
365
|
+
* (#4156).
|
|
366
|
+
*/
|
|
367
|
+
export declare function ciLoopOptions(args: CommandContext["args"]): PrLoopPipelineOptions;
|
|
368
|
+
/** The secrets file `--secrets` names, else the one `CHANT_CI_SECRETS` names, read; undefined when neither names one (#4096). */
|
|
369
|
+
export declare function ciSecretsOf(flag: string | undefined, env?: Record<string, string | undefined>): CiSecrets | undefined;
|
|
220
370
|
/** `chant ci run plan|apply` (#4094). */
|
|
221
371
|
export declare function runCiRun(ctx: CommandContext): Promise<number>;
|
|
222
372
|
//# sourceMappingURL=ci-run.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-run.d.ts","sourceRoot":"","sources":["../../src/workspace/ci-run.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ci-run.d.ts","sourceRoot":"","sources":["../../src/workspace/ci-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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