Skip to content

Commit a1d0f37

Browse files
author
fneill
committed
Updated runner reg section
1 parent b39afdb commit a1d0f37

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

docs/configuration/macos_setup.md

+11-26
Original file line numberDiff line numberDiff line change
@@ -105,41 +105,26 @@ Now install and configure Xcode.
105105
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
106106
```
107107

108-
### Register a runner
108+
### Create and register a project runner
109109

110-
Now register a runner to start picking up your CI/CD jobs.
110+
Now [create and register](https://docs.gitlab.com/ee/ci/runners/runners_scope.html#create-a-project-runner-with-an-authentication-token) a project runner.
111111

112-
1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your project or group.
113-
1. Select **Settings > CI/CD**.
114-
1. Expand **Runners**.
115-
1. Note the URL and registration token.
116-
1. In a terminal, start the interactive setup:
112+
When you create and register the runner:
117113

118-
```shell
119-
gitlab-runner register
120-
```
114+
- In GitLab, add the tag `macos` to ensure macOS jobs run on this macOS machine.
115+
- In the command-line, select `shell` as the [executor](../executors/index.md).
121116

122-
1. Enter the GitLab URL.
123-
1. Enter the registration token.
124-
1. Enter a description for the runner.
125-
You will use the description to identify the runner in GitLab, and the name is associated with jobs executed on this instance.
126-
127-
1. Enter tags, which direct specific jobs to specific instances. You will use these tags later to ensure macOS jobs
128-
run on this macOS machine. In this example, enter:
129-
130-
```shell
131-
macos
132-
```
133-
134-
1. Type `shell` to select the shell [executor](../executors/index.md).
135-
136-
A success message is displayed:
117+
After you register the runner, a success message displays in the command-line:
137118

138119
```shell
139120
> Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
140121
```
141122
142-
To view the runner, go to **Settings > CI/CD** and expand **Runners**.
123+
To view the runner:
124+
125+
1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your project.
126+
1. Select **Settings > CI/CD**.
127+
1. Expand **Runners**.
143128
144129
### Configure CI/CD
145130

0 commit comments

Comments
 (0)