/DevOps_Challenge

My Solution for Youcan Coding challenge V: Optimize our time to ship features

Primary LanguageHTML

DevOps_Challenge

My Solution for YouCan Coding challenge V: Optimize our time to ship features

Overview of the Solution

Untitled-2021-12-26-2340

This is my attempt to solve You Can Coding challenge V using ansible and docker-compose.

Requirement:

How it works:

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

Tools used:

more information about blue/green deployment: