Automated deployment
Another example—I recently worked with several developers who needed a way to automatically deploy their code to both their development and staging servers. Using a combination of Docker, GitHub, Jenkins, and Ansible AWX, I was able to provide the developers with a workflow that was triggered every time they pushed code to either the development or staging branches of their repository on GitHub.
To achieve this, I deployed the code on their own Jenkins server, using Ansible to deploy Jenkins in a container, and also deployed AWX using Docker on the same server. Then, using the Jenkins GitHub plugin, I connected the Jenkins projects to GitHub to create the Webhooks needed to trigger the build. Then using the Jenkins Ansible ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access