From 4a00fd9226a33e034f885e785216f061e7545dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 26 Sep 2025 13:41:30 +0200 Subject: [PATCH] Gating Use common gating.yaml file Remove versions not available on c10s Use CS sources for tests Test with python-isort only --- gating.yaml | 6 ++++++ plan.fmf | 51 +++++---------------------------------------------- 2 files changed, 11 insertions(+), 46 deletions(-) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf index 79f9d9c..2c40f41 100644 --- a/plan.fmf +++ b/plan.fmf @@ -4,63 +4,28 @@ execute: discover: - name: tests_python how: shell - url: https://src.fedoraproject.org/tests/python.git + url: https://gitlab.com/redhat/centos-stream/tests/python.git tests: - - name: smoke36 - path: /smoke - test: VERSION=3.6 TOX=false ./venv.sh - - name: smoke39 - path: /smoke - test: VERSION=3.9 ./venv.sh - - name: smoke310 - path: /smoke - test: VERSION=3.10 ./venv.sh - - name: smoke311 - path: /smoke - test: VERSION=3.11 ./venv.sh - name: smoke312 path: /smoke test: VERSION=3.12 ./venv.sh - - name: smoke313 - path: /smoke - test: VERSION=3.13 ./venv.sh - name: smoke314 path: /smoke test: VERSION=3.14 ./venv.sh - - name: smoke39_virtualenv - path: /smoke - test: VERSION=3.9 METHOD=virtualenv ./venv.sh - - name: smoke310_virtualenv - path: /smoke - test: VERSION=3.10 METHOD=virtualenv ./venv.sh - - name: smoke311_virtualenv - path: /smoke - test: VERSION=3.11 METHOD=virtualenv ./venv.sh - name: smoke312_virtualenv path: /smoke test: VERSION=3.12 METHOD=virtualenv ./venv.sh - - name: smoke313_virtualenv - path: /smoke - test: VERSION=3.13 METHOD=virtualenv ./venv.sh - name: smoke314_virtualenv path: /smoke test: VERSION=3.14 METHOD=virtualenv ./venv.sh - name: rpms_pyproject-rpm-macros how: shell - url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git + url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git + ref: c10s tests: - - name: pyproject_pytest + - name: pyproject_isort path: /tests - test: ./mocktest.sh python-pytest - - name: pyproject_entrypoints - path: /tests - test: ./mocktest.sh python-entrypoints - - name: pyproject_pluggy - path: /tests - test: ./mocktest.sh python-pluggy - - name: pyproject_clikit - path: /tests - test: ./mocktest.sh python-clikit + test: ./mocktest.sh python-isort - name: same_repo how: shell dist-git-source: true @@ -82,12 +47,6 @@ prepare: package: - gcc - virtualenv - - python3.6 - - python3.9 - - python3.10-devel - - python3.11-devel - - python3.12-devel - - python3.13-devel - python3.14-devel - python3-devel - python3-tox