mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-04 23:42:20 +00:00
TMT: fetch tests from upstream
Resolves: RHEL-69441 Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
prepare:
|
||||
- name: packages
|
||||
how: install
|
||||
package: [bats, iptables, podman-tests]
|
||||
|
||||
adjust:
|
||||
- when: "initiator == packit"
|
||||
because: "We need to test with updated packages from rhcontainerbot/podman-next copr"
|
||||
prepare+:
|
||||
how: shell
|
||||
script: |
|
||||
sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo
|
||||
dnf -y upgrade --allowerasing
|
||||
# FIXME: Use epel10 once bats is available there
|
||||
- when: distro == centos-stream-10 or distro == rhel-10
|
||||
because: "bats isn't yet available on epel10"
|
||||
prepare+:
|
||||
how: install
|
||||
copr: rhcontainerbot/bats-el10
|
||||
package: bats
|
||||
- when: distro == centos-stream-9 or distro == rhel-9
|
||||
because: "bats is present on EPEL on rhel9 / c9s"
|
||||
prepare+:
|
||||
how: feature
|
||||
epel: enabled
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/lsm5/podman
|
||||
ref: "tmt-fedora-centos"
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
/system/local/root:
|
||||
summary: Run podman system rootful tests
|
||||
discover+:
|
||||
filter: 'tag:local & tag:root'
|
||||
|
||||
/system/local/rootless:
|
||||
summary: Run podman system rootless tests
|
||||
discover+:
|
||||
filter: 'tag:local & tag:rootless'
|
||||
Reference in New Issue
Block a user