Skip to content

Commit

Permalink
Added stream10 to matrix runners, added EL10 to zfs-release.spec
Browse files Browse the repository at this point in the history
CentOS Stream10 and other EL10 releases need a build a repo avaiable for
them. Used the new GPG key and symlinked for building EL10 releases.
Ensured that stream10 is part of the build matrix and and stream 10 to
the list of runners. Note: this will increase build times as it is
adding a 4th build to be run in addtion to AlmaLinux9, F41, and F40.

Signed-off-by: James Reilly <[email protected]>
  • Loading branch information
hanthor committed Dec 26, 2024
1 parent 64f4f42 commit 93200ac
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/scripts/qemu-2-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ case "$OS" in
# dns sometimes fails with that url :/
echo "89.187.191.12 geo.mirror.pkgbuild.com" | sudo tee /etc/hosts > /dev/null
;;
centos-stream10)
OSNAME="CentOS Stream 10"
# TODO: https://github.com/openzfs/zfs/issues/16903 Overwrite OSv to stream9 for virt-install until it's added to osinfo
OSv="centos-stream9"
URL="https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2"
;;
centos-stream9)
OSNAME="CentOS Stream 9"
URL="https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zfs-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["almalinux9", "fedora40", "fedora41"]
os: ["almalinux9", "centos-stream10", "fedora40", "fedora41"]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion zfs-release/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### How to build zfs-release RPMs:
```
sudo yum -y install rpm-build
sudo dnf install -y rpm-build
mkdir -p ~/rpmbuild/{BUILDROOT,SPECS,RPMS,SRPMS,SOURCES,BUILD}
cp RPM-GPG-KEY-openzfs* *.repo ~/rpmbuild/SOURCES
cp zfs-release.spec ~/rpmbuild/SPECS/
Expand Down
4 changes: 4 additions & 0 deletions zfs-release/zfs-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ ln -s RPM-GPG-KEY-openzfs-2013 \
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-openzfs-el-8
ln -s RPM-GPG-KEY-openzfs-2022 \
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-openzfs-el-9
ln -s RPM-GPG-KEY-openzfs-2022 \
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-openzfs-el-10
%endif
%if 0%{?fedora}
ln -s RPM-GPG-KEY-openzfs-2022 \
Expand Down Expand Up @@ -98,6 +100,8 @@ rm -rf $RPM_BUILD_ROOT
%post

%changelog
* Thu Dec 26 2024 James Reilly <[email protected]> - 2-7
- Add signing key for EL10
* Wed Oct 16 2024 Ralf Ertzinger <[email protected]> - 2-6
- Add signing key for Fedora 41, drop link for Fedora 37
* Thu Mar 28 2024 Ralf Ertzinger <[email protected]> - 2-5
Expand Down

0 comments on commit 93200ac

Please sign in to comment.