How do you control job order within and across stages, and how do `when:` options work?

BeginnerConceptGitLab CI
Answer

Stages run in the order defined under stages:. when options: on_success (default), on_failure, always, manual, delayed (with start_in), and never. A manual job can be marked allow_failure: false to block the pipeline until someone runs it, whereas manual jobs default to allow_failure: true, letting the pipeline continue past them.

All CI/CD questions Roadmap: GitLab CI/CD

More on GitLab CI