Update CI to use rules instead of only/except, and remove unnecessary jobs
This MR updates the gitlab-ci configuration to use rules
instead of only/except
. This should hopefully make it more readable when jobs will/should run.
The only practical changes should be as follows:
- the
render:{stage}:linux/osx
jobs should now only run for MRs against the relevant{stage}
(proposed
ortesting
) OR when they are needed by thedocs
job triggered by changes to thedocs/
source files. The fullrender
job set (and thedocs
job) are still run for branch/tag builds on the main repo (computing/conda
) - the
build:{stage}
jobs should now only run for branch builds of the relevant branch (master
forproposed
andtesting
fortesting
) or for a tag build
Edited by Duncan Macleod