[OS-BUILD PATCHv12 6/14] Extract common parts of child pipeline job

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Hofmann <mhofmann@xxxxxxxxxx>

Extract common parts of child pipeline job

Signed-off-by: Michael Hofmann <mhofmann@xxxxxxxxxx>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,18 +33,22 @@ workflow:
     PIPELINE_TYPE: 'ark-ci'
     kernel_type: 'upstream'
 
-.trigger_ark_pipeline:
+.pipeline:
   stage: test
+  variables:
+    srpm_make_target: dist-srpm
+    skip_setup: 'true'
+    skip_test: 'true'
+    skip_results: 'true'
+
+.trigger_ark_pipeline:
+  extends: .pipeline
   trigger:
     branch: kernel-ark
   variables:
     name: kernel-ark
     builder_image: quay.io/cki/builder-rawhide
-    srpm_make_target: dist-srpm
     run_redhat_self_test: 'true'
-    skip_setup: 'true'
-    skip_test: 'true'
-    skip_results: 'true'
   rules:
     - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "os-build"
       when: never
@@ -58,18 +62,14 @@ workflow:
     - when: on_success
 
 .trigger_eln_pipeline:
-  stage: test
+  extends: .pipeline
   trigger:
     branch: eln
   variables:
     name: ark-eln
     builder_image: quay.io/cki/builder-eln
-    srpm_make_target: dist-srpm
     native_tools: 'true'
     disttag_override: '.eln'
-    skip_setup: 'true'
-    skip_test: 'true'
-    skip_results: 'true'
   rules:
     - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "os-build"
       when: never

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2575
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux