Skip to content

Commit cc0e681

Browse files
committed
Enable tmt downstream
Signed-off-by: Nicola Sella <nsella@redhat.com>
1 parent 12ef0a8 commit cc0e681

4 files changed

Lines changed: 51 additions & 11 deletions

File tree

.packit.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44

55
upstream_tag_template: v{version}
66

7+
files_to_sync:
8+
- src: rpm/gating.yml
9+
dest: gating.yml
10+
delete: true
11+
- src: pyproject.toml
12+
dest: pyproject.toml
13+
delete: true
14+
- src: plans/
15+
dest: plans/
16+
delete: true
17+
mkpath: true
18+
- src: tests/
19+
dest: tests/
20+
delete: true
21+
mkpath: true
22+
- src: .fmf/
23+
dest: .fmf/
24+
delete: true
25+
mkpath: true
26+
727
packages:
828
python-podman-fedora:
929
pkg_tool: fedpkg

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v2.3.0
44
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
5+
- id: check-yaml
6+
exclude: "gating.yml"
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace
89
- repo: https://github.com/astral-sh/ruff-pre-commit
910
# Ruff version.
1011
rev: v0.8.1

gating.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
!Policy
3+
product_versions:
4+
- fedora-*
5+
decision_contexts:
6+
- bodhi_update_push_stable
7+
- bodhi_update_push_testing
8+
subject_type: koji_build
9+
rules:
10+
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/downstream/all.functional}

plans/main.fmf

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ prepare:
3939
/all:
4040
summary: Run Python Podman Tests on Upstream PRs for all Python versions
4141
prepare+:
42-
- name: install all python versions
43-
how: install
44-
package:
45-
- python3.9
46-
- python3.10
47-
- python3.11
48-
- python3.12
49-
- python3.13
42+
- name: install all python versions
43+
how: install
44+
package:
45+
- python3.9
46+
- python3.10
47+
- python3.11
48+
- python3.12
49+
- python3.13
5050
discover+:
5151
filter: tag:matrix
5252

@@ -57,6 +57,15 @@ prepare:
5757
/downstream:
5858
/all:
5959
summary: Run Python Podman Tests on bodhi / errata and dist-git PRs
60+
prepare+:
61+
- name: install all python versions
62+
how: install
63+
package:
64+
- python3.9
65+
- python3.10
66+
- python3.11
67+
- python3.12
68+
- python3.13
6069
discover+:
6170
filter: tag:matrix
6271

0 commit comments

Comments
 (0)