feat(package): download and verify prebuilt binary variants
This commit is contained in:
1 parent
118c0dc860
commit
9b405ce772
9 files changed
+199
-3
No files matched your search
@@ -419,6 +419,21 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
`vbs daemon ide query --help` contract: **passed** (7.45 s).
|
||||
- `clang-format --dry-run --Werror` passes on the changed C++ files.
|
||||
|
||||
## Track D3 Binary-Variant Distribution (GCC 16.2, pin `0002e74`, built-in Ed25519)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/pinned --parallel 8
|
||||
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --filter binary_variant_distribution_downloads_and_verifies --no-color
|
||||
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
```
|
||||
|
||||
- Build: exit 0. `RegistryTests.binary_variant_distribution_downloads_and_verifies`: **passed**
|
||||
(529 ms) - a signed binary variant is selected with a trusted key, downloaded from the live
|
||||
registry package endpoint, written to `<cache>/binaries/<sha256>` with byte-for-byte equality,
|
||||
reused from cache after the registry stops, and rejected when the expected digest is tampered.
|
||||
- Full CTest: **8 / 8 passed** in 200.71 s (`vbs_registry_tests` 11.39 s).
|
||||
- `clang-format --dry-run --Werror` passes on the changed C++ files.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user