ci: add smoke test and enable gating
Add a simple smoke test that currently just executes osbuild with the '--help' option to check that it can run at all. Gate for rawhide (via bodhi_update_push_stable) and for stable (via bodhi_update_push_testing) on a minimum of dist checks as well as the smoke test above.
This commit is contained in:
parent
7eb3afa90a
commit
88e9bcb6e8
18
gating.yaml
Normal file
18
gating.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: dist.rpmgrill.spec-file-sanity}
|
||||
- !PassingTestCaseRule {test_case_name: dist.python-versions}
|
||||
- !PassingTestCaseRule {test_case_name: dist.depcheck}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: dist.rpmgrill.spec-file-sanity}
|
||||
- !PassingTestCaseRule {test_case_name: dist.python-versions}
|
||||
- !PassingTestCaseRule {test_case_name: dist.depcheck}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
17
tests/tests.yml
Normal file
17
tests/tests.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- osbuild
|
||||
tests:
|
||||
- smoke:
|
||||
dir: smoke
|
||||
run: osbuild --help
|
||||
|
Loading…
Reference in New Issue
Block a user