ci: Build/sign RPMs for multiple Fedora versions
All checks were successful
infra/dch-selinux/pipeline/head This commit looks good
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:
19
ci/prepare.sh
Normal file
19
ci/prepare.sh
Normal 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
|
||||
Reference in New Issue
Block a user