Add gating configuration
This commit is contained in:
parent
f7c2fce376
commit
aca71c7b8b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
@ -1,7 +1,8 @@
|
||||
--- !Policy
|
||||
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
||||
|
||||
19
plan.fmf
Normal file
19
plan.fmf
Normal file
@ -0,0 +1,19 @@
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
how: shell
|
||||
script: pip-3.12 install pretend==1.0.9
|
||||
order: 90
|
||||
discover:
|
||||
how: shell
|
||||
dist-git-source: true
|
||||
tests:
|
||||
- name: bundled tests
|
||||
require:
|
||||
- python3.12-pytest
|
||||
- python3.12-pip
|
||||
test: |
|
||||
cd $(dirname $TMT_SOURCE_DIR/packaging-*/tests) &&
|
||||
rm -rf packaging &&
|
||||
pytest-3.12 tests/
|
||||
|
||||
@ -1,37 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||
dest: "pyproject-rpm-macros"
|
||||
- repo: "https://src.fedoraproject.org/rpms/python-rpm-generators.git"
|
||||
dest: "python-rpm-generators"
|
||||
tests:
|
||||
- pyproject_pytest:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-pytest
|
||||
- pyproject_entrypoints:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-entrypoints
|
||||
- pyproject_pluggy:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-pluggy
|
||||
- pyproject_clikit:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-clikit
|
||||
- rpm_generators_unit_tests:
|
||||
dir: python-rpm-generators
|
||||
run: ./tests/download_data_and_run_pytest.sh
|
||||
required_packages:
|
||||
- fedpkg-minimal
|
||||
- mock
|
||||
- python3-pip
|
||||
- python3-pytest
|
||||
- python3-pyyaml
|
||||
- python3-setuptools
|
||||
- python3-wheel
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
Loading…
Reference in New Issue
Block a user