docs: use deploy config reader in smoke example

This commit is contained in:
Codex Agent
2026-06-08 12:40:05 +08:00
parent 8bbad10a01
commit e17d7f92b2
+1 -1
View File
@@ -101,7 +101,7 @@ Next DEV deploy smoke commands, for a separately authorized deployment task:
```sh
npm run check
node -e "JSON.parse(require('node:fs').readFileSync('deploy/deploy.yaml','utf8'))"
node --input-type=module -e "import { readDeployConfig } from './scripts/src/deploy-config.mjs'; await readDeployConfig(process.cwd())"
KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl apply --dry-run=server -k deploy/k8s/dev
curl -fsS http://74.48.78.17:16667/health/live
node scripts/dev-edge-health-smoke.mjs --live --report /tmp/hwlab-dev-gate/report.json