📁
til
  • Today I Learned
  • Bookmarks
    • Bookmarks
  • Centos
    • How to limit bandwidth on CentOS
  • CI/CD
    • Add a mac as a GitLab runner
    • Setup CI pipeline for iOS projects on gitlab.com
  • cocoapods
    • private-spec-repo
    • CocoaPods save project.pbxproj file in XML plist format on Xcode 7.3.1
  • git
    • Git keeps asking password after El Capitan Upgrade
    • change-case-sensitivity-of-filename
    • interactive-rebase
    • Fork a repo
  • hacking
    • Decompile Android apk
  • homebrew
    • Bash Completion
  • ios
    • ats
    • Failed to open Xcode (LSOpenURLsWithRole() failed with error -10699)
    • Redirect to Settings Page
    • Retrieve expiry date of Provisioning Profile Certificate from .ipa
    • WKWebView set custom HTTP headers
    • IAP applicationUsername is nil
  • Jenkins
    • Create stage dynamically in declarative pipeline
  • mac
    • Catalina failed to sync iPhone with Finder
  • networking
    • shadowsocks vs. VPN
  • Objective-C
    • Keep subview in Scroll View always on screen
    • Custom View using xib
    • Scroll up TextField when keyboard shows
    • autolayout-hugging-vs-resistance
  • Regex
    • regex-chinese-char
  • SQL
    • update-json-value-in-postgresql
    • select-random-row-in-sql
  • SSH
    • verify-ssh-passphrase
  • SVN
    • Svn Checkout Directories only
  • swift
    • equatable
  • unix
    • Create and Grant Sudo Privileges to user
    • Create and Change Current Directory
    • Show ASCII Text welcome message when login with SSH
  • vim
    • Vim with Multiple Files
Powered by GitBook
On this page
  • Overview
  • Get Started
  • 1. Install GitLab Runner on macOS
  • 2. Register GitLab Runner
  • References

Was this helpful?

  1. CI/CD

Add a mac as a GitLab runner

PreviousHow to limit bandwidth on CentOSNextSetup CI pipeline for iOS projects on gitlab.com

Last updated 4 years ago

Was this helpful?

Overview

A guide for registering a specific runner for gitlab.com

  1. Install GitLab Runner on macOS

  2. Register GitLab Runner

Get Started

1. Install GitLab Runner on macOS

brew install gitlab-runner

2. Register GitLab Runner

1. Register GitLab Runner as a service

brew services start gitlab-runner

2. Go to gitlab.com -> project settings -> CI/CD and expand the Runners section

3. Register the runner

gitlab-runner register

You will see the runner is registered successfully in the Runners section on gitlab.com:

References

Install GitLab Runner on macOS | GitLab Documentation
Configuring runners in GitLab | GitLab Documentation
Registering the runners | GitLab Documentation
Note the URL and registration token