Onboard package into gating
This commit is contained in:
parent
18b9188e40
commit
e064296089
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
9
gating.yaml
Normal file
9
gating.yaml
Normal 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
9
plans/javapackages.fmf
Normal 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
10
plans/smoke.fmf
Normal 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
|
Loading…
Reference in New Issue
Block a user