Use tmt for gating
This commit is contained in:
parent
959443984f
commit
805d078647
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@ -1,6 +1,5 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|||||||
46
plan.fmf
Normal file
46
plan.fmf
Normal file
@ -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
|
||||||
|
|
||||||
@ -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
|
|
||||||
Loading…
Reference in New Issue
Block a user