|
4 | 4 | 1. GitLab Server (GitLab Instance/ GitLab Installation) - is the main component of GitLab architecture |
5 | 5 | 2. GitLab Runners execute the jobs |
6 | 6 | 3. Gitlab.com - server to run the jobs with Runners |
7 | | -4. Different executor types : |
| 7 | +4. **Different executor types :** |
8 | 8 | 1. Shell executor |
9 | 9 | 2. Docker executor |
10 | 10 | 3. Virtual machine executor |
|
14 | 14 | 7. Parallels executor |
15 | 15 | 8. VirtualBox executor |
16 | 16 | 5. To make multiple executors on the same host or the same server - register multiple runners on the same host\ |
17 | | -To have 10 runners on 1 machine with its own executor - [GitLab Executors](https://techworld-with-nana.teachable.com/courses/1769488/lectures/39894185) |
| 17 | +To have 10 runners on 1 machine with its own executor - [GitLab Executors](https://techworld-with-nana.teachable.com/courses/1769488/lectures/39894185) |
| 18 | +6. **Execution Flow:** |
| 19 | + 1. **GitLab -> Runner -> Executor** |
| 20 | + 1. Runner requests new jobs from GitLab instance (GitLab.com) |
| 21 | + 2. Runner compiles and sends the job's payload to Executor |
| 22 | + 3. Executor clones sources or downloads artifacts from GitLab instance and executes the job |
| 23 | + 4. Executor returns jobs output abd status to the Runner |
| 24 | + 5. Runner updates job output and status to GitLab instance |
| 25 | +7. **Default Shared Runners:** |
| 26 | + 1. By default, GitLab uses one of its shared runners to run your CI/CD jobs |
| 27 | + 2. These shared runners are maintained by GitLab |
| 28 | + 3. Docker Machine Executors are used for them |
| 29 | + 1. `Preparing the "docker+machine" executor` - in Job logs: type, name of executor |
| 30 | +8. **Scope of Runners:** |
| 31 | + 1. Shared Runners - available to all groups and projects in a GitLab instance |
| 32 | + 2. Group Runners - available to all projects in a group |
| 33 | + 3. Specific Runners - associated with a specific project |
| 34 | +9. **Specify a Docker image that the jobs runs in:** |
| 35 | + 1. "image" |
0 commit comments