deployment-post-checks

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Deployment Post Checks

部署后检查

  1. Read smoke result JSON.
  2. Optionally merge metrics result JSON.
  3. Apply thresholds and return success or rollback-required status.
  1. 读取冒烟测试结果JSON文件。
  2. 可选地合并指标结果JSON文件。
  3. 应用阈值并返回成功或需要回滚的状态。

Command

命令

bash
python3 skills/deployment-post-checks/scripts/post_check.py --smoke-file smoke.json
python3 skills/deployment-post-checks/scripts/post_check.py --smoke-file smoke.json --metrics-file metrics.json --min-success-rate 99 --max-p95-latency 500
bash
python3 skills/deployment-post-checks/scripts/post_check.py --smoke-file smoke.json
python3 skills/deployment-post-checks/scripts/post_check.py --smoke-file smoke.json --metrics-file metrics.json --min-success-rate 99 --max-p95-latency 500