From: Michael Hofmann <mhofmann(a)redhat.com>
gitlab-ci: fix merge tree URL for gating pipelines
CI_MERGE_REQUEST_PROJECT_URL is not available when running gating
pipelines for the kernel builder images. Change that to CI_PROJECT_URL
which should be available everywhere.
Signed-off-by: Michael Hofmann <mhofmann(a)redhat.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -162,7 +162,7 @@ workflow:
.merge_ark_latest:
variables:
- merge_tree: ${CI_MERGE_REQUEST_PROJECT_URL}.git
+ merge_tree: ${CI_PROJECT_URL}.git
merge_branch: ark-latest
# variants
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2960