Using GitLab for CI
GitLab is a wonderful tool for CI and deployment for Docker images and services. It combines Git with issue tracking, a Docker Registry, and CI to provide a unified experience. However, this process is not unique to GitLab. The lessons learned in this section should be applicable regardless of the systems used.
Setting up GitLab for CI
GitLab CI is available for free as part of the offerings at GitLab.com. It is also possible to pay for an enterprise license which provides more resources. The free community and commercial enterprise editions of GitLab can also be installed locally. In Chapter 3, Cluster Building Blocks – Registry, Overlay Networks, and Shared Storage we showed how to install GitLab and how to enable the Docker Registry.
A registry is an important part of making CI work. It provides a place for finished images to be stored for use in the cluster. Another registry could be used instead of GitLab. For example, an organization may choose...