Skip to content

Commit 2709e09

Browse files
committed
ci: install almalinux-release-devel on AlmaLinux
Some packages (like libgovirt-devel) depend on packages only in AlmaLinux devel. So add this repository when doing a repoclosure. Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
1 parent 7bad2c9 commit 2709e09

1 file changed

Lines changed: 32 additions & 24 deletions

File tree

.github/workflows/repoclosure-45.yml

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,6 @@ on:
1212
- cron: '0 6 * * 1'
1313

1414
env:
15-
EXTRA_REPOS_EL9: >
16-
--repo appstream
17-
--repo baseos
18-
--repo resilientstorage
19-
--repo crb
20-
--repo centos-ceph-pacific
21-
--repo centos-gluster10
22-
--repo centos-nfv-openvswitch
23-
--repo centos-opstools
24-
--repo centos-openstack-yoga
25-
26-
EXTRA_REPOS_EL10: >
27-
--repo appstream
28-
--repo baseos
29-
--repo crb
30-
--repo epel
31-
--repo centos-ceph-squid
32-
--repo centos-nfv-openvswitch
33-
3415
NON_CBS_PACKAGES: >
3516
--pkg java-client-kubevirt
3617
--pkg java-ovirt-engine-sdk4
@@ -49,6 +30,28 @@ jobs:
4930
image: "quay.io/centos/centos:stream"
5031
- os: almalinux
5132
image: "quay.io/almalinuxorg/almalinux:"
33+
additional_packages: almalinux-release-devel.noarch
34+
additional_repos_os: |
35+
--repo devel
36+
- version: 9
37+
additional_repos: |
38+
--repo appstream
39+
--repo baseos
40+
--repo resilientstorage
41+
--repo crb
42+
--repo centos-ceph-pacific
43+
--repo centos-gluster10
44+
--repo centos-nfv-openvswitch
45+
--repo centos-opstools
46+
--repo centos-openstack-yoga
47+
- version: 10
48+
additional_repos: |
49+
--repo appstream
50+
--repo baseos
51+
--repo crb
52+
--repo epel
53+
--repo centos-ceph-squid
54+
--repo centos-nfv-openvswitch
5255
runs-on: ubuntu-latest
5356
container:
5457
image: ${{ matrix.image }}${{ matrix.version }}
@@ -61,13 +64,18 @@ jobs:
6164
dnf distro-sync -y
6265
dnf install -y centos-release-ovirt45
6366
67+
- name: Install additional packages for AlmaLinux
68+
if: ${{ matrix.os == 'almalinux' }}
69+
run: |
70+
dnf install -y ${{ matrix.additional_packages }}
6471
6572
- name: Run repoclosure on oVirt 4.5 Released content
66-
run: |
67-
dnf repoclosure --newest --refresh \
68-
--check centos-ovirt45 \
69-
--check ovirt-45-upstream \
70-
$EXTRA_REPOS_EL${{ matrix.version }}
73+
run: >
74+
dnf repoclosure --newest --refresh
75+
--check centos-ovirt45
76+
--check ovirt-45-upstream
77+
${{ matrix.additional_repos_os }}
78+
${{ matrix.additional_repos }}
7179
7280
close-45-issue-on-success:
7381
name: Report workflow success

0 commit comments

Comments
 (0)