From 0012b9f4a2a4bcd7624ed7b0fd3780ec1b70d2e4 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Mon, 8 Jun 2026 14:57:56 +1000 Subject: [PATCH] feat: change vault to use artifactapi --- rpms/vault/metadata.yaml | 17 +++++++++++++++++ rpms/vault/resources/build.sh | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/rpms/vault/metadata.yaml b/rpms/vault/metadata.yaml index c048485..fd84dd1 100644 --- a/rpms/vault/metadata.yaml +++ b/rpms/vault/metadata.yaml @@ -28,3 +28,20 @@ builds: image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest release: 1 version: 2.0.0 +- repository: + - almalinux/el8 + image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest + release: 1 + version: 1.21.4 +- repository: + - almalinux/el9 + image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest + release: 1 + version: 1.21.4 +- repository: + - fedora/42 + - fedora/43 + - fedora/44 + image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest + release: 1 + version: 1.21.4 diff --git a/rpms/vault/resources/build.sh b/rpms/vault/resources/build.sh index ce7035d..8034de7 100755 --- a/rpms/vault/resources/build.sh +++ b/rpms/vault/resources/build.sh @@ -6,7 +6,7 @@ set -e dnf install -y unzip # Download and extract vault -curl -L -o /app/vault.zip https://releases.hashicorp.com/vault/${PACKAGE_VERSION}/vault_${PACKAGE_VERSION}_linux_amd64.zip +curl -L -o /app/vault.zip https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/hashicorp-releases/vault/${PACKAGE_VERSION}/vault_${PACKAGE_VERSION}_linux_amd64.zip unzip vault.zip # Process the nfpm.yaml template with environment variables