Packit/TMT: Use podman-next for tmt-revdeps test

Signed-off-by: Lokesh Mandvekar <lsm5@linux.com>
This commit is contained in:
Lokesh Mandvekar 2026-04-21 13:03:29 -04:00
parent f275c72090
commit f68103d3ad
No known key found for this signature in database
GPG key ID: 1C1EDD7CC7C3A0DD
2 changed files with 24 additions and 16 deletions

View file

@ -142,10 +142,15 @@ jobs:
message: "tmt tests failed for commit {commit_sha}. @lsm5, @psss, @thrix please check."
targets:
- fedora-latest
fmf_url: https://github.com/teemtee/tmt
fmf_path: /plans/friends
fmf_ref: main
tmt_plan: "/podman"
tmt_plan: "/plans/tmt"
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
tmt:
context:
revdeps: "yes"
- job: propose_downstream
trigger: release

View file

@ -1,21 +1,24 @@
summary: Run tmt container provision test (downstream only)
# reverse dependency tests for https://github.com/teemtee/tmt/
summary: Run podman tests
enabled: false
adjust+:
- enabled: true
when: initiator != packit and distro != rhel
when: revdeps == yes
enabled: true
discover:
how: fmf
filter: 'tag:tmt & tag:downstream'
url: https://github.com/teemtee/tmt
filter: "tag:podman"
adjust-tests:
- check: avc
prepare:
- name: update-deps
when: initiator == packit
how: shell
script: bash $TMT_TREE/contrib/packit-tmt/update-deps.sh
order: 20
execute:
how: tmt
prepare:
- when: distro == centos-stream or distro == rhel
how: shell
script: |
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
dnf -y config-manager --set-enabled epel
order: 10