From: Michael Hofmann <mhofm...@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 <mhofm...@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
--
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to