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 1 Actualitzat fa 8 mesos

Recursos

1
GitHub

Instal·la

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

Instal·la des del registre de SkillsCat.

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