Comment by graton
3 years ago
> The `stages` things is just useless noise, I just wanna specify dependencies please, I don't want to be forced to also put each job in a stage, it's weird.
You don't have to. GitLab supports dependencies. Using the `needs:` keyword.
It was released in August of 2019.
https://about.gitlab.com/releases/2019/08/22/gitlab-12-2-rel...
You still need both `needs: ...` and `stage: ...`
> In GitLab 14.0 and older, you can only refer to jobs in earlier stages.
> In GitLab 14.1 and later you can refer to jobs in the same stage as the job you are configuring.
Why bother with stages at all?