Continuous Integration and Continuous Delivery Demo: from Code to Production with Ansible

This is a proposal that leverages the use of Ansible as an orchestrator of the integration and continuous delivery processes.

ansible-dashboard

Video

http://www.youtube.com/watch?v=WVhGt7qcoH4

Flow

The flow begins when a developer makes a change in the code codeenvy-pull-commit-push and publishes it to the source code repository (gitlab github bitbucket) hence a runner or webhook/ bitbucket pipeline identify the type of project, change, branch and different variables to call a workflow in ansible that includes the different steps (jobs) to complete the release.

CI/CD Flow Diagram

cicdflow

Steps (jobs)

Depending on the type of application, a workflow is executed and different jobs from playbooks are launched:

Published application

http://spotlight-web-spotlight.1d35.starter-us-east-1.openshiftapps.com/

http://spotlight-web-spotlight.1d35.starter-us-east-1.openshiftapps.com/

Future

Integration with CMDB, Reporting servers, agile project management tools and analysis engines.

github

Source code for this presentation and projects in github