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>
- meson # distribution builds with meson
- tarballs # tarball builds
- container_clean # clean up unused container images
+ - merge-check # check for a merge request
variables:
# The upstrem repository we will check for images
check-merge-request:
image: golang:alpine
- stage: prep
+ stage: merge-check
before_script:
- apk add python3 py-pip git
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
- meson # distribution builds with meson
- tarballs # tarball builds
- container_clean # clean up unused container images
+ - merge-check # check for a merge request
variables:
# The upstrem repository we will check for images
check-merge-request:
image: golang:alpine
- stage: prep
+ stage: merge-check
before_script:
- apk add python3 py-pip git
- pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates