Add gating
This commit is contained in:
parent
44e4490489
commit
fda356636b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
19
plan.fmf
Normal file
19
plan.fmf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
discover:
|
||||||
|
how: shell
|
||||||
|
dist-git-source: true
|
||||||
|
dist-git-require:
|
||||||
|
- cargo
|
||||||
|
- rust-toolset
|
||||||
|
tests:
|
||||||
|
- name: unit
|
||||||
|
require:
|
||||||
|
- python3.14-pytest
|
||||||
|
- python3.14-setuptools-rust
|
||||||
|
test: |
|
||||||
|
cd $(dirname $TMT_SOURCE_DIR/setuptools*/tests)
|
||||||
|
# Drop crates.io replacement
|
||||||
|
sed '/source.crates-io/,$d' -i .cargo/config.toml
|
||||||
|
pytest-3.14 tests/ setuptools_rust/ --import-mode importlib
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
repositories:
|
|
||||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
|
||||||
dest: "pyproject-rpm-macros"
|
|
||||||
tests:
|
|
||||||
- mockbuild_cryptography:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: fedpkg clone -a python-cryptography && cd python-cryptography && (git switch f$(rpm -q --qf '%{VERSION}' fedora-release-common) || :) && fedpkg sources && ../mocktest.sh python-cryptography
|
|
||||||
required_packages:
|
|
||||||
- fedpkg
|
|
||||||
- mock
|
|
||||||
Loading…
Reference in New Issue
Block a user