JsonLee12138

deployment-env-isolation-check

Validate environment isolation using merged values from .deploy.env.common and .deploy.env.<ENV_MODE>. Use when ensuring test/prod/custom do not share the same registry, remote host, user, and port identity.

JsonLee12138 0 Updated 3mo ago

Resources

1
GitHub

Install

npx skillscat add jsonlee12138/easy-deployment/deployment-env-isolation-check

Install via the SkillsCat registry.

SKILL.md

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.

Command

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