ci(net10): scope SQLite vulnerability audit to standalone vs full prebuilt server

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-04 18:15:08 +01:00
1 parent 6f0e46a25a
commit 9610662812
3 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -695,7 +695,7 @@ jobs:
run: |
dotnet restore addons/OGLAssetService.Migration/OGLAssetService.Migration.csproj
dotnet restore addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj
python3 tools/ci/verify_sqlite_native_dependency.py
python3 tools/ci/verify_sqlite_native_dependency.py --require-addon
- name: Smoke-test real .NET 10 ROBUST with isolated loopback HTTP
shell: bash
+2 -4
View File
@@ -51,10 +51,8 @@ jobs:
run: dotnet build addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj --configuration Release
- name: Build standalone migration CLI
run: dotnet build addons/OGLAssetService.Migration/OGLAssetService.Migration.csproj --configuration Release
- name: Verify patched native SQLite dependency
run: |
dotnet restore addons/OGLAssetService/OGLAssetService.csproj
python3 tools/ci/verify_sqlite_native_dependency.py
- name: Verify patched native SQLite dependency for isolated tools
run: python3 tools/ci/verify_sqlite_native_dependency.py
- name: CLI dry-run and verified copy
shell: bash
run: |
+7 -2
View File
@@ -10,10 +10,15 @@ import sys
root = Path(__file__).resolve().parents[2]
projects = [
root / "addons/OGLAssetService/OGLAssetService.csproj",
root / "addons/OGLAssetService.Migration/OGLAssetService.Migration.csproj",
root / "addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj",
]
# The standalone CLI/cache test does not prebuild the full OpenSim solution.
# In full-server CI the addon is also built and MUST be audited explicitly.
if sys.argv[1:] == ["--require-addon"]:
projects.insert(0, root / "addons/OGLAssetService/OGLAssetService.csproj")
elif sys.argv[1:]:
raise SystemExit("Usage: verify_sqlite_native_dependency.py [--require-addon]")
def version_tuple(v):
nums = v.split(".")[:3]
@@ -41,5 +46,5 @@ for project in projects:
if len(set(versions.values())) != 1:
raise SystemExit(f"FAIL: inconsistent native SQLite versions: {versions}")
print("PASS: all OGL AssetService projects use non-vulnerable SQLitePCLRaw native dependency " +
print("PASS: audited OGL AssetService projects use non-vulnerable SQLitePCLRaw native dependency " +
next(iter(versions.values())))