pkmntrade.club/scripts
badbl0cks 30ce126a07
feat(deploy): implement blue-green deployment strategy
This commit replaces the previous deployment mechanism with a blue-green strategy to lay the groundwork for zero-downtime deployments.
Key changes:
Introduces a deploy-blue-green.sh script to manage "blue" and "green" container sets, creating versioned releases.
Updates the Anubis gatekeeper template to dynamically route traffic based on the active deployment color, allowing for seamless traffic switching.
Modifies Docker Compose files to include color-specific labels and environment variables.
Adapts the GitHub Actions workflow to execute the new blue-green deployment process.
Removes the old, now-obsolete deployment and health check scripts.
Note: Automated rollback on health check failure is not yet implemented. Downgrades can be performed manually by switching the active color.
2025-06-12 16:58:55 -07:00
..
common-lib.sh feat(deploy): implement blue-green deployment strategy 2025-06-12 16:58:55 -07:00
deploy-blue-green.sh feat(deploy): implement blue-green deployment strategy 2025-06-12 16:58:55 -07:00
deploy.sh fix: Ensure deploy script runs once and is part of entrypoint 2025-05-23 18:39:29 -07:00
entrypoint.sh feat(dev): Enable hot reloading and streamline local development 2025-05-23 21:19:33 -07:00
generate-docker-tags.sh feat(deploy): implement blue-green deployment strategy 2025-06-12 16:58:55 -07:00
parse-repository-name.sh feat(deploy): implement blue-green deployment strategy 2025-06-12 16:58:55 -07:00
prebuild.sh feat(dev): Enable hot reloading and streamline local development 2025-05-23 21:19:33 -07:00
rebuild-and-run.sh Small refactor of scripts, Dockerfile, and docker-compose to support load balancing, and mutiple replicas. Various fixes related to playwright installation in container environment, static file handling, and etc. 2025-05-06 23:14:36 -07:00
reset-db_make-migrations_seed-data.sh fix(dev): Resolve Dev Debug Environment Issues and Streamline Local Setup 2025-06-01 19:06:56 -07:00