ci(renovate): drop the report shape dump and record what the report cannot tell #48

Merged
Defame1297 merged 1 commits from ci/renovate-drop-report-dump into main 2026-10-26 20:25:31 +00:00
2 changed files with 3 additions and 10 deletions

No files matched your search

-9
View File
@@ -103,15 +103,6 @@ jobs:
problems = list(report.get("problems", []))
for repo in report.get("repositories", {}).values():
problems.extend(repo.get("problems", []))
# The shape of the report, once, so that a check on a failed post-upgrade task can be
# written against a real field: top-level keys, then per branch its keys and short values.
print("Renovate report keys: " + ", ".join(sorted(report)))
for name, repo in report.get("repositories", {}).items():
print("repository " + name + " keys: " + ", ".join(sorted(repo)))
for branch in repo.get("branches", []):
print(" branch: " + ", ".join(
k + "=" + str(v)[:60].replace("\n", " ") for k, v in sorted(branch.items())
if k != "upgrades"))
bad = [p for p in problems if p.get("level", 0) >= 50]
for p in bad:
print("::error::Renovate problem: " + str(p.get("msg", "")))
+3 -1
View File
@@ -154,7 +154,9 @@ protection, or create tags: those are the operator's.
blobless with full history, so `origin/main` exists for the script (source-based); `python3` is in the
image (no PyYAML: the scripts the bump step imports use the standard library only, dry run 2453); `github.head_ref` is populated (the gate fails closed on an empty one, via `EVENT_NAME`). Safety
net: a failing or disallowed post-upgrade command opens the PR WITHOUT the bump plus a red
`renovate/artifacts` status, and `check_image_versions.py bump` then fails lint.
`renovate/artifacts` status, and `check_image_versions.py bump` then fails lint. The job itself stays green:
the JSON report only records `branchName`, `prNo`, `prTitle`, `result` and `upgrades` per branch (run 2597),
with no field for a failed post-upgrade task, so the report check cannot see it.
- **The workflow holds the runner's slot:** the `kamino-runner` host has a single slot (the label is
`kamino-docker`), and the Renovate job may run up to 30 minutes (`timeout-minutes`) from 03:17 UTC, so
Lint, Build and Molecule checks queue behind it.