Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 28 additions & 11 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,26 @@ actions:

jobs:
- job: copr_build
metadata:
targets:
- fedora-rawhide-aarch64
- fedora-rawhide-ppc64le
- fedora-rawhide-x86_64
- fedora-latest-aarch64
- fedora-latest-ppc64le
- fedora-latest-x86_64
- fedora-latest-stable-aarch64
- fedora-latest-stable-ppc64le
- fedora-latest-stable-x86_64
targets:
- fedora-rawhide-aarch64
- fedora-rawhide-ppc64le
- fedora-rawhide-x86_64
- fedora-latest-aarch64
- fedora-latest-ppc64le
- fedora-latest-x86_64
- fedora-latest-stable-aarch64
- fedora-latest-stable-ppc64le
- fedora-latest-stable-x86_64
trigger: pull_request
branch: master

- job: copr_build
targets:
- centos-stream-10-aarch64
- centos-stream-10-ppc64le
- centos-stream-10-x86_64
trigger: pull_request
branch: rhel10-branch

- job: copr_build
trigger: commit
Expand Down Expand Up @@ -89,6 +97,13 @@ jobs:
trigger: pull_request
targets:
- fedora-latest-stable
branch: master

- job: tests
trigger: pull_request
targets:
- centos-stream-10-x86_64
branch: rhel10-branch

# run tests for libblockdev consumers, see plans/ with `revdeps_blivet == yes`
- job: tests
Expand All @@ -99,6 +114,7 @@ jobs:
message: "Blivet tests failed for commit {commit_sha}. @vojtechtrefny please check."
targets:
- fedora-latest-stable
branch: master
tf_extra_params:
environments:
- artifacts:
Expand All @@ -116,6 +132,7 @@ jobs:
message: "udisks tests failed for commit {commit_sha}. @vojtechtrefny @tbzatek please check."
targets:
- fedora-latest-stable
branch: master
tf_extra_params:
environments:
- artifacts:
Expand Down
25 changes: 25 additions & 0 deletions plans/tests-rhel.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
summary: Run tests

adjust+:
- when: revdeps_blivet == yes or revdeps_udisks == yes
enabled: false
- when: distro == fedora
enabled: false

prepare:
- name: copr
how: shell
script:
- sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/udisks-daily centos-stream-10-x86_64
# TF prioritizes Fedora tag repo over all others, in particular our daily COPR
- for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done
- sudo dnf -y update

- name: ansible
how: ansible
playbook: misc/install-test-dependencies.yml

execute:
how: tmt
script: ./autogen.sh && ./configure && make -j && sudo make ci
6 changes: 4 additions & 2 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
summary: Run tests

adjust+:
when: revdeps_blivet == yes or revdeps_udisks == yes
enabled: false
- when: revdeps_blivet == yes or revdeps_udisks == yes
enabled: false
- when: distro == centos
enabled: false

prepare:
- name: copr
Expand Down