mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-05 07:52:23 +00:00
Compare commits
2 Commits
c10s
...
f8f0cabbd4
| Author | SHA1 | Date | |
|---|---|---|---|
| f8f0cabbd4 | |||
| 0f8e961f0c |
@@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
prepare:
|
||||||
|
- name: packages
|
||||||
|
how: install
|
||||||
|
package: [bats, 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'
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
#
|
|
||||||
# Simple podman tests
|
|
||||||
#
|
|
||||||
|
|
||||||
# Log program and kernel versions
|
|
||||||
echo "Important package versions:"
|
|
||||||
(
|
|
||||||
uname -r
|
|
||||||
rpm -qa | egrep 'podman|conmon|crun|runc|iptable|slirp|systemd|container-selinux' | sort
|
|
||||||
) | sed -e 's/^/ /'
|
|
||||||
|
|
||||||
# Log environment; or at least the useful bits
|
|
||||||
echo "Environment:"
|
|
||||||
env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
|
||||||
|
|
||||||
bats /usr/share/podman/test/system
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
- container
|
|
||||||
required_packages:
|
|
||||||
- bats
|
|
||||||
- conmon
|
|
||||||
- podman
|
|
||||||
- podman-tests
|
|
||||||
tests:
|
|
||||||
- root-test:
|
|
||||||
dir: ./
|
|
||||||
run: ./test_podman.sh
|
|
||||||
timeout: 45m
|
|
||||||
environment:
|
|
||||||
QUADLET: /usr/libexec/podman/quadlet
|
|
||||||
- rootless-test:
|
|
||||||
# running the test with su doesn't create the directory for fedora user on /run/user/
|
|
||||||
# so create it manually
|
|
||||||
dir: ./
|
|
||||||
run: loginctl enable-linger fedora; su -c ${PWD}/test_podman.sh - fedora
|
|
||||||
timeout: 45m
|
|
||||||
environment:
|
|
||||||
QUADLET: /usr/libexec/podman/quadlet
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
- import_playbook: test_podman.yml
|
|
||||||
Reference in New Issue
Block a user