deployment-env-isolation-check

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Deployment Env Isolation Check

部署环境隔离检查

  1. Read
    .deploy.env.common
    and all
    .deploy.env.<env>
    files.
  2. Merge common defaults with per-env overrides.
  3. Compare environment identities (
    registry + user + host + port
    ).
  4. Fail when non-prod and prod identities are identical.
  1. 读取
    .deploy.env.common
    和所有
    .deploy.env.<env>
    文件。
  2. 将通用默认值与各环境的覆盖值合并。
  3. 比较环境标识(
    registry + user + host + port
    )。
  4. 当非生产环境与生产环境的标识相同时,检查失败。

Command

命令

bash
python3 skills/deployment-env-isolation-check/scripts/check_isolation.py --root .
bash
python3 skills/deployment-env-isolation-check/scripts/check_isolation.py --root .