[OS-BUILD PATCHv6 4/9] 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,19 +33,23 @@ workflow:
     PIPELINE_TYPE: 'ark-ci'
     kernel_type: 'upstream'
 
-.trigger_ark_pipeline:
+.pipeline:
   stage: test
-  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'
     native_tools: 'true'
     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
+    run_redhat_self_test: 'true'
   rules:
     - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "os-build"
       when: never
@@ -59,18 +63,13 @@ 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