Onboard package into gating

This commit is contained in:
Mikolaj Izdebski 2022-05-10 10:55:18 +02:00
parent 009230ee19
commit 2b536383d2
5 changed files with 24 additions and 0 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

9
gating.yaml Normal file
View File

@ -0,0 +1,9 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_testing
- bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}

9
plans/javapackages.fmf Normal file
View File

@ -0,0 +1,9 @@
summary:
Run javapackages-specific tests
discover:
how: fmf
url: https://pagure.io/javapackages-validator-tests
execute:
how: tmt
environment:
FMF_PACKAGE: java_cup

4
plans/smoke.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Basic smoke test
execute:
script:
- echo 'non terminal bar; bar::=;' | cup