mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-07 02:38:06 +02:00
gitlab CI: move MR check to a later 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:
parent
94a09a40bd
commit
4c1b9f3c70
2 changed files with 4 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ stages:
|
||||||
- meson # distribution builds with meson
|
- meson # distribution builds with meson
|
||||||
- tarballs # tarball builds
|
- tarballs # tarball builds
|
||||||
- container_clean # clean up unused container images
|
- container_clean # clean up unused container images
|
||||||
|
- merge-check # check for a merge request
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
# The upstrem repository we will check for images
|
# The upstrem repository we will check for images
|
||||||
|
|
@ -186,7 +187,7 @@ check-commit:
|
||||||
|
|
||||||
check-merge-request:
|
check-merge-request:
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
stage: prep
|
stage: merge-check
|
||||||
before_script:
|
before_script:
|
||||||
- apk add python3 py-pip git
|
- apk add python3 py-pip git
|
||||||
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
|
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ stages:
|
||||||
- meson # distribution builds with meson
|
- meson # distribution builds with meson
|
||||||
- tarballs # tarball builds
|
- tarballs # tarball builds
|
||||||
- container_clean # clean up unused container images
|
- container_clean # clean up unused container images
|
||||||
|
- merge-check # check for a merge request
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
# The upstrem repository we will check for images
|
# The upstrem repository we will check for images
|
||||||
|
|
@ -123,7 +124,7 @@ check-commit:
|
||||||
|
|
||||||
check-merge-request:
|
check-merge-request:
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
stage: prep
|
stage: merge-check
|
||||||
before_script:
|
before_script:
|
||||||
- apk add python3 py-pip git
|
- apk add python3 py-pip git
|
||||||
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
|
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue