#8 How to install and configure Gitlab Runner on Mac and Linux | Gitlab Tutorial

Опубликовано: 09 Октябрь 2024
на канале: Tech With Foyzur
4,543
31

#GitlabRunner #GitlabRunnerDocker #GitlabRunnerTutorial

Gitlab Runner is a build machine or worker machine that runs CI/CD jobs within your project.

⏩ To install GitLab Runner using Homebrew:
brew install gitlab-runner
⏩ Install GitLab Runner as a service and start it.
brew services start gitlab-runner

1. Download the binary for your system:
sudo curl --output /usr/local/bin/gitlab-runner "https://gitlab-runner-downloads.s3.am..."
2. Give it permissions to execute
sudo chmod +x /usr/local/bin/gitlab-runner
3. Register the runner
sudo gitlab-runner register
4. Go to the gitlab-runner where is located and run the below commands
gitlab-runner install
gitlab-runner start

GitLab Runner is installed and will be run after a system reboot.

Useful Links:
👉 https://docs.gitlab.com/runner/instal...
👉 https://docs.gitlab.com/runner/instal...