Files
image-tools/CHANGELOG.md
T
Christian Manivong 015c6e18cb
CI / Tests, lint (pull_request) Successful in 18s
fix(verdict): a rebuild that regresses is never an improvement
A candidate on an older base-os than the pin, with Debian's point release
going back, or with a critical or high CVE the pin does not have and that
has a fix (the CVE gate's rule) is now "regressed": the pin stays, whatever
else it closes, and the report names each regression first.

The verdict action takes the components a nightly says moved (changes);
each is an improvement on its own, but only through the verdict, so a new
PostgreSQL minor on an older base-os is judged instead of waved through
(NetOrk/netork#2523). verdict.json carries base_os, changes and regressions.
A base-os version that cannot be read is no verdict.

Closes #3
2026-11-15 22:43:55 +01:00

1.9 KiB

Changelog

All notable changes to image-tools are documented here. The format follows Keep a Changelog. Image repositories pin a commit, not a version, so a section names the commit it describes once it is merged.

[Unreleased]

Added

  • actions/cve-gate and image_tools/cve_gate.py: the release gate (NetOrk/netork#1390). A candidate image fails when netOrk's matcher finds a critical or high CVE in it that the last release of the same image does not have and that has a fixed version. A new one without a fix is listed and does not block; what the release already had is no regression. Without a verdict, an empty NETORK_LICENSE_KEY included, the step fails.
  • trivy_sbom reads one platform of a multi-platform index (--platform).

Fixed

  • A rebuild on an older base-os than the pin was judged an improvement as soon as it closed something else, and the nightlies that call a new component an improvement on its own did not ask the verdict at all (#3, NetOrk/netork#2523: PostgreSQL 17.12 on base-os 13-20261025.1 brought back two zlib CVEs the pin had closed). The verdict now calls a candidate regressed, and never improved, when it sits on an older base-os, when Debian's point release goes back, or when it brings a critical or high CVE the pin does not have and that has a fix; the report names each regression first. The verdict action takes the moved components (changes), which count as an improvement only without a regression, and verdict.json carries base_os, changes and regressions. A base-os version that cannot be read is no verdict.

Changed

  • The matcher's 401 and 403 now say what they mean: a licence key (nlk_…) where a kb API key (nak_kb_…) belongs, an unknown key, or a plan without feature_match. An empty NETORK_LICENSE_KEY is a clear error before anything is sent, also for the verdict, where it used to end in a KeyError.