GITLAB CI/CD PIPELINE

CI/CD seems to be all the rage these days, and you use a CI/CD pipeline to do it so I will build one in the Nerdhole. To do so, I need:

  • Gitlab - The piece of software that kicks off builds, tests, and installations.
  • Docker - A containerised application platform.

Like many of these things, the software lives on the Internet, and all I need to do is download it and install it. I have found the following instructions:

I think this installation needs a bit more oomph than my basic VM installation so I have created a new class of VM named "Heavy" with more memory and more CPU capacity.

Installing the software

This is how to install and configure Docker and Gitlab:

Installing docker

On CentOS, just installing "docker" sets up a kind of emulated environment that has the commands but not the underlying software. Strange.

Setting up Docker repos

We want to install Docker from its official repos. These are not on CentOS by default.

dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo