Draft: POC for stage needs
What does this MR do and why?
This is a proof of concept for implementing a needs that references stages instead of builds.
Related #220758
FF Rollout issue #344662
How to set up and validate locally
- Create a project with the following pipeline config
stages:
- first
- second
sample_job:
stage: first
script:
- echo 1
second_sample_job:
stage: first
script:
- echo 1
test_job:
needs:
- name: first
type: stage
- Verify that the
test_job
requires the stage calledfirst
to exist - TODO: Verify that the
test_job
waits for all jobs in thefirst
stage to complete before running.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Matija Čupić