Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Introduced `SbomService` tasks documentation. - Updated `StellaOps.sln` to include new projects: `StellaOps.AirGap.Time` and `StellaOps.AirGap.Importer`. - Added unit tests for `BundleImportPlanner`, `DsseVerifier`, `ImportValidator`, and other components in the `StellaOps.AirGap.Importer.Tests` namespace. - Implemented `InMemoryBundleRepositories` for testing bundle catalog and item repositories. - Created `MerkleRootCalculator`, `RootRotationPolicy`, and `TufMetadataValidator` tests. - Developed `StalenessCalculator` and `TimeAnchorLoader` tests in the `StellaOps.AirGap.Time.Tests` namespace. - Added `fetch-sbomservice-deps.sh` script for offline dependency fetching.
1.4 KiB
1.4 KiB
SBOM Service Offline Feed Plan (prep for PREP-SBOM-CONSOLE-23-001)
Problem
SbomService builds/tests were failing restore due to missing NuGet packages (notably Microsoft.IdentityModel.Tokens >= 8.14.0 and Pkcs11Interop >= 4.1.0). Offline/air-gap posture requires a cached feed.
What landed (2025-11-20)
- Offline cache populated under
local-nugets/packages/viatools/offline/fetch-sbomservice-deps.sh. - Key package hashes:
Microsoft.IdentityModel.Tokens.8.14.0.nupkg· SHA25600b78c7b7023132e1d6b31d305e47524732dce6faca92dd16eb8d05a835bba7aPkcs11Interop.4.1.0.nupkg· SHA2568d2b323a3abb9de47a06a3c3b662aa526ee5c1637b70db072c66dc28e6f14c1e
- Script:
tools/offline/fetch-sbomservice-deps.sh(idempotent) hydrates required packages intolocal-nugets/packagesusing a minimal probe project with--ignore-failed-sourcesto stay air-gap friendly.
How to use
# refresh cache if versions change
./tools/offline/fetch-sbomservice-deps.sh
# run SbomService tests offline
DOTNET_NOLOGO=1 dotnet test src/SbomService/StellaOps.SbomService.Tests/StellaOps.SbomService.Tests.csproj --no-build --ignore-failed-sources
Next actions
- If additional packages surface during
dotnet restore, append them to the probe project in the script and re-run. - Keep
local-nugets/under version control for deterministic builds; update hashes when packages change.
Owners
- SBOM Service Guild · Build/Infra (sprint 0142_0001_0001).