feat(ql3): close public local release pair

This commit is contained in:
whyour
2026-08-27 14:51:33 +08:00
parent 238df17fdf
commit 78c261b556
31 changed files with 558 additions and 91 deletions
@@ -12,9 +12,15 @@ function writeSyntheticLocalReleaseSelection(options) {
const releaseSetDigest = sha256(`release-set:${options.image}`);
const manifestDigest = sha256(`catalog-manifest:${options.image}`);
const consumptionReportDigest = sha256(`catalog-report:${options.image}`);
const operatorImage =
options.operatorImage ||
options.image.replace(
'/qinglong3-local-application@',
'/qinglong3-local-operator@',
);
const unsigned = {
schemaVersion: 1,
schema: 'qinglong/local-compose-release-image@v2',
schema: 'qinglong/local-compose-release-image@v3',
release: {
version: '3.0.0-alpha.0',
sourceRevision: options.sourceRevision ?? '3'.repeat(40),
@@ -39,6 +45,11 @@ function writeSyntheticLocalReleaseSelection(options) {
image: options.image,
allowRootService: options.allowRootService,
},
operator: {
kind: 'short-lived',
image: operatorImage,
network: 'none-by-default',
},
verification: {
releaseSet: 'standalone_structure_identity_and_self_digest',
sourceRecordsReplayed: false,