From e58117899a7d55ff59d1a631c59c0094fa603b2a Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 17 Jan 2026 19:44:33 +1100 Subject: [PATCH] chore: update urls to artifactapi - change github urls to artifactapi - change gitea urls to artifactapi - change scripts in nfpm to use full path - update unrar to 7.12 --- rpms/act_runner/resources/build.sh | 2 +- rpms/bind_exporter/resources/build.sh | 2 +- rpms/boilerplate/resources/build.sh | 2 +- rpms/cni-plugins/resources/build.sh | 2 +- rpms/etcd/resources/build.sh | 2 +- rpms/exportarr/resources/build.sh | 2 +- rpms/frr_exporter/resources/build.sh | 2 +- rpms/g10k/resources/build.sh | 2 +- rpms/helmfile/resources/build.sh | 2 +- rpms/incus/resources/build.sh | 2 +- rpms/jsonnet-language-server/resources/build.sh | 2 +- rpms/libfoundationdb/resources/build.sh | 2 +- rpms/node_exporter/resources/build.sh | 2 +- rpms/nzbget/resources/build.sh | 2 +- rpms/openbao-plugin-secret-consul/resources/build.sh | 2 +- rpms/openbao-plugin-secret-nomad/resources/build.sh | 2 +- rpms/pgbouncer_exporter/resources/build.sh | 2 +- rpms/postgres_exporter/resources/build.sh | 2 +- rpms/puppet-initial/resources/nfpm.yaml | 8 ++++---- rpms/puppetdb_exporter/resources/build.sh | 2 +- rpms/ruff/resources/build.sh | 2 +- rpms/stalwart-cli/resources/build.sh | 2 +- rpms/stalwart-foundationdb/resources/build.sh | 2 +- rpms/stalwart/resources/build.sh | 2 +- rpms/terragrunt/resources/build.sh | 2 +- rpms/tflint/resources/build.sh | 2 +- rpms/unkin-ca-certificates/resources/nfpm.yaml | 2 +- rpms/unkin-undionly-kpxe/resources/nfpm.yaml | 8 ++++---- rpms/unrar/metadata.yaml | 4 ++-- rpms/unrar/resources/build.sh | 2 +- rpms/uv/resources/build.sh | 2 +- rpms/vals/resources/build.sh | 2 +- rpms/victoria-logs/resources/build.sh | 2 +- rpms/vlutils/resources/build.sh | 2 +- rpms/vmagent/resources/build.sh | 2 +- rpms/vmalert/resources/build.sh | 2 +- rpms/vminsert/resources/build.sh | 2 +- rpms/vmselect/resources/build.sh | 2 +- rpms/vmstorage/resources/build.sh | 2 +- rpms/vmutils/resources/build.sh | 2 +- rpms/xh/resources/build.sh | 2 +- rpms/xh/resources/nfpm.yaml | 8 ++++---- 42 files changed, 52 insertions(+), 52 deletions(-) diff --git a/rpms/act_runner/resources/build.sh b/rpms/act_runner/resources/build.sh index 0a0aec8..44b71c8 100755 --- a/rpms/act_runner/resources/build.sh +++ b/rpms/act_runner/resources/build.sh @@ -2,7 +2,7 @@ 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/bind_exporter/resources/build.sh b/rpms/bind_exporter/resources/build.sh index d03a7f6..4a6400d 100755 --- a/rpms/bind_exporter/resources/build.sh +++ b/rpms/bind_exporter/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/boilerplate/resources/build.sh b/rpms/boilerplate/resources/build.sh index 21f736a..293b49a 100755 --- a/rpms/boilerplate/resources/build.sh +++ b/rpms/boilerplate/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/cni-plugins/resources/build.sh b/rpms/cni-plugins/resources/build.sh index 364b9fd..1b1608e 100755 --- a/rpms/cni-plugins/resources/build.sh +++ b/rpms/cni-plugins/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 # Process nfpm.yaml with envsubst diff --git a/rpms/etcd/resources/build.sh b/rpms/etcd/resources/build.sh index 7fc0fd4..7575c48 100755 --- a/rpms/etcd/resources/build.sh +++ b/rpms/etcd/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 mv /app/etcd-v${PACKAGE_VERSION}-linux-amd64/* /app/ diff --git a/rpms/exportarr/resources/build.sh b/rpms/exportarr/resources/build.sh index 78e3ea3..7b25f25 100755 --- a/rpms/exportarr/resources/build.sh +++ b/rpms/exportarr/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/frr_exporter/resources/build.sh b/rpms/frr_exporter/resources/build.sh index 9199c0c..d8dcaa5 100755 --- a/rpms/frr_exporter/resources/build.sh +++ b/rpms/frr_exporter/resources/build.sh @@ -1,7 +1,7 @@ #!/usr/bin/bash 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/g10k/resources/build.sh b/rpms/g10k/resources/build.sh index c70eee5..93f27d5 100755 --- a/rpms/g10k/resources/build.sh +++ b/rpms/g10k/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 unzip /app/g10k.zip popd diff --git a/rpms/helmfile/resources/build.sh b/rpms/helmfile/resources/build.sh index d9af0bf..882dddf 100755 --- a/rpms/helmfile/resources/build.sh +++ b/rpms/helmfile/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 cd /app diff --git a/rpms/incus/resources/build.sh b/rpms/incus/resources/build.sh index 38ad84f..5d078cc 100755 --- a/rpms/incus/resources/build.sh +++ b/rpms/incus/resources/build.sh @@ -29,7 +29,7 @@ dnf makecache && dnf install -y \ curl-minimal # 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 # Install specific Go version diff --git a/rpms/jsonnet-language-server/resources/build.sh b/rpms/jsonnet-language-server/resources/build.sh index 57a2075..403f982 100755 --- a/rpms/jsonnet-language-server/resources/build.sh +++ b/rpms/jsonnet-language-server/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 chmod +x /app/jsonnet-language-server diff --git a/rpms/libfoundationdb/resources/build.sh b/rpms/libfoundationdb/resources/build.sh index 7a1b061..ece9ffd 100755 --- a/rpms/libfoundationdb/resources/build.sh +++ b/rpms/libfoundationdb/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 chmod 755 /app/libfdb_c.so diff --git a/rpms/node_exporter/resources/build.sh b/rpms/node_exporter/resources/build.sh index e6924ad..1f4a91e 100755 --- a/rpms/node_exporter/resources/build.sh +++ b/rpms/node_exporter/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/nzbget/resources/build.sh b/rpms/nzbget/resources/build.sh index 700a56e..81a3cf7 100755 --- a/rpms/nzbget/resources/build.sh +++ b/rpms/nzbget/resources/build.sh @@ -4,4 +4,4 @@ set -e # Download the pre-built RPM from GitHub releases 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 \ No newline at end of file + 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 \ No newline at end of file diff --git a/rpms/openbao-plugin-secret-consul/resources/build.sh b/rpms/openbao-plugin-secret-consul/resources/build.sh index 1d9ec50..aa123e7 100755 --- a/rpms/openbao-plugin-secret-consul/resources/build.sh +++ b/rpms/openbao-plugin-secret-consul/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 tar -xzf /app/openbao-plugin-secrets-consul.tar.gz -C /app diff --git a/rpms/openbao-plugin-secret-nomad/resources/build.sh b/rpms/openbao-plugin-secret-nomad/resources/build.sh index 8a59f0e..2684664 100755 --- a/rpms/openbao-plugin-secret-nomad/resources/build.sh +++ b/rpms/openbao-plugin-secret-nomad/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 tar -xzf /app/openbao-plugin-secrets-nomad.tar.gz -C /app diff --git a/rpms/pgbouncer_exporter/resources/build.sh b/rpms/pgbouncer_exporter/resources/build.sh index 55f0c91..bbcec3f 100755 --- a/rpms/pgbouncer_exporter/resources/build.sh +++ b/rpms/pgbouncer_exporter/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/postgres_exporter/resources/build.sh b/rpms/postgres_exporter/resources/build.sh index ceff5db..c60368d 100755 --- a/rpms/postgres_exporter/resources/build.sh +++ b/rpms/postgres_exporter/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/puppet-initial/resources/nfpm.yaml b/rpms/puppet-initial/resources/nfpm.yaml index 68ae453..bb8e86a 100644 --- a/rpms/puppet-initial/resources/nfpm.yaml +++ b/rpms/puppet-initial/resources/nfpm.yaml @@ -34,7 +34,7 @@ contents: # Scripts to run during installation/removal (optional) scripts: - postinstall: ./scripts/postinstall.sh - preremove: ./scripts/preremove.sh - postremove: ./scripts/postremove.sh - preinstall: ./scripts/preinstall.sh + postinstall: /app/resources/scripts/postinstall.sh + preremove: /app/resources/scripts/preremove.sh + postremove: /app/resources/scripts/postremove.sh + preinstall: /app/resources/scripts/preinstall.sh diff --git a/rpms/puppetdb_exporter/resources/build.sh b/rpms/puppetdb_exporter/resources/build.sh index c89fe7a..e05a85b 100755 --- a/rpms/puppetdb_exporter/resources/build.sh +++ b/rpms/puppetdb_exporter/resources/build.sh @@ -1,7 +1,7 @@ #!/usr/bin/bash 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/ruff/resources/build.sh b/rpms/ruff/resources/build.sh index c8c2144..c2827db 100755 --- a/rpms/ruff/resources/build.sh +++ b/rpms/ruff/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 mv /app/ruff-x86_64-unknown-linux-gnu/* /app/ diff --git a/rpms/stalwart-cli/resources/build.sh b/rpms/stalwart-cli/resources/build.sh index ca9d055..8156ab6 100755 --- a/rpms/stalwart-cli/resources/build.sh +++ b/rpms/stalwart-cli/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 tar -xzf /app/stalwart-cli.tar.gz -C /app diff --git a/rpms/stalwart-foundationdb/resources/build.sh b/rpms/stalwart-foundationdb/resources/build.sh index 9ebca50..e7212d4 100755 --- a/rpms/stalwart-foundationdb/resources/build.sh +++ b/rpms/stalwart-foundationdb/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 tar -xzf /app/stalwart-foundationdb.tar.gz -C /app diff --git a/rpms/stalwart/resources/build.sh b/rpms/stalwart/resources/build.sh index 35214c1..dcab2a9 100755 --- a/rpms/stalwart/resources/build.sh +++ b/rpms/stalwart/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 tar -xzf /app/stalwart.tar.gz -C /app diff --git a/rpms/terragrunt/resources/build.sh b/rpms/terragrunt/resources/build.sh index 7561b18..e9549a0 100755 --- a/rpms/terragrunt/resources/build.sh +++ b/rpms/terragrunt/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml diff --git a/rpms/tflint/resources/build.sh b/rpms/tflint/resources/build.sh index c058634..fbf0517 100755 --- a/rpms/tflint/resources/build.sh +++ b/rpms/tflint/resources/build.sh @@ -2,7 +2,7 @@ set -e # 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 unzip -j /app/tflint_linux_amd64.zip -d /app/ diff --git a/rpms/unkin-ca-certificates/resources/nfpm.yaml b/rpms/unkin-ca-certificates/resources/nfpm.yaml index e3ec751..b036b29 100644 --- a/rpms/unkin-ca-certificates/resources/nfpm.yaml +++ b/rpms/unkin-ca-certificates/resources/nfpm.yaml @@ -32,7 +32,7 @@ contents: # Scripts to run during installation/removal (optional) scripts: - postinstall: ./scripts/postinstall.sh + postinstall: /app/resources/scripts/postinstall.sh # preinstall: ./scripts/preinstall.sh # preremove: ./scripts/preremove.sh # postremove: ./scripts/postremove.sh diff --git a/rpms/unkin-undionly-kpxe/resources/nfpm.yaml b/rpms/unkin-undionly-kpxe/resources/nfpm.yaml index 9676165..9074bf1 100644 --- a/rpms/unkin-undionly-kpxe/resources/nfpm.yaml +++ b/rpms/unkin-undionly-kpxe/resources/nfpm.yaml @@ -38,7 +38,7 @@ contents: # Scripts to run during installation/removal (optional) scripts: - preinstall: /app/resources/preinstall.sh -# postinstall: ./scripts/postinstall.sh -# preremove: ./scripts/preremove.sh -# postremove: ./scripts/postremove.sh + preinstall: /app/resources/scripts/preinstall.sh +# postinstall: /app/resources/scripts/postinstall.sh +# preremove: /app/resources/scripts/preremove.sh +# postremove: /app/resources/scripts/postremove.sh diff --git a/rpms/unrar/metadata.yaml b/rpms/unrar/metadata.yaml index 5bcfcc1..617194f 100644 --- a/rpms/unrar/metadata.yaml +++ b/rpms/unrar/metadata.yaml @@ -4,11 +4,11 @@ builds: - image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest release: '1' repository: [almalinux/el8] - version: 7.11.0 + version: '7.12' - image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest release: '1' 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. github: unknown/unrar homepage: https://www.rarlab.com/ diff --git a/rpms/unrar/resources/build.sh b/rpms/unrar/resources/build.sh index b21599c..7fb6414 100755 --- a/rpms/unrar/resources/build.sh +++ b/rpms/unrar/resources/build.sh @@ -11,4 +11,4 @@ mv /app/rar/unrar /app/ # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/uv/resources/build.sh b/rpms/uv/resources/build.sh index cd1e6b9..1b95934 100755 --- a/rpms/uv/resources/build.sh +++ b/rpms/uv/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 mv /app/uv-x86_64-unknown-linux-gnu/* /app/ diff --git a/rpms/vals/resources/build.sh b/rpms/vals/resources/build.sh index 6884d7a..b6b0e1b 100755 --- a/rpms/vals/resources/build.sh +++ b/rpms/vals/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 cd /app diff --git a/rpms/victoria-logs/resources/build.sh b/rpms/victoria-logs/resources/build.sh index c5a8c7b..38d81e3 100755 --- a/rpms/victoria-logs/resources/build.sh +++ b/rpms/victoria-logs/resources/build.sh @@ -4,7 +4,7 @@ set -e # Download and extract victoria-logs 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vlutils/resources/build.sh b/rpms/vlutils/resources/build.sh index 0132cc1..5cabd05 100755 --- a/rpms/vlutils/resources/build.sh +++ b/rpms/vlutils/resources/build.sh @@ -4,7 +4,7 @@ set -e # Download and extract vlutils 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vmagent/resources/build.sh b/rpms/vmagent/resources/build.sh index fece99a..e4196cf 100755 --- a/rpms/vmagent/resources/build.sh +++ b/rpms/vmagent/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vmalert/resources/build.sh b/rpms/vmalert/resources/build.sh index fece99a..e4196cf 100755 --- a/rpms/vmalert/resources/build.sh +++ b/rpms/vmalert/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vminsert/resources/build.sh b/rpms/vminsert/resources/build.sh index f65b3bf..10183cb 100755 --- a/rpms/vminsert/resources/build.sh +++ b/rpms/vminsert/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vmselect/resources/build.sh b/rpms/vmselect/resources/build.sh index 9fb7682..e4bf022 100755 --- a/rpms/vmselect/resources/build.sh +++ b/rpms/vmselect/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vmstorage/resources/build.sh b/rpms/vmstorage/resources/build.sh index f65b3bf..10183cb 100755 --- a/rpms/vmstorage/resources/build.sh +++ b/rpms/vmstorage/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/vmutils/resources/build.sh b/rpms/vmutils/resources/build.sh index 902375e..f7da482 100755 --- a/rpms/vmutils/resources/build.sh +++ b/rpms/vmutils/resources/build.sh @@ -4,7 +4,7 @@ set -e # Download and extract vmutils 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 # Process the nfpm.yaml template with environment variables diff --git a/rpms/xh/resources/build.sh b/rpms/xh/resources/build.sh index b3bc86d..aa7e242 100755 --- a/rpms/xh/resources/build.sh +++ b/rpms/xh/resources/build.sh @@ -3,7 +3,7 @@ set -e # 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 mv /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl/* /app/ diff --git a/rpms/xh/resources/nfpm.yaml b/rpms/xh/resources/nfpm.yaml index dfdfc6b..025e810 100644 --- a/rpms/xh/resources/nfpm.yaml +++ b/rpms/xh/resources/nfpm.yaml @@ -32,7 +32,7 @@ contents: # Scripts to run during installation/removal (optional) # scripts: -# preinstall: ./scripts/preinstall.sh -# postinstall: ./scripts/postinstall.sh -# preremove: ./scripts/preremove.sh -# postremove: ./scripts/postremove.sh +# preinstall: /app/resources/scripts/preinstall.sh +# postinstall: /app/resources/scripts/postinstall.sh +# preremove: /app/resources/scripts/preremove.sh +# postremove: /app/resources/scripts/postremove.sh