@intentius/chant-lexicon-github 0.124.28 → 0.124.29
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/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "e98d9392c8dfbd4ed2ebe385817b1a1941415da9d071895668175da6a6474092",
|
|
5
5
|
"meta.json": "c50e0ef3845c370c3ad2210b8bba455980417c0f818aa6ed46e06d4fb8b1b9f9",
|
|
6
6
|
"types/index.d.ts": "0ead95536e947ddfb98a5acf0ddb88547913b5a53a342df67711c59266f84b3e",
|
|
7
7
|
"rules/deprecated-action-version.ts": "a9ba7cc924ff1c7055110416d8989273690415bfb5e8dcc32dc9431b9351f5ca",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"skills/chant-github-patterns.md": "bb3abef289a8fdfcf07d6bb2d7289dcb2f38bc0cb0321ea320b78b45a6f548c0",
|
|
79
79
|
"skills/chant-github-security.md": "aab111cb0871cad30281ce48d7da23663689619351029219e2be019a1a61e394"
|
|
80
80
|
},
|
|
81
|
-
"composite": "
|
|
81
|
+
"composite": "73789113d68c82105f0c17ec6b8b75725f31b13023385553be2f5ed34afcd273"
|
|
82
82
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-github",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.29",
|
|
4
4
|
"description": "GitHub Actions lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@intentius/chant": "^0.124.
|
|
64
|
+
"@intentius/chant": "^0.124.29"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -117,6 +117,18 @@ describe("the GitHub pull-request workflow", () => {
|
|
|
117
117
|
expect(() => generateGithubPipeline(ESTATE, { prLoop: {}, promoteTo: "prod" })).toThrow(/pull-request pipeline has no wave or promote jobs/);
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
+
test("events and reportUrl stream the run's events into the report artifact and copy the reports out (#4007)", () => {
|
|
121
|
+
const loud = parseYAML(generateGithubPipeline(ESTATE, { env: "prod", prLoop: { events: true, reportUrl: "s3://chant-reports/acme" } }).yaml) as { jobs: Record<string, Job> };
|
|
122
|
+
for (const job of ["plan", "apply"]) {
|
|
123
|
+
const run = loud.jobs[job].steps.find((s) => s.run?.startsWith("chant components"))!;
|
|
124
|
+
expect(run.run).toContain('--events-json --report-url "s3://chant-reports/acme"');
|
|
125
|
+
expect(run.env?.CHANT_RUN_EVENTS_DIR).toBe(".chant/pr/run-events");
|
|
126
|
+
}
|
|
127
|
+
// Off by default: the golden carries neither.
|
|
128
|
+
expect(result.yaml).not.toContain("--events-json");
|
|
129
|
+
expect(result.yaml).not.toContain("CHANT_RUN_EVENTS_DIR");
|
|
130
|
+
});
|
|
131
|
+
|
|
120
132
|
test("inside a workspace member: runs in the member's directory and keeps its own gate, note and apply group (#3465)", () => {
|
|
121
133
|
const member = { name: "network", dir: "infra/network", file: ".github/workflows/chant-pr.network.prod.yml" };
|
|
122
134
|
const scoped = generateGithubPipeline(ESTATE, { env: "prod", prLoop: {}, member });
|