Merge pull request 'benvin/replace_release_el8' (#77) from benvin/replace_release_el8 into master
Some checks failed
Deploy / deploy-8 (push) Failing after 3s
Deploy / deploy-9 (push) Failing after 3s

Reviewed-on: #77
This commit is contained in:
Ben Vincent 2026-01-17 20:39:06 +11:00
commit b15fc0612f
82 changed files with 154 additions and 138 deletions

View File

@ -30,7 +30,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: rpms-8 name: rpms-8
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm path: /workspace/unkin/rpmbuilder/dist/*/*/*.rpm
build-9: build-9:
runs-on: almalinux-8 runs-on: almalinux-8
@ -56,4 +56,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: rpms-9 name: rpms-9
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm path: /workspace/unkin/rpmbuilder/dist/*/*/*.rpm

View File

@ -2,7 +2,7 @@
set -e set -e
curl -L --output act_runner-linux-amd64 https://dl.gitea.com/act_runner/${PACKAGE_VERSION}/act_runner-${PACKAGE_VERSION}-linux-amd64 curl -L --output act_runner-linux-amd64 https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/gitea-dl/act_runner/${PACKAGE_VERSION}/act_runner-${PACKAGE_VERSION}-linux-amd64
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -2,7 +2,7 @@
set -e set -e
# Download the required files # Download the required files
curl --output - -L https://github.com/prometheus-community/bind_exporter/releases/download/v${PACKAGE_VERSION}/bind_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/prometheus-community/bind_exporter/releases/download/v${PACKAGE_VERSION}/bind_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.10.1 version: 0.10.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.10.1 version: 0.10.1

View File

@ -2,7 +2,7 @@
set -e set -e
# Download the required files # Download the required files
wget -O /app/boilerplate https://github.com/gruntwork-io/boilerplate/releases/download/v${PACKAGE_VERSION}/boilerplate_linux_amd64 wget -O /app/boilerplate https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/gruntwork-io/boilerplate/releases/download/v${PACKAGE_VERSION}/boilerplate_linux_amd64
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.9.0 version: 1.9.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.9.0 version: 1.9.0

View File

@ -2,7 +2,7 @@
set -e set -e
# Download and extract cni-plugins # Download and extract cni-plugins
wget -O /app/cni-plugins-linux-amd64.tgz https://github.com/containernetworking/plugins/releases/download/v${PACKAGE_VERSION}/cni-plugins-linux-amd64-v${PACKAGE_VERSION}.tgz wget -O /app/cni-plugins-linux-amd64.tgz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/containernetworking/plugins/releases/download/v${PACKAGE_VERSION}/cni-plugins-linux-amd64-v${PACKAGE_VERSION}.tgz
tar xf cni-plugins-linux-amd64.tgz tar xf cni-plugins-linux-amd64.tgz
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.22.2 version: 1.22.2
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.22.2 version: 1.22.2

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 3.6.7 version: 3.6.7
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 3.6.7 version: 3.6.7

View File

@ -2,7 +2,7 @@
set -e set -e
# Download and extract etcd # Download and extract etcd
wget -O /app/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz https://github.com/etcd-io/etcd/releases/download/v${PACKAGE_VERSION}/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz wget -O /app/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/etcd-io/etcd/releases/download/v${PACKAGE_VERSION}/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz
tar xf /app/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz tar xf /app/etcd-v${PACKAGE_VERSION}-linux-amd64.tar.gz
mv /app/etcd-v${PACKAGE_VERSION}-linux-amd64/* /app/ mv /app/etcd-v${PACKAGE_VERSION}-linux-amd64/* /app/

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 2.3.0 version: 2.3.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 2.3.0 version: 2.3.0

View File

@ -2,7 +2,7 @@
set -e set -e
# Download the required files # Download the required files
curl --output - -L https://github.com/onedr0p/exportarr/releases/download/v${PACKAGE_VERSION}/exportarr_${PACKAGE_VERSION}_linux_amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/onedr0p/exportarr/releases/download/v${PACKAGE_VERSION}/exportarr_${PACKAGE_VERSION}_linux_amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.9.0 version: 1.9.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.9.0 version: 1.9.0

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
set -e set -e
curl --output - -L https://github.com/tynany/frr_exporter/releases/download/v${PACKAGE_VERSION}/frr_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/tynany/frr_exporter/releases/download/v${PACKAGE_VERSION}/frr_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -2,7 +2,7 @@
set -e set -e
# Download and extract g10k # Download and extract g10k
wget -O /app/g10k.zip https://github.com/xorpaul/g10k/releases/download/v${PACKAGE_VERSION}/g10k-v${PACKAGE_VERSION}-linux-amd64.zip wget -O /app/g10k.zip https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/xorpaul/g10k/releases/download/v${PACKAGE_VERSION}/g10k-v${PACKAGE_VERSION}-linux-amd64.zip
pushd /app pushd /app
unzip /app/g10k.zip unzip /app/g10k.zip
popd popd

View File

@ -12,10 +12,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.2.3 version: 1.2.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.2.3 version: 1.2.3

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/helmfile.tar.gz https://github.com/helmfile/helmfile/releases/download/v${PACKAGE_VERSION}/helmfile_${PACKAGE_VERSION}_linux_amd64.tar.gz curl -L -o /app/helmfile.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/helmfile/helmfile/releases/download/v${PACKAGE_VERSION}/helmfile_${PACKAGE_VERSION}_linux_amd64.tar.gz
# Extract the binary # Extract the binary
cd /app cd /app

View File

@ -1,14 +1,14 @@
name: incus name: incus
github: lxc/incus github: lxc/incus
description: incus package description: Powerful system container and virtual machine manager
arch: amd64 arch: amd64
platform: linux platform: linux
maintainer: '' maintainer: unkin
homepage: '' homepage: https://linuxcontainers.org/incus/
license: '' license: Apache-2.0
builds: builds:
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 6.20.0 version: 6.20.0

View File

@ -29,7 +29,7 @@ dnf makecache && dnf install -y \
curl-minimal curl-minimal
# Download and extract incus source # Download and extract incus source
curl -L -o /app/incus.tar.gz https://github.com/lxc/incus/archive/refs/tags/v${PACKAGE_VERSION}.tar.gz curl -L -o /app/incus.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/lxc/incus/archive/refs/tags/v${PACKAGE_VERSION}.tar.gz
tar -C /app -xf incus.tar.gz tar -C /app -xf incus.tar.gz
# Install specific Go version # Install specific Go version

View File

@ -1,11 +1,11 @@
name: jellyfin-ffmpeg-bin name: jellyfin-ffmpeg-bin
github: jellyfin/jellyfin-ffmpeg github: jellyfin/jellyfin-ffmpeg
description: jellyfin-ffmpeg-bin package description: FFmpeg binary package optimized for Jellyfin media server
arch: amd64 arch: amd64
platform: linux platform: linux
maintainer: '' maintainer: unkin
homepage: '' homepage: https://github.com/jellyfin/jellyfin-ffmpeg
license: '' license: GPL-3.0
builds: builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/jsonnet-language-server https://github.com/grafana/jsonnet-language-server/releases/download/v${PACKAGE_VERSION}/jsonnet-language-server_${PACKAGE_VERSION}_linux_amd64 curl -L -o /app/jsonnet-language-server https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/grafana/jsonnet-language-server/releases/download/v${PACKAGE_VERSION}/jsonnet-language-server_${PACKAGE_VERSION}_linux_amd64
# Make the binary executable # Make the binary executable
chmod +x /app/jsonnet-language-server chmod +x /app/jsonnet-language-server

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required library # Download the required library
curl -L -o /app/libfdb_c.so https://github.com/apple/foundationdb/releases/download/${PACKAGE_VERSION}/libfdb_c.x86_64.so curl -L -o /app/libfdb_c.so https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/apple/foundationdb/releases/download/${PACKAGE_VERSION}/libfdb_c.x86_64.so
# Make the library readable # Make the library readable
chmod 755 /app/libfdb_c.so chmod 755 /app/libfdb_c.so

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 2.44.1 version: 2.44.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 2.44.1 version: 2.44.1

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.10.2 version: 1.10.2
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.10.2 version: 1.10.2

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl --output - -L https://github.com/prometheus/node_exporter/releases/download/v${PACKAGE_VERSION}/node_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/prometheus/node_exporter/releases/download/v${PACKAGE_VERSION}/node_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -12,10 +12,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.4.8 version: 0.4.8
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.4.8 version: 0.4.8

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 2-el8 release: 2
version: '25.4' version: '25.4'
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 2-el9 release: 2
version: '25.4' version: '25.4'

View File

@ -4,4 +4,4 @@ set -e
# Download the pre-built RPM from GitHub releases # Download the pre-built RPM from GitHub releases
curl -L -o /app/dist/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm \ curl -L -o /app/dist/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm \
https://github.com/nzbgetcom/nzbget/releases/download/v$PACKAGE_VERSION/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/nzbgetcom/nzbget/releases/download/v$PACKAGE_VERSION/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.1.0 version: 0.1.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.1.0 version: 0.1.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/openbao-plugin-secrets-consul.tar.gz https://github.com/openbao/openbao-plugins/releases/download/secrets-consul-v${PACKAGE_VERSION}/openbao-plugin-secrets-consul_linux_amd64_v1.tar.gz curl -L -o /app/openbao-plugin-secrets-consul.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/openbao/openbao-plugins/releases/download/secrets-consul-v${PACKAGE_VERSION}/openbao-plugin-secrets-consul_linux_amd64_v1.tar.gz
# Extract the binary # Extract the binary
tar -xzf /app/openbao-plugin-secrets-consul.tar.gz -C /app tar -xzf /app/openbao-plugin-secrets-consul.tar.gz -C /app

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.1.5 version: 0.1.5
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.1.5 version: 0.1.5

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/openbao-plugin-secrets-nomad.tar.gz https://github.com/openbao/openbao-plugins/releases/download/secrets-nomad-v${PACKAGE_VERSION}/openbao-plugin-secrets-nomad_linux_amd64_v1.tar.gz curl -L -o /app/openbao-plugin-secrets-nomad.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/openbao/openbao-plugins/releases/download/secrets-nomad-v${PACKAGE_VERSION}/openbao-plugin-secrets-nomad_linux_amd64_v1.tar.gz
# Extract the binary # Extract the binary
tar -xzf /app/openbao-plugin-secrets-nomad.tar.gz -C /app tar -xzf /app/openbao-plugin-secrets-nomad.tar.gz -C /app

View File

@ -1,4 +1,5 @@
name: openbao-plugins name: openbao-plugins
github: openbao/openbao-plugins
description: Meta package that installs all OpenBao plugins description: Meta package that installs all OpenBao plugins
arch: amd64 arch: amd64
platform: linux platform: linux
@ -9,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.0.0 version: 1.0.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.0.0 version: 1.0.0

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.14.3 version: 1.14.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.14.3 version: 1.14.3

View File

@ -2,7 +2,7 @@
set -e set -e
# Download the required files # Download the required files
curl --output - -L https://github.com/prometheus-community/pgbouncer_exporter/releases/download/v${PACKAGE_VERSION}/pgbouncer_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/prometheus-community/pgbouncer_exporter/releases/download/v${PACKAGE_VERSION}/pgbouncer_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.18.1 version: 0.18.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.18.1 version: 0.18.1

View File

@ -2,7 +2,7 @@
set -e set -e
# Download the required files # Download the required files
curl --output - -L https://github.com/prometheus-community/postgres_exporter/releases/download/v${PACKAGE_VERSION}/postgres_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/prometheus-community/postgres_exporter/releases/download/v${PACKAGE_VERSION}/postgres_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -34,7 +34,7 @@ contents:
# Scripts to run during installation/removal (optional) # Scripts to run during installation/removal (optional)
scripts: scripts:
postinstall: ./scripts/postinstall.sh postinstall: /app/resources/scripts/postinstall.sh
preremove: ./scripts/preremove.sh preremove: /app/resources/scripts/preremove.sh
postremove: ./scripts/postremove.sh postremove: /app/resources/scripts/postremove.sh
preinstall: ./scripts/preinstall.sh preinstall: /app/resources/scripts/preinstall.sh

View File

@ -1,3 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
systemctl daemon-reload # Only run on fresh install, not upgrade
systemctl enable puppet-initial.service if [ "$1" -eq 1 ]; then
systemctl daemon-reload
systemctl enable puppet-initial.service
fi

View File

@ -1,3 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
systemctl stop puppet # Only run on fresh install, not upgrade
systemctl disable puppet if [ "$1" -eq 1 ]; then
systemctl stop puppet
systemctl disable puppet
fi

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
set -e set -e
curl --output - -L https://github.com/camptocamp/prometheus-puppetdb-exporter/releases/download/${PACKAGE_VERSION}/prometheus-puppetdb-exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf - curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/camptocamp/prometheus-puppetdb-exporter/releases/download/${PACKAGE_VERSION}/prometheus-puppetdb-exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
# Process nfpm.yaml with envsubst # Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.14.10 version: 0.14.10
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.14.10 version: 0.14.10

View File

@ -3,7 +3,7 @@
set -e set -e
# Download and extract ruff # Download and extract ruff
wget -O /app/ruff-x86_64-unknown-linux-gnu.tar.gz https://github.com/astral-sh/ruff/releases/download/${PACKAGE_VERSION}/ruff-x86_64-unknown-linux-gnu.tar.gz wget -O /app/ruff-x86_64-unknown-linux-gnu.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/astral-sh/ruff/releases/download/${PACKAGE_VERSION}/ruff-x86_64-unknown-linux-gnu.tar.gz
tar xf /app/ruff-x86_64-unknown-linux-gnu.tar.gz tar xf /app/ruff-x86_64-unknown-linux-gnu.tar.gz
mv /app/ruff-x86_64-unknown-linux-gnu/* /app/ mv /app/ruff-x86_64-unknown-linux-gnu/* /app/

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.15.3 version: 0.15.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.15.3 version: 0.15.3

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/stalwart-cli.tar.gz https://github.com/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-cli-x86_64-unknown-linux-gnu.tar.gz curl -L -o /app/stalwart-cli.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-cli-x86_64-unknown-linux-gnu.tar.gz
# Extract the binary # Extract the binary
tar -xzf /app/stalwart-cli.tar.gz -C /app tar -xzf /app/stalwart-cli.tar.gz -C /app

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.15.3 version: 0.15.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.15.3 version: 0.15.3

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/stalwart-foundationdb.tar.gz https://github.com/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-foundationdb-x86_64-unknown-linux-gnu.tar.gz curl -L -o /app/stalwart-foundationdb.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-foundationdb-x86_64-unknown-linux-gnu.tar.gz
# Extract the binary # Extract the binary
tar -xzf /app/stalwart-foundationdb.tar.gz -C /app tar -xzf /app/stalwart-foundationdb.tar.gz -C /app

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.15.3 version: 0.15.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.15.3 version: 0.15.3

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/stalwart.tar.gz https://github.com/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-x86_64-unknown-linux-gnu.tar.gz curl -L -o /app/stalwart.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/stalwartlabs/stalwart/releases/download/v${PACKAGE_VERSION}/stalwart-x86_64-unknown-linux-gnu.tar.gz
# Extract the binary # Extract the binary
tar -xzf /app/stalwart.tar.gz -C /app tar -xzf /app/stalwart.tar.gz -C /app

View File

@ -13,10 +13,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.14.3 version: 1.14.3
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.14.3 version: 1.14.3

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.96.1 version: 0.96.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.96.1 version: 0.96.1

View File

@ -3,7 +3,7 @@
set -e set -e
# Download terragrunt binary # Download terragrunt binary
wget -O /app/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v${PACKAGE_VERSION}/terragrunt_linux_amd64 wget -O /app/terragrunt https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/gruntwork-io/terragrunt/releases/download/v${PACKAGE_VERSION}/terragrunt_linux_amd64
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.60.0 version: 0.60.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.60.0 version: 0.60.0

View File

@ -2,7 +2,7 @@
set -e set -e
# Download tflint binary # Download tflint binary
wget -O /app/tflint_linux_amd64.zip https://github.com/terraform-linters/tflint/releases/download/v${PACKAGE_VERSION}/tflint_linux_amd64.zip wget -O /app/tflint_linux_amd64.zip https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/terraform-linters/tflint/releases/download/v${PACKAGE_VERSION}/tflint_linux_amd64.zip
# Extract the binary # Extract the binary
unzip -j /app/tflint_linux_amd64.zip -d /app/ unzip -j /app/tflint_linux_amd64.zip -d /app/

View File

@ -32,7 +32,7 @@ contents:
# Scripts to run during installation/removal (optional) # Scripts to run during installation/removal (optional)
scripts: scripts:
postinstall: ./scripts/postinstall.sh postinstall: /app/resources/scripts/postinstall.sh
# preinstall: ./scripts/preinstall.sh # preinstall: ./scripts/preinstall.sh
# preremove: ./scripts/preremove.sh # preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh # postremove: ./scripts/postremove.sh

View File

@ -38,7 +38,7 @@ contents:
# Scripts to run during installation/removal (optional) # Scripts to run during installation/removal (optional)
scripts: scripts:
preinstall: /app/resources/preinstall.sh preinstall: /app/resources/scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh # postinstall: /app/resources/scripts/postinstall.sh
# preremove: ./scripts/preremove.sh # preremove: /app/resources/scripts/preremove.sh
# postremove: ./scripts/postremove.sh # postremove: /app/resources/scripts/postremove.sh

View File

@ -4,11 +4,11 @@ builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest - image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1' release: '1'
repository: [almalinux/el8] repository: [almalinux/el8]
version: 7.11.0 version: '7.12'
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest - image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1' release: '1'
repository: [almalinux/el9] repository: [almalinux/el9]
version: 7.11.0 version: '7.12'
description: WinRAR is a powerful archive manager. It can backup your data and reduce the size of email attachments, open and unpack RAR, ZIP and other files downloaded from Internet, create new archives in RAR and ZIP file format. description: WinRAR is a powerful archive manager. It can backup your data and reduce the size of email attachments, open and unpack RAR, ZIP and other files downloaded from Internet, create new archives in RAR and ZIP file format.
github: unknown/unrar github: unknown/unrar
homepage: https://www.rarlab.com/ homepage: https://www.rarlab.com/

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.9.20 version: 0.9.20
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.9.20 version: 0.9.20

View File

@ -3,7 +3,7 @@
set -e set -e
# Download and extract uv # Download and extract uv
wget -O /app/uv-x86_64-unknown-linux-gnu.tar.gz https://github.com/astral-sh/uv/releases/download/${PACKAGE_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz wget -O /app/uv-x86_64-unknown-linux-gnu.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/astral-sh/uv/releases/download/${PACKAGE_VERSION}/uv-x86_64-unknown-linux-gnu.tar.gz
tar xf /app/uv-x86_64-unknown-linux-gnu.tar.gz tar xf /app/uv-x86_64-unknown-linux-gnu.tar.gz
mv /app/uv-x86_64-unknown-linux-gnu/* /app/ mv /app/uv-x86_64-unknown-linux-gnu/* /app/

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 0.43.0 version: 0.43.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 0.43.0 version: 0.43.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/vals.tar.gz https://github.com/helmfile/vals/releases/download/v${PACKAGE_VERSION}/vals_${PACKAGE_VERSION}_linux_amd64.tar.gz curl -L -o /app/vals.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/helmfile/vals/releases/download/v${PACKAGE_VERSION}/vals_${PACKAGE_VERSION}_linux_amd64.tar.gz
# Extract the binary # Extract the binary
cd /app cd /app

View File

@ -13,10 +13,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.21.1 version: 1.21.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.21.1 version: 1.21.1

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.43.1 version: 1.43.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.43.1 version: 1.43.1

View File

@ -4,7 +4,7 @@ set -e
# Download and extract victoria-logs # Download and extract victoria-logs
curl -L -o /app/victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz \ curl -L -o /app/victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz \
https://github.com/VictoriaMetrics/VictoriaLogs/releases/download/v${PACKAGE_VERSION}/victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaLogs/releases/download/v${PACKAGE_VERSION}/victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz
tar xf victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz tar xf victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.43.1 version: 1.43.1
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.43.1 version: 1.43.1

View File

@ -4,7 +4,7 @@ set -e
# Download and extract vlutils # Download and extract vlutils
curl -L -o /app/vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz \ curl -L -o /app/vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz \
https://github.com/VictoriaMetrics/VictoriaLogs/releases/download/v${PACKAGE_VERSION}/vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaLogs/releases/download/v${PACKAGE_VERSION}/vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
tar xf vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz tar xf vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -10,10 +10,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz
tar xf victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz tar xf victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz
tar -xf /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz -C /app tar -xf /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz -C /app
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -3,7 +3,7 @@
set -e set -e
# Download the required files # Download the required files
curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz curl -L -o /app/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz
tar xf victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz tar xf victoria-metrics-linux-amd64-v${PACKAGE_VERSION}-cluster.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -11,10 +11,10 @@ builds:
- repository: - repository:
- almalinux/el8 - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1-el8 release: 1
version: 1.132.0 version: 1.132.0
- repository: - repository:
- almalinux/el9 - almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1-el9 release: 1
version: 1.132.0 version: 1.132.0

View File

@ -4,7 +4,7 @@ set -e
# Download and extract vmutils # Download and extract vmutils
curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz \ curl -L -o /app/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz \
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/VictoriaMetrics/VictoriaMetrics/releases/download/v${PACKAGE_VERSION}/vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz
# Process the nfpm.yaml template with environment variables # Process the nfpm.yaml template with environment variables

View File

@ -3,7 +3,7 @@
set -e set -e
# Download and extract xh # Download and extract xh
wget -O /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz https://github.com/ducaale/xh/releases/download/v${PACKAGE_VERSION}/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz wget -O /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/ducaale/xh/releases/download/v${PACKAGE_VERSION}/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz
tar xf /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz tar xf /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz
mv /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl/* /app/ mv /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl/* /app/

View File

@ -32,7 +32,7 @@ contents:
# Scripts to run during installation/removal (optional) # Scripts to run during installation/removal (optional)
# scripts: # scripts:
# preinstall: ./scripts/preinstall.sh # preinstall: /app/resources/scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh # postinstall: /app/resources/scripts/postinstall.sh
# preremove: ./scripts/preremove.sh # preremove: /app/resources/scripts/preremove.sh
# postremove: ./scripts/postremove.sh # postremove: /app/resources/scripts/postremove.sh

View File

@ -105,7 +105,7 @@ METADATA_SCHEMA = {
'regex': r'^[a-zA-Z0-9\-_\.:\/]+$' 'regex': r'^[a-zA-Z0-9\-_\.:\/]+$'
}, },
'release': { 'release': {
'type': 'string', 'type': ['string', 'integer', 'float'],
'required': True, 'required': True,
'empty': False 'empty': False
}, },
@ -117,6 +117,11 @@ METADATA_SCHEMA = {
} }
} }
} }
},
'github_release_pattern': {
'type': 'string',
'required': False,
'empty': False
} }
} }
@ -623,6 +628,7 @@ def build_package_docker(
package_version: str, package_version: str,
package_release: str, package_release: str,
dist_dir: Path, dist_dir: Path,
repository: str,
base_image: str = "git.unkin.net/unkin/almalinux9-rpmbuilder:latest", base_image: str = "git.unkin.net/unkin/almalinux9-rpmbuilder:latest",
dry_run: bool = False dry_run: bool = False
) -> bool: ) -> bool:
@ -635,6 +641,7 @@ def build_package_docker(
package_version: Package version package_version: Package version
package_release: Package release number package_release: Package release number
dist_dir: Directory to store built packages dist_dir: Directory to store built packages
repository: Repository path (e.g., 'almalinux/el9')
base_image: Base Docker image to use for building base_image: Base Docker image to use for building
dry_run: If True, only show what would be done dry_run: If True, only show what would be done
@ -644,8 +651,8 @@ def build_package_docker(
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
try: try:
# Ensure dist directory exists # Ensure dist directory exists with repository structure
package_dist_dir = dist_dir / package_name package_dist_dir = dist_dir / repository / package_name
if not dry_run: if not dry_run:
package_dist_dir.mkdir(parents=True, exist_ok=True) package_dist_dir.mkdir(parents=True, exist_ok=True)
@ -686,6 +693,7 @@ def build_package_docker(
central_dockerfile = package_dir.parent.parent / "Dockerfile" central_dockerfile = package_dir.parent.parent / "Dockerfile"
build_args = [ build_args = [
'docker', 'build', 'docker', 'build',
'--pull',
'-f', str(central_dockerfile), '-f', str(central_dockerfile),
'--build-arg', f'BASE_IMAGE={base_image}', '--build-arg', f'BASE_IMAGE={base_image}',
'--build-arg', f'PACKAGE_NAME={package_name}', '--build-arg', f'PACKAGE_NAME={package_name}',
@ -1085,6 +1093,7 @@ class Builder:
package_version=package_info.version, package_version=package_info.version,
package_release=package_info.release, package_release=package_info.release,
dist_dir=self.dist_dir, dist_dir=self.dist_dir,
repository=package_info.distro,
base_image=package_info.base_image, base_image=package_info.base_image,
dry_run=dry_run dry_run=dry_run
) )