Use tmt for gating
Plan taken from https://src.fedoraproject.org/rpms/python3.6/raw/f44/f/plan.fmf modified: - to use testrepo on gitlab.com - drop marshalparser which isn't present for c8s Co-authored-by: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
parent
e88de1ebb2
commit
e77eebc966
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@ -1,6 +1,7 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
|
|
||||||
product_versions:
|
product_versions:
|
||||||
- rhel-8
|
- rhel-8
|
||||||
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}
|
||||||
|
|||||||
32
plan.fmf
Normal file
32
plan.fmf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
environment:
|
||||||
|
pybasever: '3.6'
|
||||||
|
|
||||||
|
discover:
|
||||||
|
- name: tests_python
|
||||||
|
how: shell
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/python.git
|
||||||
|
tests:
|
||||||
|
- name: smoke
|
||||||
|
path: /smoke
|
||||||
|
test: "VERSION=${pybasever} TOX=false CYTHON=false ./venv.sh"
|
||||||
|
- name: debugsmoke
|
||||||
|
path: /smoke
|
||||||
|
test: "PYTHON=/usr/libexec/platform-python${pybasever}dm VERSION=${pybasever} TOX=false CYTHON=false ./venv.sh"
|
||||||
|
prepare:
|
||||||
|
- name: Install dependencies
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- python3
|
||||||
|
- platform-python-debug
|
||||||
|
- dnf # for upgrade
|
||||||
|
- 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
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user