ci: Make the FDO_UPSTREAM_REPO variable global

ci-fairy doesn't know how to to look at $CI_MERGE_REQUEST_PROJECT_PATH
right now, so if we don't manually set $FDO_UPSTREAM_REPO, ci-fairy will
(without verbose logging turned on) silently fall back on the source
repository project path for finding the branch point. This might fail if
the owner of the source repository hasn't updated the `master` branch of
their fork.

Related: https://gitlab.freedesktop.org/freedesktop/ci-templates/-/issues/32

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2021-03-31 08:39:03 +02:00
parent 0cf92d7ad1
commit 42da22947b

View file

@ -13,9 +13,11 @@ stages:
- containers-build
- test
variables:
FDO_UPSTREAM_REPO: wayland/wayland-protocols
.debian:
variables:
FDO_UPSTREAM_REPO: wayland/wayland-protocols
FDO_DISTRIBUTION_VERSION: bullseye
FDO_DISTRIBUTION_PACKAGES: 'build-essential automake autoconf libtool pkg-config libwayland-dev meson'
FDO_DISTRIBUTION_TAG: '2021-03-24.0'