JsonLee12138

deployment-config-validate

Validate deployment configuration from .deploy.env.common and .deploy.env.<ENV_MODE> for config-dependent stages. Use before make-based deploy actions to catch missing variables, invalid ports, or compose issues.

JsonLee12138 0 Updated 3mo ago

Resources

1
GitHub

Install

npx skillscat add jsonlee12138/easy-deployment/deployment-config-validate

Install via the SkillsCat registry.

SKILL.md

Deployment Config Validate

  1. Validate only config-dependent stages.
  2. Ensure Makefile deployment block and required targets exist.
  3. Ensure .deploy.env.common and .deploy.env.<ENV_MODE> exist and merge correctly.
  4. Ensure required keys and REMOTE_PORT are valid.
  5. Validate compose file for stages that depend on compose.

Command

python3 skills/deployment-config-validate/scripts/validate_config.py \
  --root . \
  --env-mode test \
  --stage remote-deploy