]> git.proxmox.com Git - mirror_qemu.git/blob - .gitlab-ci.d/base.yml
gitlab: introduce a common base job template
[mirror_qemu.git] / .gitlab-ci.d / base.yml
1
2 # The order of rules defined here is critically important.
3 # They are evaluated in order and first match wins.
4 #
5 # Thus we group them into a number of stages, ordered from
6 # most restrictive to least restrictive
7 #
8 .base_job_template:
9 rules:
10 #############################################################
11 # Stage 1: exclude scenarios where we definitely don't
12 # want jobs to run
13 #############################################################
14
15
16 #############################################################
17 # Stage 2: fine tune execution of jobs in specific scenarios
18 # where the catch all logic is inapprorpaite
19 #############################################################
20
21
22 #############################################################
23 # Stage 3: catch all logic applying to any job not matching
24 # an earlier criteria
25 #############################################################
26
27 # Jobs can run if any jobs they depend on were successfull
28 - when: on_success