Skip to content

Commit

Permalink
Reinstance 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 8c4e505 commit 97dd347
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 5 deletions.
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
21 changes: 16 additions & 5 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,38 @@ jobs:
trigger: pull_request
notifications:
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
message: Ephemeral COPR build failed. @containers/packit-build please check.
targets:
fedora-all-x86_64: {}
fedora-all-aarch64: {}
fedora-eln-x86_64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
- https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/
fedora-eln-aarch64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
- https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/
additional_repos:
- "copr://rhcontainerbot/podman-next"
- copr://rhcontainerbot/podman-next
enable_net: true

# Run on commit to main branch
- job: copr_build
trigger: commit
notifications:
failure_comment:
message: "podman-next COPR build failed. @containers/packit-build please check."
message: podman-next COPR build failed. @containers/packit-build please check.
branch: main
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
use_internal_tf: true
36 changes: 36 additions & 0 deletions plans/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
prepare:
- name: Install dependencies
how: install
missing: skip
package:
- bash
- cargo
- clippy
- coreutils
- crun
- genisoimage
- grep
- guestfs-tools
- libselinux-devel
- libvirt-client
- libvirt-daemon-driver-qemu
- libvirt-daemon-log
- make
- openssh-clients
- podman
- qemu-img
- qemu-system-x86-core
- rustfmt
- shadow-utils
- util-linux
- virtiofsd
- name: Set up libvirt
how: shell
script:
- systemctl start virtqemud

/test:
summary: Test
execute:
how: tmt
script: PATH=$PATH:/root/.cargo/bin make test

0 comments on commit 97dd347

Please sign in to comment.