Skip to content

Commit d749345

Browse files
10.11 lesson-4.md
lesson-4.md update GitLab local Runner
1 parent ba1e753 commit d749345

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: node:17-alpine
1+
image: alpine:3.15.1
22

33
workflow:
44
rules:
@@ -16,6 +16,7 @@ variables:
1616
image_tag: v1.0
1717

1818
run_unit_tests:
19+
image: node:17-alpine3.14
1920
stage: test
2021
before_script:
2122
- echo "Preparing test data..."
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
To install GitLab Runner using Homebrew:
2+
3+
1. Install GitLab Runner:\
4+
**brew install gitlab-runner**
5+
[link](https://docs.gitlab.com/runner/install/osx.html#homebrew-installation-alternative)
6+
7+
2. Install GitLab Runner as a service and start it.\
8+
**brew services start gitlab-runner**
9+
10+
3.
11+

Course/lesson-4.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ To have 10 runners on 1 machine with its own executor - [GitLab Executors](https
2828
3. Docker Machine Executors are used for them
2929
1. `Preparing the "docker+machine" executor` - in Job logs: type, name of executor
3030
8. **Scope of Runners:**
31-
1. Shared Runners - available to all groups and projects in a GitLab instance
31+
1. Shared Runners - available to all groups and projects in a GitLab instance (managed by GitLab)
3232
2. Group Runners - available to all projects in a group
33-
3. Specific Runners - associated with a specific project
33+
3. Specific Runners - associated with a specific project (self-managed)
3434
9. **Specify a Docker image that the jobs runs in:**
35-
1. "image"
35+
1. "image: node:17-alpine" with a specific version

0 commit comments

Comments
 (0)