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.
More on GitLab CI
How does GitLab CI/CD work at a high level?BeginnerWhat is a GitLab Runner and what executors exist?IntermediateWhat are the types of runners (shared, group, project) and tags?IntermediateHow do `rules:` work and how do they replace `only/except`?IntermediateWhat are workflow rules and how do they prevent duplicate pipelines?AdvancedHow do artifacts and cache differ in GitLab CI?Intermediate