From bbbde971f5df72f3f5dfcf81c512448017cb5d9e Mon Sep 17 00:00:00 2001 From: castrojo Date: Tue, 8 Sep 2026 13:43:58 +0000 Subject: [PATCH] fix(sbom): migrate Bluefin LTS stream specs to bluefin-lts package and stable tags Bluefin LTS now publishes from ghcr.io/projectbluefin/bluefin-lts with :stable (not :lts) as the promoted tag, per the bluefin-lts execute-release.yml workflow. STREAM_SPECS still pointed the LTS family of streams at the bluefin/bluefin-dx/bluefin-gdx packages with a 'lts' streamPrefix, so the SBOM fetcher never found any matching GHCR tags and reported zero recent releases for the primary LTS stream. Update every bluefin-lts, bluefin-dx-lts, and bluefin-gdx-lts stream spec to use package: "bluefin-lts" and replace the 'lts' tag prefix with 'stable' (preserving hwe/testing-50 suffixes). Also update the SBOM_STREAM_PREFIX map in fetch-github-driver-versions.js so its HWE companion-release lookup keeps matching the SBOM cache keys produced by the corrected streamPrefix values. Fixes projectbluefin/documentation#1077 Signed-off-by: castrojo --- scripts/fetch-github-driver-versions.js | 8 ++--- scripts/fetch-github-sbom.js | 40 ++++++++++++------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/fetch-github-driver-versions.js b/scripts/fetch-github-driver-versions.js index 169f8685..5003388f 100644 --- a/scripts/fetch-github-driver-versions.js +++ b/scripts/fetch-github-driver-versions.js @@ -55,12 +55,12 @@ function lookupSbomVersionsForTag(sbomCache, sbomStreamId, cacheKey) { const SBOM_STREAM_PREFIX = { "bluefin-stable": "stable", "bluefin-latest": "latest", - "bluefin-lts": "lts", - "bluefin-lts-hwe": "lts-hwe", + "bluefin-lts": "stable", + "bluefin-lts-hwe": "stable-hwe", "bluefin-dx-stable": "stable", "bluefin-dx-latest": "latest", - "bluefin-dx-lts": "lts", - "bluefin-gdx-lts": "lts", + "bluefin-dx-lts": "stable", + "bluefin-gdx-lts": "stable", "bluefin-gdx-latest": "latest", "dakota-latest": "latest", }; diff --git a/scripts/fetch-github-sbom.js b/scripts/fetch-github-sbom.js index 85550190..34c77ad9 100644 --- a/scripts/fetch-github-sbom.js +++ b/scripts/fetch-github-sbom.js @@ -161,45 +161,45 @@ const RAW_STREAM_SPECS = [ id: "bluefin-lts", label: "Bluefin LTS", org: "projectbluefin", - package: "bluefin", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts", + streamPrefix: "stable", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-lts-hwe", label: "Bluefin LTS HWE", org: "projectbluefin", - package: "bluefin", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-hwe", + streamPrefix: "stable-hwe", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-lts-hwe-testing", label: "Bluefin LTS HWE Testing", org: "projectbluefin", - package: "bluefin", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-hwe-testing", + streamPrefix: "stable-hwe-testing", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-lts-hwe-testing-50", label: "Bluefin LTS HWE Testing 50", org: "projectbluefin", - package: "bluefin", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-hwe-testing-50", + streamPrefix: "stable-hwe-testing-50", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-lts-testing-50", label: "Bluefin LTS Testing 50", org: "projectbluefin", - package: "bluefin", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-testing-50", + streamPrefix: "stable-testing-50", keyRepo: "projectbluefin/bluefin-lts", }, { @@ -224,45 +224,45 @@ const RAW_STREAM_SPECS = [ id: "bluefin-dx-lts", label: "Bluefin DX LTS", org: "projectbluefin", - package: "bluefin-dx", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts", + streamPrefix: "stable", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-dx-lts-hwe-testing", label: "Bluefin DX LTS HWE Testing", org: "projectbluefin", - package: "bluefin-dx", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-hwe-testing", + streamPrefix: "stable-hwe-testing", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-dx-lts-hwe-testing-50", label: "Bluefin DX LTS HWE Testing 50", org: "projectbluefin", - package: "bluefin-dx", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-hwe-testing-50", + streamPrefix: "stable-hwe-testing-50", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-dx-lts-testing-50", label: "Bluefin DX LTS Testing 50", org: "projectbluefin", - package: "bluefin-dx", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts-testing-50", + streamPrefix: "stable-testing-50", keyRepo: "projectbluefin/bluefin-lts", }, { id: "bluefin-gdx-lts", label: "Bluefin GDX LTS", org: "projectbluefin", - package: "bluefin-gdx", + package: "bluefin-lts", releasesRepo: "projectbluefin/bluefin-lts", - streamPrefix: "lts", + streamPrefix: "stable", keyRepo: "projectbluefin/bluefin-lts", }, {