Improve the only/except extendable jobs
What does this MR do?
- Factorize the
into a new
variables: - $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE == "gitlab-org".only:variables-canonical-dot-comextensible job. - Extract
kubernetes: activeto a new.only:kubernetesextensible job. - Rename
.only-canonical-schedulesto.only:variables_refs-canonical-dot-com-schedulesand make it extend from.only:variables-canonical-dot-com. - Extract
to a new
except: refs: - /^\d+-\d+-auto-deploy-\d+$/.except:refs-deployextensible job. - Extract
to a new
except: refs: - master - tags variables: - $CI_COMMIT_REF_NAME =~ /^[\d-]+-stable(-ee)?$/.except:refs-master-tags-stable-deployextensible job. - Use the new extensible jobs where possible.
- Use the
.keyword:attribute-description-of-the-jobconvention, e.g..except:refs-deployonly includes theexceptkeyword, with therefsattributes, and it's description isdeploy.
Edited by Rémy Coutable