From ad54c0c8b348fdd09ad465debc12ee7d7d034caf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 30 Jun 2020 10:39:58 +1000 Subject: [PATCH] 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 --- .gitlab-ci.yml | 2 +- .gitlab-ci/ci.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85d923c4..5a4f86c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 2295e559..afed01b5 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -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