feat(ql3): add unified cluster operator cli

This commit is contained in:
whyour
2026-08-12 21:42:41 +08:00
parent bd0621c9f2
commit 2934123155
18 changed files with 1010 additions and 5 deletions
@@ -26,6 +26,7 @@ test('accepts the reviewed native CI and digest release contracts', () => {
images: ['control', 'control-ai', 'admin', 'local'],
nativeArchitectures: ['amd64', 'arm64'],
runtimeInventory: true,
clusterAdminProductFacade: true,
ociAttestations: true,
osVulnerabilityScan: {
scanner: 'trivy@0.70.0',
@@ -98,6 +99,17 @@ test('rejects removal of the native arm64 image gate', () => {
);
});
test('rejects removal of the native Cluster Admin product facade gate', () => {
const mutated = ciSource.replace(
"QL3_CLUSTER_ADMIN_PRODUCT_LIVE: '1'",
"QL3_CLUSTER_ADMIN_PRODUCT_LIVE: '0'",
);
assert.throws(
() => auditClusterImageCiWorkflow(mutated),
/bounded product facade contract/,
);
});
test('rejects removal of the native cluster-admin image gate', () => {
const mutated = ciSource.replace(
'image_arch: arm64\n image: admin',