Recall & Review
beginner
What is GitLab CI?
GitLab CI is a tool built into GitLab that helps you automatically test, build, and deploy your code whenever you make changes.
Click to reveal answer
beginner
What file do you use to define GitLab CI jobs?
You use a file named
.gitlab-ci.yml placed in the root of your project to define jobs and pipelines.Click to reveal answer
beginner
What is a pipeline in GitLab CI?
A pipeline is a set of jobs that run in order or in parallel to test, build, and deploy your code automatically.
Click to reveal answer
beginner
What is a job in GitLab CI?
A job is a single task defined in the
.gitlab-ci.yml file, like running tests or building your app.Click to reveal answer
beginner
How do you trigger a GitLab CI pipeline?
A pipeline runs automatically when you push code to GitLab or when you manually start it from the GitLab interface.
Click to reveal answer
Where should the
.gitlab-ci.yml file be placed in your project?✗ Incorrect
The
.gitlab-ci.yml file must be in the root directory for GitLab to detect and run the pipeline.What does a GitLab CI job do?
✗ Incorrect
A job runs a specific task defined in the pipeline, such as testing or building your project.
When does a GitLab CI pipeline usually run?
✗ Incorrect
Pipelines run automatically when you push code changes to GitLab.
What language is used to write the GitLab CI configuration file?
✗ Incorrect
GitLab CI configuration is written in YAML format in the
.gitlab-ci.yml file.Which of these is NOT a part of a GitLab CI pipeline?
✗ Incorrect
Commits are changes in code, not a part of the pipeline structure. Pipelines consist of jobs, stages, and can produce artifacts.
Explain what a GitLab CI pipeline is and how it helps in software development.
Think about how pipelines run tasks automatically when you change code.
You got /5 concepts.
Describe the role of the
.gitlab-ci.yml file in GitLab CI.This file tells GitLab what tasks to run and when.
You got /5 concepts.