Onboard package into gating
This commit is contained in:
parent
931f64e6ff
commit
19efb81bb3
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
14
plans/smoke.fmf
Normal file
14
plans/smoke.fmf
Normal file
@ -0,0 +1,14 @@
|
||||
summary: Basic smoke test
|
||||
prepare:
|
||||
how: install
|
||||
package: java-11-openjdk-devel
|
||||
execute:
|
||||
script: |
|
||||
set -x
|
||||
modello plans/smoke.mdo java test-src 1.0.0 foo true
|
||||
javac -d test-bin test-src/smoke/*
|
||||
modello plans/smoke.mdo stax-reader test-src 1.0.0 foo true
|
||||
javac -d test-bin -cp test-bin test-src/smoke/io/stax/*
|
||||
find test-src test-bin
|
||||
test -f test-bin/smoke/SomeBean.class
|
||||
test -f test-bin/smoke/io/stax/SmokeStaxReader.class
|
||||
26
plans/smoke.mdo
Normal file
26
plans/smoke.mdo
Normal file
@ -0,0 +1,26 @@
|
||||
<model>
|
||||
<id>smoke</id>
|
||||
<name>Smoke</name>
|
||||
<description>Smoke test</description>
|
||||
<defaults>
|
||||
<default>
|
||||
<key>package</key>
|
||||
<value>smoke</value>
|
||||
</default>
|
||||
</defaults>
|
||||
<classes>
|
||||
<class java.clone="deep" xml.tagName="foo" rootElement="true">
|
||||
<name>SomeBean</name>
|
||||
<version>1.0.0+</version>
|
||||
<description>Ordinary bean</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>f</name>
|
||||
<version>1.0.0+</version>
|
||||
<description>A boolean field</description>
|
||||
<type>Boolean</type>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
</classes>
|
||||
</model>
|
||||
Loading…
Reference in New Issue
Block a user