diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index 581f7ac..16755b7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,5 @@ --- !Policy -product_versions: - - rhel-9 + decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} \ No newline at end of file + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..9dffc53 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,46 @@ +execute: + how: tmt + + +discover: + - name: python + how: shell + url: https://gitlab.com/redhat/centos-stream/tests/python.git + tests: + - name: smoke39 + path: /smoke + test: VERSION=3.9 ./venv.sh + - name: smoke39_virtualenv + path: /smoke + test: VERSION=3.9 METHOD=virtualenv ./venv.sh + + - name: pyproject-rpm-macros + how: shell + url: https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git + ref: c9s + tests: + - name: pyproject_pytest + path: /tests + test: ./mocktest.sh python-pytest + - name: pyproject_pluggy + path: /tests + test: ./mocktest.sh python-pluggy + + +prepare: + - name: enable epel + how: feature + epel: enabled + + - name: install packages + how: install + package: + - gcc + - virtualenv + - python3.9 + - python3-devel + - tox + - mock + - rpmdevtools + - rpm-build + diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 02a6e79..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - repositories: - - repo: "https://gitlab.com/redhat/centos-stream/tests/python.git" - dest: "python" - - repo: "https://gitlab.com/redhat/centos-stream/rpms/pyproject-rpm-macros.git" - dest: "pyproject-rpm-macros" - version: "c9s" - tests: - - smoke39: - dir: python/smoke - run: VERSION=3.9 ./venv.sh - - smoke39_virtualenv: - dir: python/smoke - run: VERSION=3.9 METHOD=virtualenv ./venv.sh - - pyproject_pytest: - dir: pyproject-rpm-macros/tests - run: ./mocktest.sh python-pytest - - pyproject_pluggy: - dir: pyproject-rpm-macros/tests - run: ./mocktest.sh python-pluggy - required_packages: - - 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm' - - 'https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm' - - gcc - - virtualenv - - python3.9 - - python3-devel - - tox - - mock - - rpmdevtools - - rpm-build