Onboard package into gating

This commit is contained in:
Mikolaj Izdebski 2022-05-10 19:06:58 +02:00
parent 18b9188e40
commit e064296089
5 changed files with 30 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: aqute-bnd

10
plans/smoke.fmf Normal file
View File

@ -0,0 +1,10 @@
summary: Basic smoke test
prepare:
how: install
package: unzip
execute:
script: |
bnd wrap -b foo -v 1.2.3 /usr/share/java/ant/ant-bootstrap.jar
unzip ant-bootstrap.jar META-INF/MANIFEST.MF
grep ^Bundle-SymbolicName:.foo META-INF/MANIFEST.MF
grep ^Bundle-Version:.1.2.3 META-INF/MANIFEST.MF