39 Commits

Author SHA1 Message Date
unkinben 06b1797537 Merge branch 'master' into benvin/tea
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
2026-04-26 21:21:16 +10:00
unkinben 0fd817b13f Merge pull request 'benvin/escape_secret' (#113) from benvin/escape_secret into master
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
Reviewed-on: #113
2026-04-26 21:11:29 +10:00
unkinben c7eddffbb3 fix: uploads fail with wrong password
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
- properly escape the ${} function
2026-04-26 21:07:49 +10:00
unkinben 17e0fadd44 feat: add tea rpm 2026-04-26 21:07:49 +10:00
unkinben cfd1972d54 Merge pull request 'feat: add stern rpm' (#102) from benvin/stern into master
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
Reviewed-on: #102
2026-04-26 19:50:59 +10:00
unkinben 8cbd495004 feat: add tea rpm
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
2026-04-26 16:58:37 +10:00
unkinben e04f19ed03 feat: add stern rpm
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
2026-04-26 16:23:01 +10:00
unkinben ff054f42bb Merge pull request 'fix: add --network=host to docker and fix build tool fallback order' (#89) from fix/docker-network-host-and-tool-detection into master
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
Reviewed-on: #89
2026-04-25 16:14:57 +10:00
unkinben 818a48fa78 fix: add --network=host to docker and fix build tool fallback order
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
Pass --network=host to docker build and docker create so package builds
can reach the network. Reorder auto-detection so Docker is tried before
buildah/native, only falling back when the explicit flag is not set.
2026-04-25 16:11:40 +10:00
unkinben 111ea50d80 Merge pull request 'feat: automatically update claude-ai version' (#88) from benvin/claude-ai-versioncheck into master
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
Reviewed-on: #88
2026-04-25 15:39:39 +10:00
unkinben 1b46845734 feat: automatically update claude-ai version
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
2026-04-25 11:38:32 +10:00
unkinben 497b99c328 Merge pull request 'feat: add claude-code rpm' (#87) from benvin/claude-code into master
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
Reviewed-on: #87
2026-04-25 11:37:22 +10:00
unkinben 6b070d8c14 feat: add claude-code rpm
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
2026-04-25 11:32:10 +10:00
unkinben dff743a00b Merge pull request 'feat: migrate to woodpeckerci' (#83) from benvin/woodpecker_changes into master
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
Reviewed-on: #83
2026-03-07 17:14:18 +11:00
unkinben f408d3d705 feat: migrate to woodpeckerci
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
- update build tool for kubernetes auth
- update build tool to build packages without docker (native + buildah)
- add woodpecker pre-commit and build jobs
- add woodpecker deployment jobs
- cleanup gitea actions workflows
2026-03-07 17:11:20 +11:00
unkinben c4c018b1ee Merge pull request 'feat: additional pre-commit checks' (#86) from benvin/pre-commit-improvements into master
Deploy / deploy-8 (push) Successful in 4s
Deploy / deploy-9 (push) Successful in 3s
Reviewed-on: #86
2026-03-07 17:06:30 +11:00
unkinben b18e34c905 feat: additional pre-commit checks
Build / build-8 (pull_request) Successful in 10s
Build / build-9 (pull_request) Successful in 10s
- add all precommit checks from pre-commit's hooks repo
- ensure scripts with shebangs are executable
2026-03-07 17:04:48 +11:00
unkinben cede57a565 Merge pull request 'fix: precommit fix all' (#85) from benvin/pre-commit-all into master
Deploy / deploy-8 (push) Successful in 3s
Deploy / deploy-9 (push) Successful in 3s
Reviewed-on: #85
2026-03-07 12:30:01 +11:00
unkinben 07a75008a1 fix: precommit fix all
Build / build-8 (pull_request) Successful in 12s
Build / build-9 (pull_request) Successful in 13s
- run pre-commit against all files
- preparation for running pre-commit in ci
2026-03-07 12:28:20 +11:00
unkinben 5e1533289f Merge pull request 'chore: bump rarlab version' (#84) from benvin/rarlab_fix into master
Deploy / deploy-8 (push) Successful in 3s
Deploy / deploy-9 (push) Successful in 3s
Reviewed-on: #84
2026-03-07 12:27:25 +11:00
unkinben cd1eb1f46c chore: bump rarlab version
Build / build-8 (pull_request) Successful in 16s
Build / build-9 (pull_request) Successful in 17s
- release 7.20
- use artifactapi caching
2026-03-07 12:15:19 +11:00
unkinben b585cca9f0 Merge pull request 'feat: update pre-commit with more tests' (#82) from benvin/pre-commit-update into master
Deploy / deploy-8 (push) Successful in 2s
Deploy / deploy-9 (push) Successful in 3s
Reviewed-on: #82
2026-03-01 23:48:29 +11:00
unkinben a117caae27 Merge pull request 'feat: add kustomize' (#81) from benvin/kustomize into master
Deploy / deploy-9 (push) Successful in 4s
Deploy / deploy-8 (push) Successful in 4s
Reviewed-on: #81
2026-03-01 23:47:01 +11:00
unkinben a0b8d8b806 feat: update pre-commit with more tests
Build / build-9 (pull_request) Successful in 14s
Build / build-8 (pull_request) Successful in 17s
- autofix the end-of-file
- report trailing whitespace
2026-03-01 23:43:31 +11:00
unkinben c8bb19d6d6 feat: add kustomize
Build / build-8 (pull_request) Successful in 15s
Build / build-9 (pull_request) Successful in 15s
- add kustomize to rpmbuilder
2026-03-01 23:41:57 +11:00
unkinben 4976f0e43b Merge pull request 'fix: standardize artifact directory structure for multi-distro support' (#80) from benvin/artifact_upload into master
Deploy / deploy-8 (push) Successful in 55s
Deploy / deploy-9 (push) Successful in 1m5s
Reviewed-on: #80
2026-03-01 22:24:06 +11:00
unkinben 745ce03757 fix: standardize artifact directory structure for multi-distro support
Build / build-8 (pull_request) Successful in 4m30s
Build / build-9 (pull_request) Successful in 7m56s
Remove per-package subdirectories from build output to align with workflow expectations.
Update deploy workflow paths to match repository-based structure (dist/repository/*.rpm).
This enables consistent artifact handling across different Linux distributions.
2026-03-01 22:11:23 +11:00
unkinben 3742eabfde Merge pull request 'feat: add kubeconfirm' (#79) from benvin/kubeconfirm into master
Deploy / deploy-8 (push) Failing after 4s
Deploy / deploy-9 (push) Failing after 4s
Reviewed-on: #79
2026-03-01 21:59:03 +11:00
unkinben 5c9fce3607 feat: add kubeconfirm
Build / build-8 (pull_request) Successful in 3m18s
Build / build-9 (pull_request) Successful in 4m38s
- add new rpm kubeconfirm
2026-03-01 21:50:08 +11:00
unkinben 76f79a7371 Merge pull request 'feat: add helm release' (#78) from benvin/helm into master
Deploy / deploy-9 (push) Failing after 3s
Deploy / deploy-8 (push) Failing after 4s
Reviewed-on: #78
2026-01-21 21:55:31 +11:00
unkinben 8e8285546b feat: add helm release
Build / build-8 (pull_request) Successful in 1m55s
Build / build-9 (pull_request) Successful in 4m35s
- helm release in fedora repos is behind the latest
- some helm releases require a newer version
2026-01-20 21:20:45 +11:00
unkinben b15fc0612f Merge pull request 'benvin/replace_release_el8' (#77) from benvin/replace_release_el8 into master
Deploy / deploy-8 (push) Failing after 3s
Deploy / deploy-9 (push) Failing after 3s
Reviewed-on: #77
2026-01-17 20:39:06 +11:00
unkinben 1f1b1cfe32 chore: update urls to artifactapi
Build / build-8 (pull_request) Successful in 2m16s
Build / build-9 (pull_request) Successful in 4m23s
- change github urls to artifactapi
- change gitea urls to artifactapi
- change scripts in nfpm to use full path
- update unrar to 7.12
2026-01-17 20:21:04 +11:00
unkinben e09d0c4bc6 chore: update build tool, puppet-initial
- update build tool with github_release_pattern
- update puppet-initial to reduce impact on upgrades
2026-01-17 15:18:26 +11:00
unkinben 6d379d99b6 chore: update build job, fixed versions
- changed all releases from 1-el8 and 1-el9 to 1
- updated build job to write files to per-repository directories
2026-01-03 23:24:58 +11:00
unkinben 9e02175ead Merge pull request 'chore: nzbget re-release' (#76) from benvin/nzbget_v2 into master
Deploy / deploy-9 (push) Successful in 3s
Deploy / deploy-8 (push) Successful in 4s
Reviewed-on: #76
2026-01-03 22:13:32 +11:00
unkinben a4a28c67d4 chore: nzbget re-release
Build / build-8 (pull_request) Successful in 12s
Build / build-9 (pull_request) Successful in 11s
- failed to upload new release, trying again
2026-01-03 22:12:24 +11:00
unkinben be4df03f81 Merge pull request 'feat: enhance GitHub release tracking with pattern support and version extraction' (#75) from benvin/release_updates into master
Deploy / deploy-8 (push) Successful in 1m7s
Deploy / deploy-9 (push) Successful in 1m16s
Reviewed-on: #75
2026-01-03 21:52:39 +11:00
unkinben 5cdbe3a6b5 feat: enhance GitHub release tracking with pattern support and version extraction
Build / build-8 (pull_request) Successful in 5m45s
Build / build-9 (pull_request) Successful in 8m54s
- Add github_release_pattern field to support multi-product repositories
- Implement get_github_releases_by_pattern() for filtered release matching
- Add parse_github_version_release() to extract version-release components
- Update openbao plugin packages with release patterns and correct versions
- Configure openbao-plugins meta package for manual versioning
- Fix HashiCorp package GitHub repository references
- Support complex tag formats like "secrets-consul-v0.1.0" and "v7.1.3-1"

This enables automatic updates for packages sharing GitHub repos while
maintaining proper RPM version/release semantics and backward compatibility.
2025-12-30 22:38:23 +11:00
142 changed files with 1941 additions and 840 deletions
-59
View File
@@ -1,59 +0,0 @@
name: Build
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
build-8:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux8-actionsdind:latest
options: "--privileged --volume /etc/pki/tls/vault:/etc/pki/tls/vault:ro"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Packages
env:
VAULT_ROLE_ID: ${{ secrets.RPMBUILDER_VAULT_ROLEID }}
run: |
./tools/build build-all --distro almalinux/el8
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: rpms-8
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
build-9:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
options: "--privileged --volume /etc/pki/tls/vault:/etc/pki/tls/vault:ro"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Packages
env:
VAULT_ROLE_ID: ${{ secrets.RPMBUILDER_VAULT_ROLEID }}
run: |
./tools/build build-all --distro almalinux/el9
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: rpms-9
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
-66
View File
@@ -1,66 +0,0 @@
name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy-8:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux8-actionsdind:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Download Artifacts
run: |
mkdir -p /workspace/unkin/rpmbuilder/dist/8
export PREVIOUS_RUN_ID=$((GITHUB_RUN_NUMBER - 1))
curl -L -o /workspace/rpms.zip "https://git.unkin.net/${GITHUB_REPOSITORY}/actions/runs/${PREVIOUS_RUN_ID}/artifacts/rpms-8"
unzip /workspace/rpms.zip -d /workspace/unkin/rpmbuilder/dist/8
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload RPMs to Gitea
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}
run: |
for rpm in $(find /workspace/unkin/rpmbuilder/dist/8 -type f -name "*.rpm"); do
curl --user droneci:${{ secrets.DRONECI_PASSWORD }} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el8/upload
done
deploy-9:
runs-on: almalinux-8
container:
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Download Artifacts
run: |
mkdir -p /workspace/unkin/rpmbuilder/dist/9
export PREVIOUS_RUN_ID=$((GITHUB_RUN_NUMBER - 1))
curl -L -o /workspace/rpms.zip "https://git.unkin.net/${GITHUB_REPOSITORY}/actions/runs/${PREVIOUS_RUN_ID}/artifacts/rpms-9"
unzip /workspace/rpms.zip -d /workspace/unkin/rpmbuilder/dist/9
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload RPMs to Gitea
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}
run: |
for rpm in $(find /workspace/unkin/rpmbuilder/dist/9 -type f -name "*.rpm"); do
curl --user droneci:${{ secrets.DRONECI_PASSWORD }} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el9/upload
done
+22
View File
@@ -1,5 +1,26 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1 rev: v1.37.1
hooks: hooks:
@@ -9,6 +30,7 @@ repos:
"-d {extends: relaxed, rules: {line-length: disable}}", "-d {extends: relaxed, rules: {line-length: disable}}",
"-s", "-s",
] ]
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.7 rev: v0.14.7
hooks: hooks:
+20
View File
@@ -0,0 +1,20 @@
when:
- event: pull_request
steps:
- name: build rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- mkdir -p /woodpecker/rpms
- ln -s /woodpecker/rpms /workspace
- dnf install buildah -y
- ./tools/build build-all --distro almalinux/el8 --buildah
privileged: true
backend_options:
kubernetes:
serviceAccountName: default
- name: show rpms
image: git.unkin.net/unkin/almalinux8-base:latest
commands:
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
+20
View File
@@ -0,0 +1,20 @@
when:
- event: pull_request
steps:
- name: build rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- mkdir -p /woodpecker/rpms
- ln -s /woodpecker/rpms /workspace
- dnf install buildah -y
- ./tools/build build-all --distro almalinux/el9 --buildah
privileged: true
backend_options:
kubernetes:
serviceAccountName: default
- name: show rpms
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
+37
View File
@@ -0,0 +1,37 @@
when:
- event: push
branch: master
steps:
- name: build-rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- mkdir -p /woodpecker/rpms
- ln -s /woodpecker/rpms /workspace
- dnf install buildah -y
- ./tools/build build-all --distro almalinux/el8 --buildah
privileged: true
backend_options:
kubernetes:
serviceAccountName: default
- name: show-rpms
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
depends_on: [build-rpms]
- name: deploy-rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- |
for rpm in $(find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"); do
curl --user droneci:$${DRONECI_PASSWORD} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el8/upload
done
environment:
DRONECI_PASSWORD:
from_secret: DRONECI_PASSWORD
backend_options:
kubernetes:
serviceAccountName: default
depends_on: [build-rpms, show-rpms]
+37
View File
@@ -0,0 +1,37 @@
when:
- event: push
branch: master
steps:
- name: build-rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- mkdir -p /woodpecker/rpms
- ln -s /woodpecker/rpms /workspace
- dnf install buildah -y
- ./tools/build build-all --distro almalinux/el9 --buildah
privileged: true
backend_options:
kubernetes:
serviceAccountName: default
- name: show-rpms
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
depends_on: [build-rpms]
- name: deploy-rpms
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
commands:
- |
for rpm in $(find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"); do
curl --user droneci:$${DRONECI_PASSWORD} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el9/upload
done
environment:
DRONECI_PASSWORD:
from_secret: DRONECI_PASSWORD
backend_options:
kubernetes:
serviceAccountName: default
depends_on: [build-rpms, show-rpms]
+9
View File
@@ -0,0 +1,9 @@
when:
- event: pull_request
steps:
- name: pre-commit
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- dnf install uv make -y
- uvx pre-commit run --all-files
+14
View File
@@ -3,6 +3,10 @@ ROOT_DIR := $(PWD)
BUILD_TOOL := $(ROOT_DIR)/tools/build BUILD_TOOL := $(ROOT_DIR)/tools/build
DISTRO ?= almalinux/el9 DISTRO ?= almalinux/el9
# Authentication variables (optional)
# VAULT_ROLE_ID - Use AppRole authentication if set
# VAULT_ROLE - Kubernetes role for service account authentication (default: rpmbuilder)
# Automatically find all packages with metadata.yaml # Automatically find all packages with metadata.yaml
PACKAGES := $(shell find $(ROOT_DIR)/rpms -mindepth 1 -maxdepth 1 -type d -exec test -f {}/metadata.yaml \; -print | xargs -n1 basename | sort) PACKAGES := $(shell find $(ROOT_DIR)/rpms -mindepth 1 -maxdepth 1 -type d -exec test -f {}/metadata.yaml \; -print | xargs -n1 basename | sort)
@@ -22,6 +26,16 @@ build-all:
@echo "Building all packages using Python tooling for distro $(DISTRO)..." @echo "Building all packages using Python tooling for distro $(DISTRO)..."
$(BUILD_TOOL) build-all --distro $(DISTRO) $(BUILD_TOOL) build-all --distro $(DISTRO)
# Build all packages using native build (no Docker)
build-all-native:
@echo "Building all packages natively (no Docker) for distro $(DISTRO)..."
$(BUILD_TOOL) build-all --distro $(DISTRO) --native
# Build all packages using Buildah
build-all-buildah:
@echo "Building all packages using Buildah for distro $(DISTRO)..."
$(BUILD_TOOL) build-all --distro $(DISTRO) --buildah
# Build specific package using Python tool # Build specific package using Python tool
.PHONY: $(PACKAGES) .PHONY: $(PACKAGES)
$(PACKAGES): $(PACKAGES):
+1 -1
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
+1 -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/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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: boilerplate
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.6.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.6.1
description: Boilerplate is a tool for generating files and folders (boilerplate) from a set of templates.
github: gruntwork-io/boilerplate github: gruntwork-io/boilerplate
description: Boilerplate is a tool for generating files and folders (boilerplate)
from a set of templates.
arch: amd64
platform: linux
maintainer: Gruntwork
homepage: https://github.com/gruntwork-io/boilerplate homepage: https://github.com/gruntwork-io/boilerplate
license: MIT license: MIT
maintainer: Gruntwork builds:
name: boilerplate - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.10.1
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.10.1
+1 -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
+18
View File
@@ -0,0 +1,18 @@
---
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 2.1.120
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 2.1.120
claude_ai: true
description: Claude Code - Anthropic's agentic AI coding tool
homepage: https://claude.ai/code
license: Proprietary
maintainer: Anthropic
name: claude-code
platform: linux
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/bash
set -e
# Download claude-code binary
wget -O /app/claude https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/claude-ai/claude-code-releases/${PACKAGE_VERSION}/linux-x64/claude
chmod +x /app/claude
# Process the nfpm.yaml template with environment variables
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
# Build the RPM
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
+33
View File
@@ -0,0 +1,33 @@
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- claude-code
- claude
provides:
- claude-code
- claude
# Files to include in the package
contents:
- src: /app/claude
dst: /usr/bin/claude
file_info:
mode: 0755
owner: root
group: root
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: cni-plugins
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.7.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.7.1
description: Some reference and example networking plugins, maintained by the CNI team.
github: containernetworking/plugins github: containernetworking/plugins
description: Some reference and example networking plugins, maintained by the CNI
team.
arch: amd64
platform: linux
maintainer: ContainerNetworking
homepage: https://github.com/containernetworking/plugins homepage: https://github.com/containernetworking/plugins
license: Apache-2.0 license: Apache-2.0
maintainer: ContainerNetworking builds:
name: cni-plugins - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.9.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.9.0
+1 -1
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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: consul
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.21.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.21.1
description: Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
github: hashicorp/consul github: hashicorp/consul
description: Consul is a distributed, highly available, and data center aware solution
to connect and configure applications across dynamic, distributed infrastructure.
arch: amd64
platform: linux
maintainer: HashiCorp
homepage: https://github.com/hashicorp/consul homepage: https://github.com/hashicorp/consul
license: BUSL-1.1 license: BUSL-1.1
maintainer: HashiCorp builds:
name: consul - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.22.2
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.22.2
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: etcd
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '2'
repository: [almalinux/el8]
version: 3.5.18
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '2'
repository: [almalinux/el9]
version: 3.5.18
description: A distributed, reliable key-value store for the most critical data of a distributed system.
github: etcd-io/etcd github: etcd-io/etcd
description: A distributed, reliable key-value store for the most critical data of
a distributed system.
arch: amd64
platform: linux
maintainer: https://etcd.io/
homepage: https://etcd.io/ homepage: https://etcd.io/
license: Apache-2.0 license: Apache-2.0
maintainer: https://etcd.io/ builds:
name: etcd - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 3.6.7
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 3.6.7
+1 -1
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/
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: exportarr
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 2.2.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 2.2.0
description: AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr
github: onedr0p/exportarr github: onedr0p/exportarr
description: AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr,
Radarr, and Sonarr
arch: amd64
platform: linux
maintainer: onedr0p
homepage: https://github.com/onedr0p/exportarr homepage: https://github.com/onedr0p/exportarr
license: MIT license license: MIT license
maintainer: onedr0p builds:
name: exportarr - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 2.3.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 2.3.0
+1 -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/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
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: frr_exporter
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.8.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.8.0
description: Prometheus exporter for Free Range Routing
github: tynany/frr_exporter github: tynany/frr_exporter
description: Prometheus exporter for Free Range Routing
arch: amd64
platform: linux
maintainer: Prometheus
homepage: https://github.com/tynany/frr_exporter homepage: https://github.com/tynany/frr_exporter
license: MIT license: MIT
maintainer: Prometheus builds:
name: frr_exporter - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.9.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.9.0
+1 -1
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
+1 -1
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
+19
View File
@@ -0,0 +1,19 @@
name: helm
github: helm/helm
description: The Kubernetes Package Manager
arch: amd64
platform: linux
maintainer: Helm Contributors
homepage: https://github.com/helm/helm
license: Apache-2.0 license
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 4.0.5
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 4.0.5
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/bash
set -e
# Download the required files
curl -L -o /app/helm.tar.gz https://get.helm.sh/helm-v${PACKAGE_VERSION}-linux-amd64.tar.gz
# Extract the binary
cd /app
tar -xzf helm.tar.gz
# Make the binary executable
chmod +x /app/linux-amd64/helm
# 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
+39
View File
@@ -0,0 +1,39 @@
---
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- helm
provides:
- helm
# Files to include in the package
contents:
- src: /app/linux-amd64/helm
dst: /usr/bin/helm
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh
+18 -15
View File
@@ -1,18 +1,21 @@
--- name: helmfile
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.1.7
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.1.7
description: A declarative spec for deploying Helm charts. It lets you keep a directory of chart value files and maintain changes in version control; apply CI/CD to configuration changes; and periodically sync to avoid skew in environments.
github: helmfile/helmfile github: helmfile/helmfile
description: A declarative spec for deploying Helm charts. It lets you keep a directory
of chart value files and maintain changes in version control; apply CI/CD to configuration
changes; and periodically sync to avoid skew in environments.
arch: amd64
platform: linux
maintainer: Helmfile Contributors
homepage: https://github.com/helmfile/helmfile homepage: https://github.com/helmfile/helmfile
license: MIT license: MIT
maintainer: Helmfile Contributors builds:
name: helmfile - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.2.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.2.3
+1 -1
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
+13 -12
View File
@@ -1,13 +1,14 @@
---
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 6.10.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 6.10.1
description: incus package
github: lxc/incus
name: incus name: incus
github: lxc/incus
description: Powerful system container and virtual machine manager
arch: amd64
platform: linux
maintainer: unkin
homepage: https://linuxcontainers.org/incus/
license: Apache-2.0
builds:
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 6.20.0
+2 -2
View File
@@ -3,7 +3,7 @@
set -e set -e
# Install build dependencies # Install build dependencies
dnf install -y \ dnf makecache && dnf install -y \
unzip \ unzip \
libtool \ libtool \
autoconf \ autoconf \
@@ -29,7 +29,7 @@ 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
Regular → Executable
View File
+18 -12
View File
@@ -1,13 +1,19 @@
---
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '3'
repository: [almalinux/el8]
version: 7.1.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '3'
repository: [almalinux/el9]
version: 7.1.1
description: jellyfin-ffmpeg-bin package
github: unknown/jellyfin-ffmpeg-bin
name: jellyfin-ffmpeg-bin name: jellyfin-ffmpeg-bin
github: jellyfin/jellyfin-ffmpeg
description: FFmpeg binary package optimized for Jellyfin media server
arch: amd64
platform: linux
maintainer: unkin
homepage: https://github.com/jellyfin/jellyfin-ffmpeg
license: GPL-3.0
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1.1
version: 7.1.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1.1
version: 7.1.3
+7 -4
View File
@@ -3,12 +3,15 @@
# Setup rpmbuild directory structure # Setup rpmbuild directory structure
mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
# Process the spec file template with environment variables
envsubst < /app/resources/jellyfin-ffmpeg-bin.spec.template > /root/rpmbuild/SPECS/jellyfin-ffmpeg-bin.spec
# Download source files using spectool # Download source files using spectool
spectool -g -R /app/resources/jellyfin-ffmpeg-bin_${PACKAGE_VERSION}.spec spectool -g -R /root/rpmbuild/SPECS/jellyfin-ffmpeg-bin.spec
# Build the RPM # Build the RPM
rpmbuild -ba /app/resources/jellyfin-ffmpeg-bin_${PACKAGE_VERSION}.spec rpmbuild -ba /root/rpmbuild/SPECS/jellyfin-ffmpeg-bin.spec
# Copy the built RPMs to output directory # Copy the built RPMs to output directory
cp /root/rpmbuild/RPMS/x86_64/jellyfin-ffmpeg-bin-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.*.rpm /app/dist/ cp /root/rpmbuild/RPMS/x86_64/jellyfin-ffmpeg-bin-*.rpm /app/dist/
cp /root/rpmbuild/SRPMS/jellyfin-ffmpeg-bin-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.*.rpm /app/dist cp /root/rpmbuild/SRPMS/jellyfin-ffmpeg-bin-*.rpm /app/dist
@@ -1,20 +1,20 @@
%global debug_package %{nil} %global debug_package %{nil}
%define _missing_build_ids_terminate_build 0 %define _missing_build_ids_terminate_build 0
%global jellyfin_release 3 %global jellyfin_release 1
Name: jellyfin-ffmpeg-bin Name: ${PACKAGE_NAME}
Version: 7.1.1 Version: ${PACKAGE_VERSION}
Release: %{jellyfin_release} Release: ${PACKAGE_RELEASE}
Summary: FFmpeg for Jellyfin with custom extensions and enhancements Summary: FFmpeg for Jellyfin with custom extensions and enhancements
License: GPL-3.0-only License: GPL-3.0-only
URL: https://github.com/jellyfin/jellyfin-ffmpeg URL: https://github.com/jellyfin/jellyfin-ffmpeg
Source0: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v%{version}-%{jellyfin_release}/jellyfin-ffmpeg_%{version}-%{jellyfin_release}_portable_linux64-gpl.tar.xz Source0: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${PACKAGE_VERSION}-1/jellyfin-ffmpeg_${PACKAGE_VERSION}-1_portable_linux64-gpl.tar.xz
Source1: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v%{version}-%{jellyfin_release}/jellyfin-ffmpeg_%{version}-%{jellyfin_release}_portable_linuxarm64-gpl.tar.xz Source1: https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${PACKAGE_VERSION}-1/jellyfin-ffmpeg_${PACKAGE_VERSION}-1_portable_linuxarm64-gpl.tar.xz
Source2: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v%{version}-%{jellyfin_release}/LICENSE.md Source2: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v${PACKAGE_VERSION}-1/LICENSE.md
Source3: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v%{version}-%{jellyfin_release}/README.md Source3: https://raw.githubusercontent.com/jellyfin/jellyfin-ffmpeg/v${PACKAGE_VERSION}-1/README.md
ExclusiveArch: x86_64 aarch64 ExclusiveArch: x86_64 aarch64
@@ -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
+19
View File
@@ -0,0 +1,19 @@
name: kubeconform
github: yannh/kubeconform
description: A FAST Kubernetes manifests validator, with support for Custom Resources!
arch: amd64
platform: linux
maintainer: Yann Hamon
homepage: https://github.com/yannh/kubeconform
license: Apache-2.0
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.7.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.7.0
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/bash
set -e
# Download kubeconform binary
wget -O /app/kubeconform-linux-amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/yannh/kubeconform/releases/download/v${PACKAGE_VERSION}/kubeconform-linux-amd64.tar.gz
# Extract the binary
tar -xzf /app/kubeconform-linux-amd64.tar.gz -C /app/
# Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
# Build the RPM
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
+39
View File
@@ -0,0 +1,39 @@
---
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- kubeconform
provides:
- kubeconform
# Files to include in the package
contents:
- src: /app/kubeconform
dst: /usr/bin/kubeconform
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh
+19
View File
@@ -0,0 +1,19 @@
---
name: kustomize
github: kubernetes-sigs/kustomize
description: Kubernetes native configuration management
arch: amd64
platform: linux
maintainer: kubernetes-sigs
homepage: https://github.com/kubernetes-sigs/kustomize
license: Apache-2.0
github_release_pattern: ^kustomize/v.*
builds:
- repository: [almalinux/el8]
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
version: 5.8.1
- repository: [almalinux/el9]
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
version: 5.8.1
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/bash
set -e
# Download kustomize binary
wget -O /app/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${PACKAGE_VERSION}/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz
# Extract the binary
tar -xzf /app/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz -C /app/
# Process nfpm.yaml with envsubst
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
# Build the RPM
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
+39
View File
@@ -0,0 +1,39 @@
---
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- kustomize
provides:
- kustomize
# Files to include in the package
contents:
- src: /app/kustomize
dst: /usr/bin/kustomize
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh
+1 -1
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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: nfpm
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 2.41.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 2.41.1
description: A zero dependencies, simple deb, rpm, apk, ipk, and arch linux packager written in Go.
github: goreleaser/nfpm github: goreleaser/nfpm
description: A zero dependencies, simple deb, rpm, apk, ipk, and arch linux packager
written in Go.
arch: amd64
platform: linux
maintainer: GoReleaser
homepage: https://nfpm.goreleaser.com/ homepage: https://nfpm.goreleaser.com/
license: MIT license: MIT
maintainer: GoReleaser builds:
name: nfpm - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 2.44.1
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 2.44.1
+3
View File
@@ -1,6 +1,9 @@
#!/usr/bin/bash #!/usr/bin/bash
set -e set -e
# Set Go toolchain to support newer nfpm versions
export GOTOOLCHAIN=go1.25.0
# Compile nfpm binary using Go # Compile nfpm binary using Go
GOBIN=/app go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v${PACKAGE_VERSION} GOBIN=/app go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v${PACKAGE_VERSION}
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: node_exporter
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.9.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.9.1
description: exporter for machine metrics
github: prometheus/node_exporter github: prometheus/node_exporter
description: exporter for machine metrics
arch: amd64
platform: linux
maintainer: Prometheus
homepage: https://github.com/prometheus/node_exporter homepage: https://github.com/prometheus/node_exporter
license: Apache-2.0 license license: Apache-2.0 license
maintainer: Prometheus builds:
name: node_exporter - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.10.2
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.10.2
+1 -1
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
+18 -15
View File
@@ -1,18 +1,21 @@
--- name: nomad-autoscaler
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.4.6
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.4.6
description: The Nomad Autoscaler is an autoscaling daemon for Nomad, architectured around plug-ins to allow for easy extensibility in terms of supported metrics sources, scaling targets and scaling algorithms.
github: hashicorp/nomad-autoscaler github: hashicorp/nomad-autoscaler
description: The Nomad Autoscaler is an autoscaling daemon for Nomad, architectured
around plug-ins to allow for easy extensibility in terms of supported metrics sources,
scaling targets and scaling algorithms.
arch: amd64
platform: linux
maintainer: Hashicorp
homepage: https://github.com/hashicorp/nomad-autoscaler homepage: https://github.com/hashicorp/nomad-autoscaler
license: Mozilla Public License, version 2.0 license: Mozilla Public License, version 2.0
maintainer: Hashicorp builds:
name: nomad-autoscaler - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.4.8
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.4.8
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: nzbget
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: '25.0'
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: '25.0'
description: NZBGet is a binary downloader, which downloads files from Usenet based-on information given in nzb files.
github: nzbgetcom/nzbget github: nzbgetcom/nzbget
description: NZBGet is a binary downloader, which downloads files from Usenet based-on
information given in nzb files.
arch: amd64
platform: linux
maintainer: nzbgetcom
homepage: https://github.com/nzbgetcom/nzbget homepage: https://github.com/nzbgetcom/nzbget
license: GPL-2.0 license: GPL-2.0
maintainer: nzbgetcom builds:
name: nzbget - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 2
version: '25.4'
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 2
version: '25.4'
+1 -1
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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: openbao-plugin-secret-consul
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.1.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.1.0
description: OpenBao secrets engine plugin for HashiCorp Consul
github: openbao/openbao-plugins github: openbao/openbao-plugins
github_release_pattern: "^secrets-consul-v.*"
description: OpenBao secrets engine plugin for HashiCorp Consul
arch: amd64
platform: linux
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0 license: MPL-2.0
maintainer: OpenBao Community builds:
name: openbao-plugin-secret-consul - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.1.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.1.0
@@ -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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: openbao-plugin-secret-nomad
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.1.4
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.1.4
description: OpenBao secrets engine plugin for HashiCorp Nomad
github: openbao/openbao-plugins github: openbao/openbao-plugins
github_release_pattern: "^secrets-nomad-v.*"
description: OpenBao secrets engine plugin for HashiCorp Nomad
arch: amd64
platform: linux
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0 license: MPL-2.0
maintainer: OpenBao Community builds:
name: openbao-plugin-secret-nomad - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.1.5
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.1.5
@@ -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
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: openbao-plugins
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.0.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.0.0
description: Meta package that installs all OpenBao plugins
github: openbao/openbao-plugins github: openbao/openbao-plugins
description: Meta package that installs all OpenBao plugins
arch: amd64
platform: linux
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0 license: MPL-2.0
maintainer: OpenBao Community builds:
name: openbao-plugins - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.0.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.0.0
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: packer
arch: amd64 github: hashicorp/packer
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 1.13.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.13.1
description: Create identical images for multiple platforms from a single source configuration. description: Create identical images for multiple platforms from a single source configuration.
github: unknown/packer arch: amd64
platform: linux
maintainer: HashiCorp
homepage: https://www.packer.io/ homepage: https://www.packer.io/
license: BUSL-1.1 license: BUSL-1.1
maintainer: HashiCorp builds:
name: packer - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.14.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.14.3
+1 -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/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
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: postgres_exporter
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.17.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.17.1
description: A PostgreSQL metric exporter for Prometheus
github: prometheus-community/postgres_exporter github: prometheus-community/postgres_exporter
description: A PostgreSQL metric exporter for Prometheus
arch: amd64
platform: linux
maintainer: Prometheus
homepage: https://github.com/prometheus-community/postgres_exporter homepage: https://github.com/prometheus-community/postgres_exporter
license: Apache-2.0 license license: Apache-2.0 license
maintainer: Prometheus builds:
name: postgres_exporter - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.18.1
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.18.1
+1 -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
+4 -4
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
# Only run on fresh install, not upgrade
if [ "$1" -eq 1 ]; then
systemctl daemon-reload systemctl daemon-reload
systemctl enable puppet-initial.service systemctl enable puppet-initial.service
fi
@@ -1,3 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Only run on fresh install, not upgrade
if [ "$1" -eq 1 ]; then
systemctl stop puppet systemctl stop puppet
systemctl disable puppet systemctl disable puppet
fi
+1 -1
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
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: ruff
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '6'
repository: [almalinux/el8]
version: 0.8.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '6'
repository: [almalinux/el9]
version: 0.8.1
description: An extremely fast Python linter and code formatter, written in Rust.
github: astral-sh/ruff github: astral-sh/ruff
description: An extremely fast Python linter and code formatter, written in Rust.
arch: amd64
platform: linux
maintainer: Astral.sh
homepage: https://docs.astral.sh/ruff/ homepage: https://docs.astral.sh/ruff/
license: Apache-2.0 license: Apache-2.0
maintainer: Astral.sh builds:
name: ruff - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.14.10
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.14.10
+1 -1
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/
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: stalwart-cli
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.13.4
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.13.4
description: Stalwart CLI - Command line interface for Stalwart Mail Server
github: stalwartlabs/stalwart github: stalwartlabs/stalwart
description: Stalwart CLI - Command line interface for Stalwart Mail Server
arch: amd64
platform: linux
maintainer: Stalwart Labs
homepage: https://stalw.art homepage: https://stalw.art
license: AGPL-3.0 license: AGPL-3.0
maintainer: Stalwart Labs builds:
name: stalwart-cli - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.15.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.15.3
+1 -1
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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: stalwart-foundationdb
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.13.4
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.13.4
description: Stalwart Mail Server with FoundationDB support - A modern, secure JMAP, IMAP and SMTP mail server
github: stalwartlabs/stalwart github: stalwartlabs/stalwart
description: Stalwart Mail Server with FoundationDB support - A modern, secure JMAP,
IMAP and SMTP mail server
arch: amd64
platform: linux
maintainer: Stalwart Labs
homepage: https://stalw.art homepage: https://stalw.art
license: AGPL-3.0 license: AGPL-3.0
maintainer: Stalwart Labs builds:
name: stalwart-foundationdb - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.15.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.15.3
@@ -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
View File
View File
View File
+16 -15
View File
@@ -1,18 +1,19 @@
--- name: stalwart
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.13.4
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.13.4
description: Stalwart Mail Server - A modern, secure JMAP, IMAP and SMTP mail server
github: stalwartlabs/stalwart github: stalwartlabs/stalwart
description: Stalwart Mail Server - A modern, secure JMAP, IMAP and SMTP mail server
arch: amd64
platform: linux
maintainer: Stalwart Labs
homepage: https://stalw.art homepage: https://stalw.art
license: AGPL-3.0 license: AGPL-3.0
maintainer: Stalwart Labs builds:
name: stalwart - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.15.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.15.3
+1 -1
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
View File
View File
View File
+20
View File
@@ -0,0 +1,20 @@
---
name: stern
github: stern/stern
description: Multi pod and container log tailing for Kubernetes.
arch: amd64
platform: linux
maintainer: stern
homepage: https://github.com/stern/stern
license: Apache-2.0
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.33.1
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.33.1
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/bash
set -e
wget -O /app/stern_${PACKAGE_VERSION}_linux_amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/stern/stern/releases/download/v${PACKAGE_VERSION}/stern_${PACKAGE_VERSION}_linux_amd64.tar.gz
tar xf /app/stern_${PACKAGE_VERSION}_linux_amd64.tar.gz
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
+30
View File
@@ -0,0 +1,30 @@
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- stern
provides:
- stern
contents:
- src: /app/stern
dst: /usr/bin/stern
file_info:
mode: 0755
owner: root
group: root
+20
View File
@@ -0,0 +1,20 @@
---
name: tea
github: unknown/tea
description: The official CLI for Gitea.
arch: amd64
platform: linux
maintainer: Gitea
homepage: https://gitea.com/gitea/tea
license: MIT
builds:
- repository:
- almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.14.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.14.0
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/bash
set -e
curl -L --output /app/tea-linux-amd64 https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/gitea-dl/tea/${PACKAGE_VERSION}/tea-${PACKAGE_VERSION}-linux-amd64
chmod +x /app/tea-linux-amd64
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
+30
View File
@@ -0,0 +1,30 @@
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- tea
provides:
- tea
contents:
- src: /app/tea-linux-amd64
dst: /usr/bin/tea
file_info:
mode: 0755
owner: root
group: root
+19 -15
View File
@@ -1,18 +1,22 @@
--- name: terraform
github: hashicorp/terraform
description: Terraform enables you to safely and predictably create, change, and improve
infrastructure. It is a tool that codifies APIs into declarative configuration files
that can be shared amongst team members, treated as code, edited, reviewed, and
versioned.
arch: amd64 arch: amd64
builds: platform: linux
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest maintainer: HashiCorp
release: '1'
repository: [almalinux/el8]
version: 1.5.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 1.5.0
description: Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
github: unknown/terraform
homepage: https://terraform.io/ homepage: https://terraform.io/
license: BUSL-1.1 license: BUSL-1.1
maintainer: HashiCorp builds:
name: terraform - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 1.14.3
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 1.14.3
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: terragrunt
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.90.0
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.90.0
description: Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.
github: gruntwork-io/terragrunt github: gruntwork-io/terragrunt
description: Terragrunt is a flexible orchestration tool that allows Infrastructure
as Code written in OpenTofu/Terraform to scale.
arch: amd64
platform: linux
maintainer: Gruntwork
homepage: https://github.com/gruntwork-io/terragrunt homepage: https://github.com/gruntwork-io/terragrunt
license: MIT license: MIT
maintainer: Gruntwork builds:
name: terragrunt - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.96.1
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.96.1
+1 -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
+17 -15
View File
@@ -1,18 +1,20 @@
--- name: tflint
arch: amd64
builds:
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: '1'
repository: [almalinux/el8]
version: 0.59.1
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: '1'
repository: [almalinux/el9]
version: 0.59.1
description: A Pluggable Terraform Linter that finds potential errors in Terraform configurations and enforces best practices.
github: terraform-linters/tflint github: terraform-linters/tflint
description: A Pluggable Terraform Linter that finds potential errors in Terraform
configurations and enforces best practices.
arch: amd64
platform: linux
maintainer: Terraform Linters
homepage: https://github.com/terraform-linters/tflint homepage: https://github.com/terraform-linters/tflint
license: MPL-2.0 license: MPL-2.0
maintainer: Terraform Linters builds:
name: tflint - repository:
platform: linux - almalinux/el8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
release: 1
version: 0.60.0
- repository:
- almalinux/el9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
release: 1
version: 0.60.0
+1 -1
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/
@@ -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
+4 -4
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
+2 -2
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.20'
- 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.20'
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/

Some files were not shown because too many files have changed in this diff Show More