Skip to content

Commit

Permalink
Merge pull request #1290 from vojtechtrefny/main_packit-release-fix-2
Browse files Browse the repository at this point in the history
packit: Switch to latest Fedora for tests
  • Loading branch information
vojtechtrefny authored Sep 24, 2024
2 parents 61e2154 + 303a5bf commit 85785ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- job: tests
trigger: pull_request
targets:
- fedora-latest-stable
- fedora-latest
branch: main

# CentOS 10 Stream tests for the 'rhel10-branch'
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
failure_comment:
message: "Blivet-GUI tests failed for commit {commit_sha}. @vojtechtrefny please check."
targets:
- fedora-latest-stable
- fedora-latest
tf_extra_params:
environments:
- artifacts:
Expand Down
4 changes: 3 additions & 1 deletion plans/blivet-gui.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ prepare:
- name: copr
how: shell
script:
- sudo dnf install -y 'dnf-command(copr)'
- sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/blivet-daily
# 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
# amazon-ec2-utils creates sda -> nvme symlinks breaking our tests
- if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger /dev/nvme* ;fi

- name: ansible
how: ansible
Expand Down
4 changes: 3 additions & 1 deletion plans/tests.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ prepare:
- name: copr
how: shell
script:
- sudo dnf install -y 'dnf-command(copr)'
- sudo dnf install -y python3-libdnf5 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/blivet-daily
# 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
# amazon-ec2-utils creates sda -> nvme symlinks breaking our tests
- if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger /dev/nvme* ;fi

- name: ansible
how: ansible
Expand Down

0 comments on commit 85785ce

Please sign in to comment.