centpkg-minimal is present in both EPEL 10 and in testing-farm-tag-repository, whose priority makes is impossible to easily update, hence the direct link to the desired version of RPM. Asked for the update in the testing-farm-tag-repository to make it work seamlessly: https://gitlab.com/testing-farm/general/-/issues/91
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
- repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git"
|
|
dest: "pyproject-rpm-macros"
|
|
version: "c10s"
|
|
- repo: "https://gitlab.com/redhat/centos-stream/rpms/python-rpm-generators.git"
|
|
dest: "python-rpm-generators"
|
|
version: "c10s"
|
|
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
|
|
- smoke:
|
|
dir: .
|
|
run: ./smoke/runtest.sh
|
|
required_packages:
|
|
- 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm'
|
|
- 'https://kojipkgs.fedoraproject.org/packages/centpkg-minimal/2.1.0/5.el10_0/noarch/centpkg-minimal-2.1.0-5.el10_0.noarch.rpm'
|
|
- mock
|
|
- python3-packaging
|
|
- python3-pip
|
|
- python3-pytest
|
|
- python3-pyyaml
|
|
- python3-setuptools
|
|
- python3-wheel
|
|
- rpmdevtools
|
|
- rpm-build
|