@prodgator/report 1.6.1 → 1.9.1
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.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4881,7 +4881,7 @@ async function collectArtifacts(patterns, workspace, deps) {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
|
|
4883
4883
|
// src/core/attestations.ts
|
|
4884
|
-
var KINDS = ["test-results", "coverage", "sbom", "scan", "custom"];
|
|
4884
|
+
var KINDS = ["test-results", "coverage", "sbom", "scan", "custom", "provenance"];
|
|
4885
4885
|
function parseAttestationsInput(value, workspace) {
|
|
4886
4886
|
if (!value) return [];
|
|
4887
4887
|
const text = /^\s*[[{]/.test(value) ? value : (0, import_fs3.readFileSync)((0, import_path2.resolve)(workspace, value.trim()), "utf8");
|
|
@@ -5336,7 +5336,7 @@ async function run(deps = {}) {
|
|
|
5336
5336
|
const argv = deps.argv ?? process.argv.slice(2);
|
|
5337
5337
|
const log = deps.log ?? { info: (m) => console.log(m), warn: (m) => console.log(`Warning: ${m}`), error: (m) => console.error(m) };
|
|
5338
5338
|
if (argv.includes("--version")) {
|
|
5339
|
-
log.info("1.
|
|
5339
|
+
log.info("1.9.1");
|
|
5340
5340
|
return 0;
|
|
5341
5341
|
}
|
|
5342
5342
|
let failOnError = false;
|
|
@@ -5364,7 +5364,7 @@ async function run(deps = {}) {
|
|
|
5364
5364
|
fetch: deps.fetch,
|
|
5365
5365
|
sleep: deps.sleep,
|
|
5366
5366
|
fixedToken: true,
|
|
5367
|
-
userAgent: `prodgator-report/${"1.
|
|
5367
|
+
userAgent: `prodgator-report/${"1.9.1"} (${ci.provider})`
|
|
5368
5368
|
};
|
|
5369
5369
|
const request = buildIngestRequest({ job: { name: opts.jobName ?? ci.jobName, matrix: opts.matrix, runner: ci.runner }, name: opts.name, summary, attestations, files });
|
|
5370
5370
|
const res = await sendReport(opts.prodgatorUrl, ci.provider, request, opts.audience, client);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prodgator/report",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Send CI job summaries, test results, attestations and artifacts to Prodgator, authenticated with the CI system's OIDC token",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.prodgator.io/pipelines/run-reports",
|