diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..05d1cc5 --- /dev/null +++ b/gating.yaml @@ -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} diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..ac76cfe --- /dev/null +++ b/plans/smoke.fmf @@ -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 diff --git a/plans/smoke.mdo b/plans/smoke.mdo new file mode 100644 index 0000000..48d1325 --- /dev/null +++ b/plans/smoke.mdo @@ -0,0 +1,26 @@ + + smoke + Smoke + Smoke test + + + package + smoke + + + + + SomeBean + 1.0.0+ + Ordinary bean + + + f + 1.0.0+ + A boolean field + Boolean + + + + +