[OS-BUILD PATCHv10 14/15] Add baseline ARK/ELN pipelines

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

 



From: Michael Hofmann <mhofmann@xxxxxxxxxx>

Add baseline ARK/ELN pipelines

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
@@ -38,6 +38,9 @@ workflow:
   only-os-build-schedule: &only-os-build-schedule
     if: $CI_COMMIT_BRANCH != "os-build" || $CI_PIPELINE_SOURCE != "schedule"
     when: never
+  only-ark-latest-head: &only-ark-latest-head
+    if: $CI_COMMIT_BRANCH != "ark-latest" || $CI_PIPELINE_SOURCE !~ /push|web/
+    when: never
   on-success: &on-success
     when: on_success
   manual-for-bot: &manual-for-bot
@@ -60,9 +63,6 @@ workflow:
   variables:
     kernel_type: 'upstream'
     srpm_make_target: dist-srpm
-    skip_setup: 'true'
-    skip_test: 'true'
-    skip_results: 'true'
 
 .trigger_ark:
   extends: .pipeline
@@ -71,6 +71,8 @@ workflow:
   variables:
     name: kernel-ark
     builder_image: quay.io/cki/builder-rawhide
+    kpet_tree_family: rawhide
+    kpet_tree_name: rawhide
 
 .trigger_eln:
   extends: .pipeline
@@ -79,8 +81,24 @@ workflow:
   variables:
     name: ark-eln
     builder_image: quay.io/cki/builder-eln
+    kpet_tree_family: eln
+    kpet_tree_name: eln
     disttag_override: '.eln'
 
+.no_tests:
+  variables:
+    skip_setup: 'true'
+    skip_test: 'true'
+    skip_results: 'true'
+
+.reported_tests:
+  variables:
+    report_rules: |
+      [
+        {"when": "failed_tests", "send_to": "failed_tests_maintainers"},
+        {"when": "always", "send_to": "ark-team@xxxxxxxxxx"}
+      ]
+
 .srpm_for_bot:
   rules:
     - *only-os-build-mr
@@ -93,66 +111,115 @@ workflow:
     - *manual-for-bot
     - *on-success
 
-# ARK CI
-ark_merge_request:
-  extends: [.merge_request, .trigger_ark, .srpm_for_bot]
-  variables:
+.ark_latest_head:
+  rules:
+    - *only-ark-latest-head
+    - *on-success
+
+.variants:
+  ark-up: &ark-up
     rpmbuild_with: up
     package_name: kernel
     architectures: x86_64 aarch64 s390x ppc64le
     run_redhat_self_test: 'true'
-
-ark_debug_merge_request:
-  extends: [.merge_request, .trigger_ark, .manual_for_bot]
-  variables:
+  ark-up-debug: &ark-up-debug
     rpmbuild_with: up dbgonly
     package_name: kernel-debug
     architectures: x86_64 aarch64
-
-# ELN CI
-eln_merge_request:
-  extends: [.merge_request, .trigger_eln, .srpm_for_bot]
-  variables:
+  eln-up: &eln-up
     rpmbuild_with: up
     package_name: kernel
     architectures: x86_64 aarch64 s390x ppc64le
     run_redhat_self_test: 'true'
-
-eln_debug_merge_request:
-  extends: [.merge_request, .trigger_eln, .manual_for_bot]
-  variables:
+  eln-up-debug: &eln-up-debug
     rpmbuild_with: up dbgonly
     package_name: kernel-debug
     architectures: x86_64 aarch64 s390x ppc64le
-
-eln_realtime_merge_request:
-  extends: [.merge_request, .trigger_eln, .manual_for_bot]
-  variables:
+  eln-rt: &eln-rt
     rpmbuild_with: realtime
     package_name: kernel-rt
     architectures: x86_64
-
-eln_realtime_debug_merge_request:
-  extends: [.merge_request, .trigger_eln, .manual_for_bot]
-  variables:
+  eln-rt-debug: &eln-rt-debug
     rpmbuild_with: realtime dbgonly
     package_name: kernel-rt-debug
     architectures: x86_64
-
-eln_64k_merge_request:
-  extends: [.merge_request, .trigger_eln, .manual_for_bot]
-  variables:
+  eln-64k: &eln-64k
     rpmbuild_with: arm64_64k
     package_name: kernel-64k
     architectures: aarch64
-
-eln_64k_debug_merge_request:
-  extends: [.merge_request, .trigger_eln, .manual_for_bot]
-  variables:
+  eln-64k-debug: &eln-64k-debug
     rpmbuild_with: arm64_64k dbgonly
     package_name: kernel-64k-debug
     architectures: aarch64
 
+# ARK CI
+ark_merge_request:
+  extends: [.merge_request, .trigger_ark, .no_tests, .srpm_for_bot]
+  variables: *ark-up
+
+ark_debug_merge_request:
+  extends: [.merge_request, .trigger_ark, .no_tests, .manual_for_bot]
+  variables: *ark-up-debug
+
+# ARK baselines
+ark_baseline:
+  extends: [.baseline, .trigger_ark, .reported_tests, .ark_latest_head]
+  variables: *ark-up
+
+ark_debug_baseline:
+  extends: [.baseline, .trigger_ark, .reported_tests, .ark_latest_head]
+  variables: *ark-up-debug
+
+# ELN CI
+eln_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .srpm_for_bot]
+  variables: *eln-up
+
+eln_debug_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
+  variables: *eln-up-debug
+
+eln_realtime_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
+  variables: *eln-rt
+
+eln_realtime_debug_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
+  variables: *eln-rt-debug
+
+eln_64k_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
+  variables: *eln-64k
+
+eln_64k_debug_merge_request:
+  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
+  variables: *eln-64k-debug
+
+# ELN baselines
+eln_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-up
+
+eln_debug_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-up-debug
+
+eln_realtime_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-rt
+
+eln_realtime_debug_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-rt-debug
+
+eln_64k_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-64k
+
+eln_64k_debug_baseline:
+  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+  variables: *eln-64k-debug
+
 # scheduled job
 .scheduled_setup:
   image: quay.io/cki/builder-rawhide:production

--
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