My Solution for YouCan Coding challenge V: Optimize our time to ship features
This is my attempt to solve You Can Coding challenge V using ansible and docker-compose.
Starting Services :
ansible-playbook playbook-services-up.yml
Running the build-machine :
ansible-playbook playbook-build-machine.yml
Deploying Changes to services deployed on the running environment : green or blue
ansible-playbook --extra-vars="version={green or blue}" playbook-push.ym
reloading nginx to apply changes :
ansible-playbook --extra-vars="version={green or blue}" nginx_reload.yml
Shutdown Services :
ansible-playbook playbook-services-down.yml