gitlab ci answer and explanation
GitLab CI Assignment Answers
Question:
How does Gitlab execute instructions on the Gitlab CI pipeline? It runs the CI pipeline on a local computer. It runs the CI pipeline on any runner that is registered and enabled for a GitLab project. It runs the CI pipeline on computers that perform the git push operation. It runs the CI pipeline on the GitLab cloud server.
GitLab CI Answer and Explanation
2. GitLab CI/CD Configuration:
- Developers define the CI/CD pipeline configuration in a file called `.gitlab-ci.yml` in the root of their GitLab repository.
- GitLab triggers a webhook, notifying the GitLab Runner to start the CI/CD pipeline.
5. Runner Registration:
- The runner fetches the CI/CD pipeline configuration from the repository and executes the defined jobs in the specified stages.
- Jobs can be defined to run on specific runners or using specific tags.
- The runner provides the necessary environment for job execution, including variables and secrets specified in the GitLab CI/CD configuration.
10. Notification and Reporting: