deployment-version-policy
Deployment Version Policy
- Resolve version from CLI or Makefile default.
- Validate version format.
- Optionally disallow
latestfor prod.
Command
python3 skills/deployment-version-policy/scripts/check_version.py --root . --env-mode prod
python3 skills/deployment-version-policy/scripts/check_version.py --root . --env-mode prod --disallow-latest-prod
More from jsonlee12138/easy-deployment
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.
17deployment-execute
Execute deployment through Makefile targets with ENV_MODE and optional VERSION overrides. Use when running real deployment or dry-run preview in Makefile-first workflow.
5makefile-contract-lint
Lint Makefile contract for common+env override deployment workflow. Use when validating deployment variables, include rules, remote port handling, and required targets.
5compose-security-lint
Lint Docker Compose files for Makefile-first deployment environments using .deploy.env.common + .deploy.env.<ENV_MODE>. Use when validating local/test/prod/custom compose files for image/build declaration, restart, healthcheck, logging, and external network settings.
5deployment-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.
5