Skip to content

Commit 2959508

Browse files
12.11 lesson-4.md
lesson-4.md update GitLab local Runner install and register on MacOS
1 parent 7d5b315 commit 2959508

File tree

1 file changed

+40
-13
lines changed

1 file changed

+40
-13
lines changed

Course/install GitLab Runner/GitLab_Runner.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,44 @@ To install GitLab Runner using Homebrew:
44
**brew install gitlab-runner**
55
[link](https://docs.gitlab.com/runner/install/osx.html#homebrew-installation-alternative)
66

7-
2. Install GitLab Runner as a service and start it.\
8-
**brew services start gitlab-runner:**\
9-
`Successfully started 'gitlab-runner' (label: homebrew.mxcl.gitlab-runner)`\
10-
$ gitlab-runner -version === shows the version of GitLab runner\
11-
$ brew services info gitlab-runner === to check the status\
12-
`gitlab-runner (homebrew.mxcl.gitlab-runner)`\
13-
`Running: ✔`\
14-
`Loaded: ✔`\
15-
`Schedulable: ✘`\
16-
`User: andreyshabunov`\
17-
`PID: 26826`
18-
19-
3.
7+
8+
2. Install GitLab Runner as a service and start it.\
9+
**brew services start gitlab-runner:**\
10+
`Successfully started 'gitlab-runner' (label: homebrew.mxcl.gitlab-runner)`\
11+
$ gitlab-runner -version === shows the version of GitLab runner\
12+
$ brew services info gitlab-runner === to check the status\
13+
`gitlab-runner (homebrew.mxcl.gitlab-runner)`\
14+
`Running: ✔`\
15+
`Loaded: ✔`\
16+
`Schedulable: ✘`\
17+
`User: andreyshabunov`\
18+
`PID: 26826`
19+
20+
21+
3. Connect GitLab installation:\
22+
$ gitlab-runner register
23+
1. Enter the GitLab instance URL\
24+
https://gitlab.com/
25+
2. Enter the registration token:\
26+
GR1348941c8-hse4jkvJn1E1yaWpC - from [settings/ci_cd](https://gitlab.com/JavaScriptonit/mynodeapp-cicd-project/-/settings/ci_cd)
27+
3. Enter a description for the runner:\
28+
local-runner
29+
4. Enter tags for the runner (comma-separated):\
30+
macos, local
31+
5. Enter optional maintenance note for the runner:\
32+
This runner uses shell executor
33+
6. Enter an executor:\
34+
shell
35+
36+
$ gitlab-runner list === get the runner’s details
37+
38+
39+
4. [Unregister the runner](https://techdirectarchive.com/2022/04/25/how-to-unregister-a-gitlab-runner/)
40+
41+
42+
5. [Install and Register Windows Runner](https://techworld-with-nana.teachable.com/courses/1769488/lectures/39895937)
43+
44+
45+
6.
46+
2047

0 commit comments

Comments
 (0)