public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/squid] rawhide: Switch gating to tier1 plans and add RHEL gating
@ 2026-11-11 10:55 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-11 10:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/squid
            Branch : rawhide
            Commit : 0f8f389393c1c83bafb877a7332f5dff4143c27f
            Author : Branislav Náter <bnater@redhat.com>
            Date   : 2026-11-09T10:46:15+01:00
            Stats  : +50/-8 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/squid/c/0f8f389393c1c83bafb877a7332f5dff4143c27f?branch=rawhide

            Log:
            Switch gating to tier1 plans and add RHEL gating

Replace plans/all.fmf with plans.fmf defining tier1/others plans for
public (centos-stream) and internal (rhel) tests. Gate Fedora on the
tier1-public plan and add an osci_compose_gate policy for RHEL.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---
diff --git a/gating.yaml b/gating.yaml
index d2f0c2e..878b207 100644
--- a/gating.yaml
+++ b/gating.yaml
@@ -4,7 +4,7 @@ product_versions:
 decision_contexts: [bodhi_update_push_testing]
 subject_type: koji_build
 rules:
-  - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
+  - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
 
 #gating rawhide
 --- !Policy
@@ -13,4 +13,13 @@ product_versions:
 decision_contexts: [bodhi_update_push_stable]
 subject_type: koji_build
 rules:
-  - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
+  - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
+
+#gating rhel
+--- !Policy
+product_versions:
+  - rhel-*
+decision_context: osci_compose_gate
+rules:
+  - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
+  - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

diff --git a/plans.fmf b/plans.fmf
new file mode 100644
index 0000000..7abc8e5
--- /dev/null
+++ b/plans.fmf
@@ -0,0 +1,39 @@
+/tier1-public:
+  discover:
+    how: fmf
+    url: https://gitlab.com/redhat/centos-stream/tests/squid.git
+    filter: 'tier: 1'
+  execute:
+    how: tmt
+
+/others-public:
+  discover:
+    how: fmf
+    url: https://gitlab.com/redhat/centos-stream/tests/squid.git
+    filter: 'tier: -1'
+  execute:
+    how: tmt
+
+/tier1-internal:
+  adjust:
+    enabled: false
+    when: distro == centos-stream, fedora
+    because: They don't have access to internal repos.
+  discover:
+    how: fmf
+    url: https://gitlab.com/redhat/rhel/tests/squid.git
+    filter: 'tier: 1'
+  execute:
+    how: tmt
+
+/others-internal:
+  adjust:
+    enabled: false
+    when: distro == centos-stream, fedora
+    because: They don't have access to internal repos.
+  discover:
+    how: fmf
+    url: https://gitlab.com/redhat/rhel/tests/squid.git
+    filter: 'tier: -1'
+  execute:
+    how: tmt

diff --git a/plans/all.fmf b/plans/all.fmf
deleted file mode 100644
index cdfc481..0000000
--- a/plans/all.fmf
+++ /dev/null
@@ -1,6 +0,0 @@
-summary: Test plan with all beakerlib tests
-discover:
-    how: fmf
-    url: https://src.fedoraproject.org/tests/squid.git
-execute:
-    how: tmt

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-11 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 10:55 [rpms/squid] rawhide: Switch gating to tier1 plans and add RHEL gating 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox