Hands-On Docker for Microservices with Python
上QQ阅读APP看书,第一时间看更新

Creating a Pipeline and Workflow

A pipeline that runs automatically in a workflow, through different stages, will detect problems early and help your team collaborate in the most efficient way.

In this chapter, we will follow continuous integration practices, running the pipeline automatically and on every change, to be sure that all our code follows high quality standards, and that it runs and passes all tests. We'll also get a container ready to go to production. 

We will see how to leverage tools such as GitHub and Travis CI to create images with minimal intervention.

In this chapter, we will be covering the following topics:

  • Understanding continuous integration practices
  • Configuring Travis CI
  • Configuring GitHub
  • Pushing Docker images from Travis CI

By the end of the chapter, you'll know how to automatically run tests on every code change and how to create a safety net that will allow you to develop faster and more efficiently.