CI/CD Pipelines · question
Question 15 of 86
Explain the key components of a GitLab CI pipeline.
← All CI/CD Pipelines questions
Re-explain
A GitLab CI pipeline is made of stages, which run in order, and jobs, which do the work inside each stage. Each job runs a script on a runner.
- The pipeline is the top-level container for the whole CI/CD process on one commit.
- Stages are logical groups such as
build, test and deploy, and they run sequentially.
- Jobs are the individual tasks inside a stage, and jobs in the same stage can run in parallel.
- Scripts are the shell commands each job executes.
- Runners are the agents that pick up jobs and execute them.
stages:
- build
- test
- deploy
build-job:
stage: build
script:
- echo "Building application"
test-job:
stage: test
script:
- echo "Running tests"
In this pipeline, build-job runs first, and test-job starts only after the build stage finishes.
Rewriting in plainer words…
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The diagram below the answer is the concept .
Jump to it ↓
What should the new diagram focus on?
How well did you know this?
AI:
Saved in this browser - sign in to keep your review list.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Keep going - a few more words and AI can grade it.
Interview lens
Likely follow-ups, what you can say, and the weak answers to avoid.
Pro · $10/mo
76 of 86 CI/CD Pipelines answers are in Pro.
Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.
-
Full answers + code
-
AI explanations, simpler or deeper
-
1,000 AI credits / month
-
Cancel anytime