Skip to content

Commit

Permalink
ci: Remove priority from Testing farm repositories
Browse files Browse the repository at this point in the history
Testing farm sets priority of their repositories to 9 which means
the repo is prioritized over all other repositories including our
Copr repo with daily builds preventing the latest libblockdev from
being installed.
  • Loading branch information
vojtechtrefny committed Aug 14, 2024
1 parent bf401c7 commit c0fe6c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plans/blivet-gui.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ adjust+:
enabled: true

prepare:
- name: copr
how: shell
script:
- sudo dnf install -y '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

- name: ansible
how: ansible
playbook:
- https://raw.githubusercontent.com/storaged-project/blivet-gui/main/misc/install-test-dependencies.yml
Expand Down
3 changes: 3 additions & 0 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ prepare:
script:
- sudo dnf install -y '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

- name: ansible
how: ansible
Expand Down

0 comments on commit c0fe6c7

Please sign in to comment.