#5 Adding fmf plans and gating
Merged a year ago by mruprich. Opened a year ago by omejzlik.
rpms/ omejzlik/tcpdump fedora_testing  into  rawhide

file added
+1
@@ -0,0 +1,1 @@ 

+ resultsdb-testcase: separate

file modified
+13 -2
@@ -4,7 +4,7 @@ 

  decision_context: 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/public.functional}

  

  #Rawhide

  --- !Policy
@@ -13,4 +13,15 @@ 

  decision_context: 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/public.functional}

+ 

+ #gating rhel

+ --- !Policy

+ product_versions:

+   - rhel-*

+ decision_context: osci_compose_gate

+ rules:

+   - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

+   - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}

+   - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

+   - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}

plans/public.fmf plans/ci.fmf
file renamed
+4 -4
@@ -1,6 +1,6 @@ 

- summary: Test plan that runs all tests from tests repo.

+ summary: Test plan with all Fedora tests

  discover:

-     how: fmf

-     url: https://src.fedoraproject.org/tests/tcpdump.git

+        how: fmf

+        url: https://src.fedoraproject.org/tests/tcpdump.git

  execute:

-     how: tmt

+        how: tmt

@@ -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/tcpdump

+ execute:

+     how: tmt 

+ adjust:

+     enabled: false

+     when: distro == centos-stream, fedora

+     because: They don't have access to internal repos.

Adding fedora, rhel, centos compatible plans and gating. Next time these files will be copied to rhel and centos, they will automatically enable ci tests and gating in centos and rhel.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/b2f3f922125b482c89977692c01c6caf

Pull-Request has been merged by mruprich

a year ago