Deploying the GitLab Runner software

On macOS, we use the Homebrew package manager. To install the Runner software, you can execute the following command:

brew install gitlab-runner

After that, you can register the Runner, as shown in Chapter 15, Installing and Configuring GitLab Runners:

gitlab-runner register
Choose the Docker Machine executor when you're asked for an executor in the registration process.

After the Runner has been registered, don't start it just yet—we need to edit the config.toml configuration file that's located in ~/.gitlab-runner/config.toml on macOS. We will do that in the Configuring the Runner section.

First, though, we need to install the Docker Machine binary before we configure the Runner in order to start the Docker Machine executor.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.35.77