©  Pablo Acuña 2016

Pablo Acuña, Deploying Rails with Docker, Kubernetes and ECS, 10.1007/978-1-4842-2415-1_5

5. Continuous Integration

Pablo Acuña

(1)Providencia, Chile

In this chapter I’ll show how you can automate the entire deployment process using Jenkins for both platforms, Kubernetes and ECS . Our final goal is to be able to update our application by pushing to some Git branch.

A typical continuous integration (CI) workflow when working with containers can be summarized as follows:

  • A change is pushed to the application repository on GitHub .

  • A service hook tells the CI server that a new version is available.

  • The CI server pulls the latest changes from GitHub .

  • The CI server builds a new Docker image with this new version.

  • The CI server pushes ...

Get Deploying Rails with Docker, Kubernetes and ECS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.