Skip to content

Commit 4cde810

Browse files
committed
ci: also build on CentOS Stream 10
Next to CentOS Stream 9, we also want to build and have our CI enabled for CS10. Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
1 parent 295058c commit 4cde810

5 files changed

Lines changed: 45 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
env: py311
2121
- distro: centos-9
2222
env: py312
23+
- distro: centos-10
24+
env: py312
2325
- distro: fedora-40
2426
env: py312
2527
- distro: fedora-41
@@ -43,6 +45,7 @@ jobs:
4345
matrix:
4446
distro:
4547
- centos-9
48+
- centos-10
4649
- fedora-40
4750
- fedora-41
4851
container: quay.io/ovirt/ovirt-imageio-test:${{matrix.distro}}

.github/workflows/containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
distro: [ centos-9, fedora-40, fedora-41 ]
20+
distro: [ centos-9, centos-10, fedora-40, fedora-41 ]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Install dependencies

containers/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: GPL-2.0-or-later
33

44
prefix := ovirt-imageio-test
5-
targets := centos-9 fedora-40 fedora-41
5+
targets := centos-9 centos-10 fedora-40 fedora-41
66

77
.PHONY: $(targets) push
88

containers/centos-10.containerfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-FileCopyrightText: Red Hat, Inc.
2+
# SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
FROM quay.io/centos/centos:stream10
5+
6+
# Runtime packages.
7+
RUN echo v1 \
8+
&& dnf install -y dnf-plugins-core \
9+
&& dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-10 \
10+
&& dnf install -y ovirt-release-master \
11+
&& dnf install -y \
12+
createrepo_c \
13+
e2fsprogs \
14+
gcc \
15+
git \
16+
libguestfs-tools-c \
17+
make \
18+
openssl \
19+
python3-devel \
20+
python3-ovirt-engine-sdk4 \
21+
python3-pip \
22+
python3-setuptools \
23+
python3-systemd \
24+
qemu-img \
25+
qemu-kvm \
26+
rpm-build \
27+
sudo \
28+
systemd-udev \
29+
util-linux \
30+
xfsprogs \
31+
&& dnf clean all
32+
33+
# Developemnt tools.
34+
COPY requirements.txt requirements.txt
35+
RUN python3 -m pip install --upgrade --ignore-installed pip \
36+
&& python3 -m venv /venv \
37+
&& /venv/bin/python3 -m pip install --requirement requirements.txt

docs/development.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ architectures.
177177
When you submit a pull request, GitHub actions will run all the tests
178178
on:
179179

180-
- Centos Stream 8, x86_64
181180
- Centos Stream 9, x86_64
182-
- Fedora 34, x86_64
183-
- Fedora 35, x86_64
181+
- Centos Stream 10, x86_64
182+
- Fedora 40, x86_64
183+
- Fedora 41, x86_64
184184

185185

186186
## Creating storage for tests

0 commit comments

Comments
 (0)