Add fmf test plans and fix gating

This commit is contained in:
Pavol Žáčik 2024-05-10 09:36:43 +02:00
parent a41d8ff91a
commit 44fc71c90d
No known key found for this signature in database
GPG Key ID: 5B5640AB63D575DE
6 changed files with 26 additions and 3 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

View File

@ -1,7 +1,7 @@
--- !Policy
product_versions:
- rhel-10
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}

View File

@ -67,6 +67,9 @@ mkdir -p %{buildroot}%{_sysconfdir}
%changelog
* Fri May 10 2024 Pavol Žáčik <pzacik@redhat.com> - 2.8-9
- Add fmf test plans and fix gating
* Tue Apr 02 2024 Pavol Žáčik <pzacik@redhat.com> - 2.8-8
- Rebuilt after adding gating configuration

6
plans/public.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Test plan with all Fedora tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/minicom.git
execute:
how: tmt

12
plans/tier1-internal.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: CI plan, picks internal Tier1 tests, runs in beakerlib.
discover:
- name: rhel
how: fmf
filter: 'tier: 1'
url: git://pkgs.devel.redhat.com/tests/minicom
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream, fedora
because: They don't have access to internal repos.