Skip to content

Commit

Permalink
Reinstate testing farm tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 23, 2024
1 parent 253489b commit 561a21a
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
10 changes: 10 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ jobs:
owner: rhcontainerbot
project: podman-next
enable_net: true

# Tests
- job: tests
trigger: pull_request
skip_build: true
targets:
- fedora-all-aarch64
- fedora-all-x86_64
identifier: test
tmt_plan: /plans/test
40 changes: 40 additions & 0 deletions plans/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
provision:
hardware:
virtualization:
is-supported: true

prepare:
- name: Install dependencies
how: install
missing: skip
package:
- bash
- cargo
- coreutils
- crun
- crun-krun
- genisoimage
- grep
- libselinux-devel
- passt
- podman
- qemu-img
- qemu-system-x86_64
- ssh
- util-linux
- virsh
- virtiofsd
- virtlogd
- virtqemud
# - name: Set up libvirt
# how: shell
# script:
# - systemctl start virtqemud

/test:
summary: Test
execute:
how: tmt
script: |
[ -e /dev/kvm ] &&
PATH=$PATH:/root/.cargo/bin LIBGUESTFS_BACKEND=direct make test

0 comments on commit 561a21a

Please sign in to comment.