Skip to content

Commit

Permalink
Enable tmt downstream
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sella <nsella@redhat.com>
  • Loading branch information
inknos committed Feb 27, 2025
1 parent 12ef0a8 commit 75c96c2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 11 deletions.
17 changes: 17 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@

upstream_tag_template: v{version}

files_to_sync:
- src: rpm/gating.yml
dest: gating.yml
delete: true
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: tests/
dest: tests/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
mkpath: true

packages:
python-podman-fedora:
pkg_tool: fedpkg
Expand Down
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
exclude: "gating.yml"
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.1
Expand Down
10 changes: 10 additions & 0 deletions gating.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
!Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_stable
- bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/downstream/all.functional}
25 changes: 17 additions & 8 deletions plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ prepare:
/all:
summary: Run Python Podman Tests on Upstream PRs for all Python versions
prepare+:
- name: install all python versions
how: install
package:
- python3.9
- python3.10
- python3.11
- python3.12
- python3.13
- name: install all python versions
how: install
package:
- python3.9
- python3.10
- python3.11
- python3.12
- python3.13
discover+:
filter: tag:matrix

Expand All @@ -57,6 +57,15 @@ prepare:
/downstream:
/all:
summary: Run Python Podman Tests on bodhi / errata and dist-git PRs
prepare+:
- name: install all python versions
how: install
package:
- python3.9
- python3.10
- python3.11
- python3.12
- python3.13
discover+:
filter: tag:matrix

Expand Down

0 comments on commit 75c96c2

Please sign in to comment.