Compare commits
39 Commits
66cb37fa32
...
benvin/tea
| Author | SHA1 | Date | |
|---|---|---|---|
| 06b1797537 | |||
| 0fd817b13f | |||
| c7eddffbb3 | |||
| 17e0fadd44 | |||
| cfd1972d54 | |||
| 8cbd495004 | |||
| e04f19ed03 | |||
| ff054f42bb | |||
| 818a48fa78 | |||
| 111ea50d80 | |||
| 1b46845734 | |||
| 497b99c328 | |||
| 6b070d8c14 | |||
| dff743a00b | |||
| f408d3d705 | |||
| c4c018b1ee | |||
| b18e34c905 | |||
| cede57a565 | |||
| 07a75008a1 | |||
| 5e1533289f | |||
| cd1eb1f46c | |||
| b585cca9f0 | |||
| a117caae27 | |||
| a0b8d8b806 | |||
| c8bb19d6d6 | |||
| 4976f0e43b | |||
| 745ce03757 | |||
| 3742eabfde | |||
| 5c9fce3607 | |||
| 76f79a7371 | |||
| 8e8285546b | |||
| b15fc0612f | |||
| 1f1b1cfe32 | |||
| e09d0c4bc6 | |||
| 6d379d99b6 | |||
| 9e02175ead | |||
| a4a28c67d4 | |||
| be4df03f81 | |||
| 5cdbe3a6b5 |
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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:
|
||||||
|
|||||||
@@ -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"
|
||||||
@@ -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"
|
||||||
@@ -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]
|
||||||
@@ -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]
|
||||||
@@ -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
|
||||||
@@ -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):
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Executable
+13
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Executable
+18
@@ -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
|
||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
+8
-8
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Executable
+14
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
Executable
+14
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
+17
-15
@@ -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
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
@@ -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
|
||||||
|
|||||||
Regular → Executable
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
@@ -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,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
@@ -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
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+16
-15
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
@@ -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
|
||||||
Executable
+10
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
Executable
+10
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Regular → Executable
@@ -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
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user