gitlab CI: move the MR check to the deploy stage

This gives the developer enough time to file an MR after pushing a branch.
Having this run in the first stage means we get false positives because no MR
has been filed yet when the job is run.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-06-30 10:39:58 +10:00
parent 401a80d8cf
commit ad54c0c8b3
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ check-commit:
check-merge-request:
image: golang:alpine
stage: prep
stage: deploy
before_script:
- apk add python3 py-pip git
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates

View file

@ -168,7 +168,7 @@ check-commit:
check-merge-request:
image: golang:alpine
stage: prep
stage: deploy
before_script:
- apk add python3 py-pip git
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates