ci: Add jobs running ci-fairy checks
authorMichel Dänzer <mdaenzer@redhat.com>
Thu, 6 Aug 2020 15:37:33 +0000 (17:37 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 21 Oct 2020 16:21:41 +0000 (16:21 +0000)
commit4c41d1900e58cb09501cbf113568645e70634aff
tree6b24239d58fd4f7ca246773dbfb747eb6e70e4a4
parent7b09d501e4511d0213f1a52c1fc09d7bede3ae85
ci: Add jobs running ci-fairy checks

These can catch various common issues in MR settings and Git commit
logs.

The "check mr" job only exists in pre-merge pipelines for MRs, and runs
automatically.

The "check commits" job only exists in pre-merge pipelines for MRs and
in pipelines for forked branches. It runs automatically in the former
case and can be manually triggered in the latter.

v2:
* Use git_archive docker image (Daniel Stone)
* Use a single sanity stage for both jobs (Tomeu Vizoso)

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6209>
.gitlab-ci.yml