Skip to content

Commit

Permalink
Test EPEL 8 builds on RHEL 8 compose (#385)
Browse files Browse the repository at this point in the history
Test EPEL 8 builds on RHEL 8 compose

copr-rpmbuild still builds against EPEL 8 and depends on specfile so we can't drop the support.
Use RHEL 8 compose to test EPEL 8 builds.

Reviewed-by: Laura Barcziová
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jun 20, 2024
2 parents 0ba5f9f + cfff106 commit 45325ef
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,19 @@ jobs:
trigger: pull_request
packages: [specfile-epel8]
tmt_plan: "smoke|full"
use_internal_tf: true
targets:
- epel-8
epel-8:
distros: [RHEL-8]
# enable EPEL
tf_extra_params:
environments:
- kickstart:
post-install: |
%post --log=/dev/console
set -x
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
%end
- job: tests
trigger: pull_request
Expand Down
6 changes: 6 additions & 0 deletions plans/full.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ summary:
Unit & integration tests
discover+:
filter: tier:1
adjust:
- when: "distro == rhel-8"
because: "only platform-python is installed on RHEL 8 by default"
prepare+:
- how: install
package: python3
6 changes: 6 additions & 0 deletions plans/smoke.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ summary:
Basic smoke test
discover+:
filter: tier:0
adjust:
- when: "distro == rhel-8"
because: "only platform-python is installed on RHEL 8 by default"
prepare+:
- how: install
package: python3

0 comments on commit 45325ef

Please sign in to comment.