feat(ql3): govern release version transitions

This commit is contained in:
whyour
2026-08-16 09:32:27 +08:00
parent 7130d77a76
commit bad8399cc3
24 changed files with 1462 additions and 128 deletions
@@ -1,6 +1,9 @@
const fs = require('node:fs');
const path = require('node:path');
const yaml = require('js-yaml');
const { readReleaseIdentity } = require('./lib/ql3-release-identity.cjs');
const QL3_VERSION = readReleaseIdentity(path.resolve(__dirname, '..')).version;
const OPERATION = path.join(
'deploy',
@@ -130,7 +133,7 @@ function auditPromptOutputExternalRecoveryDeployment(options = {}) {
!Array.isArray(containers) ||
containers.length !== 1 ||
container?.name !== 'verifier' ||
container?.image !== 'qinglong3-cluster-admin:3.0.0-alpha.0' ||
container?.image !== `qinglong3-cluster-admin:${QL3_VERSION}` ||
JSON.stringify(container?.command) !==
JSON.stringify([
'node',