python-rpm-generators/plan.fmf
Lukáš Zachar fcb1222934 Use tmt and osci for gating
Do 'download_data_and_run_pytest' as in newer versions
Remove 'rcmtools' repo and brewkoji rpms from TF machines
as newer python3-packaging than we have in c9s is pulled in that way.
2026-07-24 13:01:30 +02:00

55 lines
1.2 KiB
Plaintext

execute:
how: tmt
discover:
- name: same_repo
how: shell
dist-git-source: true
dist-git-download-only: true
tests:
- name: pythonabi
path: /tests
test: ./pythonabi.sh
- name: pythonname
path: /tests
test: ./pythonname.sh
- name: pythondist
path: /tests
test: ./pythondist.sh
- name: console_script
path: /tests
test: ./console_script.sh
- name: pytest
test: cd $TMT_SOURCE_DIR && ./tests/download_data_and_run_pytest.sh
prepare:
- name: enable crb
how: feature
crb: enabled
- name: Get rid of 'rcmtools' repo and packages installed from there
how: shell
script: |
dnf config-manager --set-disabled rcmtools || true
dnf remove -y brewkoji koji python3-brewkoji python3-defusedxml python3-koji || true
dnf distrosync -y
- name: Install dependencies
how: install
package:
- rpm-build
- rpmdevtools
- python3-devel
- python3-pip
- python3-pytest
- python3-pyyaml
- python3-setuptools
- python3-wheel
- dnf
- name: Update packages
how: shell
script: dnf upgrade -y
- name: rpm_qa
order: 100
how: shell
script: rpm -qa | sort | tee $TMT_PLAN_DATA/rpmqa.txt