Docker and CI/CD · Middle · Question 70 of 75
What does needs: change in a GitLab CI job?
- 1The job runs only when a teammate approves it manually
- ✓Correct answer: The job starts once its needs finish, not after the stage
- 3The job needs a separate runner with more memory
Explanation
Without needs, a job waits for the whole previous stage. With it, the pipeline becomes a directed graph and finishes sooner.