fix(ci): build Vault adapter workspace closure

This commit is contained in:
whyour
2026-08-25 00:22:18 +08:00
parent 686873f8ec
commit b0ab255a68
2 changed files with 15 additions and 3 deletions
+4 -3
View File
@@ -1261,9 +1261,10 @@ jobs:
"$(sha256sum "${RUNNER_TEMP}/kubectl" | cut -d ' ' -f 1)" "$(sha256sum "${RUNNER_TEMP}/kubectl" | cut -d ' ' -f 1)"
chmod 0755 "${RUNNER_TEMP}/kubectl" chmod 0755 "${RUNNER_TEMP}/kubectl"
- name: Build the direct custody adapter - name: Build the direct custody adapter
run: | run: >-
pnpm --filter @qinglong/runtime-core build pnpm -r --workspace-concurrency=1
pnpm --filter @qinglong/cluster-control build --filter @qinglong/cluster-control...
run build
- name: Verify the fail-closed adapter and evidence contracts - name: Verify the fail-closed adapter and evidence contracts
run: | run: |
node --test \ node --test \
@@ -114,6 +114,17 @@ test('bootstraps jobs that previously depended on local modules or artifacts', (
'pnpm run build:packages:ql3', 'pnpm run build:packages:ql3',
'pnpm test:cloudnativepg-live:ql3', 'pnpm test:cloudnativepg-live:ql3',
]); ]);
const vaultKvLive = jobSource(
'cluster-vault-kv-worker-secret-live',
'cluster-plugin-package-kubernetes-live',
);
assertOrdered(vaultKvLive, [
'pnpm install --frozen-lockfile --ignore-scripts',
'pnpm -r --workspace-concurrency=1',
'--filter @qinglong/cluster-control...',
'node --test',
]);
}); });
test('rebuilds the only native legacy binding used by resource evidence', () => { test('rebuilds the only native legacy binding used by resource evidence', () => {