1
0

ci: Build/sign RPMs for multiple Fedora versions
All checks were successful
infra/dch-selinux/pipeline/head This commit looks good

* Use `matrix` to generate pipelines for multiple Fedora versions
* Sign RPM packages using the Jenkins GPG key
* Publish RPM files to *dch* repository on *files.pyrocufflink.blue*
  instead of Gitea (the latter cannot handle multiple releases of the
  same package)
This commit is contained in:
2024-06-03 08:31:18 -05:00
parent ed07fe930e
commit 5a0e5de56a
6 changed files with 144 additions and 35 deletions

19
ci/prepare.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
dnf install -y \
--setopt install_weak_deps=0 \
make \
openssh-clients \
openssl-devel \
rpm-build \
rpm-sign \
rsync \
selinux-policy-devel \
tar \
xz \
--
install -m u=rwx,go= -d "${GNUPGHOME}"
cat > "${GNUPGHOME}"/gpg-agent.conf <<EOF
allow-loopback-pinentry
EOF