mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
Packit/TMT: Use podman-next for tmt-revdeps test
Signed-off-by: Lokesh Mandvekar <lsm5@linux.com>
This commit is contained in:
parent
f275c72090
commit
f68103d3ad
2 changed files with 24 additions and 16 deletions
13
.packit.yaml
13
.packit.yaml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue