Skip to content

Commit

Permalink
Configure EPEL-10 repo in packit-ci.fmf
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Srot <ksrot@redhat.com>
  • Loading branch information
kkaarreell authored and ansasaki committed Dec 13, 2024
1 parent 6256f8d commit 4f120b9
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions packit-ci.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,26 @@ execute:

adjust:
# prepare step adjustments
- when: distro == centos-stream-9
prepare+:
- how: shell
order: 30
script:
- rpm -q epel-release || rpm -Uv https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
- when: distro == centos-stream-8
enabled: 0

# make sure epel repo is available
- when: distro == rhel-9 or distro == centos-stream-9
prepare+:
- how: shell
order: 10
script:
- yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm || true
- dnf config-manager --set-enabled epel || true
- dnf -y install beakerlib
- when: distro == rhel-10 or distro == centos-stream-10
prepare+:
- how: shell
order: 10
script:
- yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm || true
- dnf config-manager --set-enabled epel || true
- dnf -y install beakerlib

## First test plan

Expand Down

0 comments on commit 4f120b9

Please sign in to comment.