Compare commits
137 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f6c04473c4 | |||
| 5a3cca95e8 | |||
| cdc60c992f | |||
| 189b7aaa8b | |||
| 2f289a8bea | |||
| 124f258009 | |||
| d71b0570ff | |||
| 64172e0d83 | |||
| 447df4116b | |||
| 5e0f56b6ef | |||
| 58692a96b1 | |||
| 9e78b93a6a | |||
| 3419072f0c | |||
| afe6673399 | |||
| 89185e07c2 | |||
| 2bcfad04b0 | |||
| b7d5f2d656 | |||
| 4b5419cf20 | |||
| 3785181000 | |||
| 8801731e13 | |||
| 6a764d28d3 | |||
| 03dd516600 | |||
| 9872215bf8 | |||
| 92a9a20445 | |||
| 042029ddc3 | |||
| 3610c20ae6 | |||
| 301f491a7c | |||
| 58c997a971 | |||
| 34516a951d | |||
| cd2cee4b44 | |||
| c5408d231c | |||
| 1ec69da49b | |||
| 62dc3c56d2 | |||
| 0665f3bdb2 | |||
| 4ae1758d81 | |||
| c977bb3f81 | |||
| 13c4a2365d | |||
| 6db63d80ef | |||
| 79fa72fd09 | |||
| 6c2ae01c1f | |||
| b778d77617 | |||
| d4c961c3b0 | |||
| d28087cd7c | |||
| 9903a888dc | |||
| 6fe13f2c06 | |||
| e1c0dc7f85 | |||
| 2de5147e27 | |||
| b2e786f444 | |||
| 0bd0655009 | |||
| af06a66e86 | |||
| 083abf54b0 | |||
| 7a7cc8c3ac | |||
| 955c7d98c8 | |||
| 2b584d74a3 | |||
| e2634dfa4a | |||
| 6f154faaf1 | |||
| 738541fe59 | |||
| 83d532a538 | |||
| 071de6a716 | |||
| 0f97c20f30 | |||
| 66ba9e7b8d | |||
| 39513219c7 | |||
| 40470f4778 | |||
| 7e834112c4 | |||
| 8075bcf3a3 | |||
| 61513c7647 | |||
| 2d46a58cdb | |||
| 9da177743e | |||
| a5b7591187 | |||
| 78bb31b806 | |||
| e4000d4abc | |||
| a8ec31fbde | |||
| 5a0b93c4b7 | |||
| 17fec6b015 | |||
| eafcc7abc4 | |||
| f80fde0524 | |||
| b4b7b39715 | |||
| 3a286fc69c | |||
| 029ca3ab17 | |||
| 11ae33d80a | |||
| dd2c72548f | |||
| 96ca30941a | |||
| f001a9aa4b | |||
| 0fd817b13f | |||
| c7eddffbb3 | |||
| 17e0fadd44 | |||
| cfd1972d54 | |||
| 82ae18e914 | |||
| 169959a3ac | |||
| ee98e4bcd3 | |||
| 2a56be453e | |||
| 1128eb5d0f | |||
| adaa9d8b19 | |||
| 7f7f314121 | |||
| 03e3d6c9ca | |||
| 8a7e991c5f | |||
| 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 | |||
| 1e7b06aa84 | |||
| 6c468c40d1 | |||
| 6d74a9dfab | |||
| 2954835dd0 | |||
| c6d8e33a54 | |||
| 3fa0d39d43 | |||
| 099b90fbc5 | |||
| 182641132a |
@@ -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: |
|
|
||||||
make all DISTRO=el/8
|
|
||||||
|
|
||||||
- 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: |
|
|
||||||
make all DISTRO=el/9
|
|
||||||
|
|
||||||
- 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,3 +1,4 @@
|
|||||||
dist
|
dist
|
||||||
env
|
env
|
||||||
.claude
|
.claude
|
||||||
|
.ruff_cache
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
rev: v1.37.1
|
||||||
|
hooks:
|
||||||
|
- id: yamllint
|
||||||
|
args:
|
||||||
|
[
|
||||||
|
"-d {extends: relaxed, rules: {line-length: disable}}",
|
||||||
|
"-s",
|
||||||
|
]
|
||||||
|
|
||||||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
|
rev: v0.14.7
|
||||||
|
hooks:
|
||||||
|
# Run the linter.
|
||||||
|
- id: ruff-check
|
||||||
|
args: [--fix]
|
||||||
|
# Run the formatter.
|
||||||
|
- id: ruff-format
|
||||||
@@ -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
|
||||||
+17
-2
@@ -7,10 +7,25 @@ RUN mkdir -p /app/dist
|
|||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
# Accept all package metadata as build arguments and set as environment variables
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
ARG PACKAGE_NAME
|
||||||
|
ENV PACKAGE_NAME=${PACKAGE_NAME}
|
||||||
ARG PACKAGE_VERSION
|
ARG PACKAGE_VERSION
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||||
|
ARG PACKAGE_RELEASE
|
||||||
|
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
||||||
|
ARG PACKAGE_DESCRIPTION
|
||||||
|
ENV PACKAGE_DESCRIPTION=${PACKAGE_DESCRIPTION}
|
||||||
|
ARG PACKAGE_MAINTAINER
|
||||||
|
ENV PACKAGE_MAINTAINER=${PACKAGE_MAINTAINER}
|
||||||
|
ARG PACKAGE_HOMEPAGE
|
||||||
|
ENV PACKAGE_HOMEPAGE=${PACKAGE_HOMEPAGE}
|
||||||
|
ARG PACKAGE_LICENSE
|
||||||
|
ENV PACKAGE_LICENSE=${PACKAGE_LICENSE}
|
||||||
|
ARG PACKAGE_ARCH
|
||||||
|
ENV PACKAGE_ARCH=${PACKAGE_ARCH}
|
||||||
|
ARG PACKAGE_PLATFORM
|
||||||
|
ENV PACKAGE_PLATFORM=${PACKAGE_PLATFORM}
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
# Copy resources from the context into the container
|
||||||
COPY resources /app/resources
|
COPY resources /app/resources
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ROOT_DIR := $(PWD)
|
ROOT_DIR := $(PWD)
|
||||||
BUILD_TOOL := $(ROOT_DIR)/tools/build
|
BUILD_TOOL := $(ROOT_DIR)/tools/build
|
||||||
DISTRO ?= el/9 # Default to el/9 if not specified
|
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)
|
||||||
@@ -20,33 +24,28 @@ list:
|
|||||||
# Build all packages using Python tool
|
# Build all packages using Python tool
|
||||||
build-all:
|
build-all:
|
||||||
@echo "Building all packages using Python tooling for distro $(DISTRO)..."
|
@echo "Building all packages using Python tooling for distro $(DISTRO)..."
|
||||||
$(BUILD_TOOL) --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):
|
||||||
@echo "Building package: $@ for distro $(DISTRO)"
|
@echo "Building package: $@ for distro $(DISTRO)"
|
||||||
$(BUILD_TOOL) --package $@ --distro $(DISTRO)
|
$(BUILD_TOOL) build --distro $(DISTRO) $@
|
||||||
|
|
||||||
# Build specific package with version/release override
|
|
||||||
build:
|
|
||||||
@if [ -z "$(PACKAGE_NAME)" ]; then \
|
|
||||||
echo "Error: PACKAGE_NAME not specified"; \
|
|
||||||
echo "Usage: make build PACKAGE_NAME=package [PACKAGE_VERSION=version] [PACKAGE_RELEASE=release]"; \
|
|
||||||
exit 1; \
|
|
||||||
fi
|
|
||||||
@if [ -n "$(PACKAGE_VERSION)" ] && [ -n "$(PACKAGE_RELEASE)" ]; then \
|
|
||||||
echo "Building $(PACKAGE_NAME) with explicit version $(PACKAGE_VERSION)-$(PACKAGE_RELEASE) for distro $(DISTRO)"; \
|
|
||||||
$(BUILD_TOOL) --package $(PACKAGE_NAME) --version $(PACKAGE_VERSION) --release $(PACKAGE_RELEASE) --distro $(DISTRO); \
|
|
||||||
else \
|
|
||||||
echo "Building $(PACKAGE_NAME) using metadata.yaml for distro $(DISTRO)"; \
|
|
||||||
$(BUILD_TOOL) --package $(PACKAGE_NAME) --distro $(DISTRO); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Dry run - show what would be built without building
|
# Dry run - show what would be built without building
|
||||||
dry-run:
|
dry-run:
|
||||||
@echo "Dry run - showing what would be built for distro $(DISTRO):"
|
@echo "Dry run - showing what would be built for distro $(DISTRO):"
|
||||||
$(BUILD_TOOL) --all --distro $(DISTRO) --dry-run
|
$(BUILD_TOOL) build-all --distro $(DISTRO) --dry-run
|
||||||
|
|
||||||
# Clean target
|
# Clean target
|
||||||
clean:
|
clean:
|
||||||
@@ -62,24 +61,3 @@ update:
|
|||||||
update-%:
|
update-%:
|
||||||
@echo "Checking for updates for package: $*"
|
@echo "Checking for updates for package: $*"
|
||||||
$(ROOT_DIR)/tools/update-gh --package $*
|
$(ROOT_DIR)/tools/update-gh --package $*
|
||||||
|
|
||||||
# Help target
|
|
||||||
help:
|
|
||||||
@echo "Available targets:"
|
|
||||||
@echo " all - Build all packages (default)"
|
|
||||||
@echo " list - List all available packages"
|
|
||||||
@echo " build-all - Build all packages using Python tooling"
|
|
||||||
@echo " <package> - Build specific package (e.g., 'make consul')"
|
|
||||||
@echo " build - Build with explicit PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_RELEASE"
|
|
||||||
@echo " dry-run - Show what would be built without building"
|
|
||||||
@echo " clean - Remove build artifacts"
|
|
||||||
@echo " update - Check all packages for GitHub release updates"
|
|
||||||
@echo " update-<pkg> - Check specific package for GitHub release updates"
|
|
||||||
@echo " help - Show this help message"
|
|
||||||
@echo ""
|
|
||||||
@echo "Examples:"
|
|
||||||
@echo " make consul # Build consul using metadata.yaml"
|
|
||||||
@echo " make build PACKAGE_NAME=consul # Build consul using metadata.yaml"
|
|
||||||
@echo " make build PACKAGE_NAME=consul PACKAGE_VERSION=1.21.1 PACKAGE_RELEASE=1"
|
|
||||||
@echo " make update-consul # Check consul for GitHub updates"
|
|
||||||
@echo " make dry-run # Show what would be built"
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
name: act_runner
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 0.2.12
|
version: 0.2.12
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 0.2.12
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: A runner for Gitea based on act.
|
||||||
|
github: unknown/act_runner
|
||||||
|
homepage: https://gitea.com/gitea/act_runner
|
||||||
|
license: MIT
|
||||||
|
maintainer: Gitea
|
||||||
|
name: act_runner
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
curl --output act_runner-linux-amd64 https://dl.gitea.com/act_runner/${PACKAGE_VERSION}/act_runner-${PACKAGE_VERSION}-linux-amd64
|
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
set -e
|
||||||
|
|
||||||
|
curl -L --output act_runner-linux-amd64 https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/gitea-dl/act_runner/${PACKAGE_VERSION}/act_runner-${PACKAGE_VERSION}-linux-amd64
|
||||||
|
|
||||||
|
# Process the nfpm.yaml template with environment variables
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: act_runner
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "A runner for Gitea based on act."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Gitea
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://gitea.com/gitea/act_runner
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: MIT
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,18 @@
|
|||||||
name: bind_exporter
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 0.8.0
|
version: 0.8.0
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 0.8.0
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: Prometheus exporter for BIND
|
||||||
|
github: prometheus-community/bind_exporter
|
||||||
|
homepage: https://github.com/prometheus-community/bind_exporter
|
||||||
|
license: Apache-2.0 license
|
||||||
|
maintainer: Prometheus
|
||||||
|
name: bind_exporter
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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 -
|
||||||
|
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: bind_exporter
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Prometheus exporter for BIND"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Prometheus
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/prometheus-community/bind_exporter
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0 license
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,20 @@
|
|||||||
name: boilerplate
|
name: boilerplate
|
||||||
release: 1
|
|
||||||
version: 0.6.1
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.15.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.15.0
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build the RPM
|
# Build the RPM
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: boilerplate
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Boilerplate is a tool for generating files and folders (boilerplate) from a set of templates."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: Gruntwork
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/gruntwork-io/boilerplate
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: MIT
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 2.1.126
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 2.1.126
|
||||||
|
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,9 +1,20 @@
|
|||||||
name: cni-plugins
|
name: cni-plugins
|
||||||
release: 1
|
|
||||||
version: 1.7.1
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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
|
||||||
|
license: Apache-2.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- 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,8 +1,12 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build the RPM
|
# Build the RPM
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: cni-plugins
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Some reference and example networking plugins, maintained by the CNI team."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: ContainerNetworking
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/containernetworking/plugins
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: code-server
|
||||||
|
github: coder/code-server
|
||||||
|
description: VS Code in the browser.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: Coder
|
||||||
|
homepage: https://github.com/coder/code-server
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 4.117.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 4.117.0
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
curl -L -o /app/dist/code-server-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm \
|
||||||
|
https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/coder/code-server/releases/download/v${PACKAGE_VERSION}/code-server-${PACKAGE_VERSION}-amd64.rpm
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# nfpm.yaml - unused, RPM is downloaded directly in build.sh
|
||||||
|
|
||||||
|
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}
|
||||||
@@ -1,8 +1,18 @@
|
|||||||
name: consul-cni
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 1.7.1
|
version: 1.7.1
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 1.7.1
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: Plugin for Consul on Kubernetes to allow configuring traffic redirection rules without escalated container privileges.
|
||||||
|
github: unknown/consul-cni
|
||||||
|
homepage: https://hashicorp.com
|
||||||
|
license: Mozilla Public License, version 2.0
|
||||||
|
maintainer: Hashicorp
|
||||||
|
name: consul-cni
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
dnf install -y unzip
|
dnf install -y unzip
|
||||||
|
|
||||||
# Download and extract consul-cni
|
# Download and extract consul-cni
|
||||||
curl -o /app/consul-cni.zip https://releases.hashicorp.com/consul-cni/${PACKAGE_VERSION}/consul-cni_${PACKAGE_VERSION}_linux_amd64.zip
|
curl -L -o /app/consul-cni.zip https://releases.hashicorp.com/consul-cni/${PACKAGE_VERSION}/consul-cni_${PACKAGE_VERSION}_linux_amd64.zip
|
||||||
unzip consul-cni.zip
|
unzip consul-cni.zip
|
||||||
|
|
||||||
# Build the RPM
|
# Process the nfpm.yaml template with environment variables
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: consul-cni
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Plugin for Consul on Kubernetes to allow configuring traffic redirection rules without escalated container privileges."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Hashicorp
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://hashicorp.com
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Mozilla Public License, version 2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,20 @@
|
|||||||
name: consul
|
name: consul
|
||||||
release: 1
|
github: hashicorp/consul
|
||||||
version: 1.21.1
|
description: Consul is a distributed, highly available, and data center aware solution
|
||||||
build:
|
to connect and configure applications across dynamic, distributed infrastructure.
|
||||||
- distro: el/8
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: HashiCorp
|
||||||
|
homepage: https://github.com/hashicorp/consul
|
||||||
|
license: BUSL-1.1
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
- distro: el/9
|
release: 1
|
||||||
|
version: 1.22.7
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.22.7
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
dnf install -y unzip
|
dnf install -y unzip
|
||||||
|
|
||||||
# Download and extract consul
|
# Download and extract consul
|
||||||
curl -o /app/consul.zip https://releases.hashicorp.com/consul/${PACKAGE_VERSION}/consul_${PACKAGE_VERSION}_linux_amd64.zip
|
curl -L -o /app/consul.zip https://releases.hashicorp.com/consul/${PACKAGE_VERSION}/consul_${PACKAGE_VERSION}_linux_amd64.zip
|
||||||
unzip consul.zip
|
unzip consul.zip
|
||||||
|
|
||||||
|
# Process the nfpm.yaml template with environment variables
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build the RPM
|
# Build the RPM
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: consul
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: HashiCorp
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/hashicorp/consul
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: BUSL-1.1
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
+18
-7
@@ -1,9 +1,20 @@
|
|||||||
name: etcd
|
name: etcd
|
||||||
release: 2
|
|
||||||
version: 3.5.18
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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/
|
||||||
|
license: Apache-2.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- 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,9 +1,13 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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/
|
||||||
|
|
||||||
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build the RPM
|
# Build the RPM
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: etcd
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "A distributed, reliable key-value store for the most critical data of a distributed system."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: https://etcd.io/
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://etcd.io/
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,20 @@
|
|||||||
name: exportarr
|
name: exportarr
|
||||||
release: 1
|
github: onedr0p/exportarr
|
||||||
version: 2.2.0
|
description: AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr,
|
||||||
build:
|
Radarr, and Sonarr
|
||||||
- distro: el/8
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: onedr0p
|
||||||
|
homepage: https://github.com/onedr0p/exportarr
|
||||||
|
license: MIT license
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
- distro: el/9
|
release: 1
|
||||||
|
version: 2.3.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 2.3.0
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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 -
|
||||||
|
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: exportarr
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: onedr0p
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/onedr0p/exportarr
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: MIT license
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,19 @@
|
|||||||
name: frr_exporter
|
name: frr_exporter
|
||||||
release: 1
|
|
||||||
version: 1.8.0
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.11.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.11.0
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
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 -
|
set -e
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
|
||||||
|
curl --output - -L https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/tynany/frr_exporter/releases/download/v${PACKAGE_VERSION}/frr_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
|
||||||
|
|
||||||
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: frr_exporter
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Prometheus exporter for Free Range Routing"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Prometheus
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/tynany/frr_exporter
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: MIT
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
+16
-7
@@ -1,9 +1,18 @@
|
|||||||
name: g10k
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 0.9.10
|
version: 0.9.10
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 0.9.10
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: An r10k fork written in Go, designed to work somwhat similar like puppetlabs/r10k.
|
||||||
github: xorpaul/g10k
|
github: xorpaul/g10k
|
||||||
|
homepage: https://github.com/xorpaul/g10k
|
||||||
|
license: Apache2.0
|
||||||
|
maintainer: xorpaul
|
||||||
|
name: g10k
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
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
|
||||||
|
|
||||||
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build the RPM
|
# Build the RPM
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: g10k
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "An r10k fork written in Go, designed to work somwhat similar like puppetlabs/r10k."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: xorpaul
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/xorpaul/g10k
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: git-delta
|
||||||
|
github: dandavison/delta
|
||||||
|
description: A syntax-highlighting pager for git, diff, grep, and blame output.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: dandavison
|
||||||
|
homepage: https://github.com/dandavison/delta
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.19.2
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.19.2
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Note: delta releases use plain version tags (no v prefix)
|
||||||
|
wget -O /app/delta-${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/dandavison/delta/releases/download/${PACKAGE_VERSION}/delta-${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz
|
||||||
|
tar xf /app/delta-${PACKAGE_VERSION}-x86_64-unknown-linux-musl.tar.gz
|
||||||
|
mv /app/delta-${PACKAGE_VERSION}-x86_64-unknown-linux-musl/delta /app/delta
|
||||||
|
|
||||||
|
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:
|
||||||
|
- git-delta
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- git-delta
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/delta
|
||||||
|
dst: /usr/bin/delta
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: hadolint
|
||||||
|
github: hadolint/hadolint
|
||||||
|
description: A smarter Dockerfile linter that helps you build best practice Docker images.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: hadolint
|
||||||
|
homepage: https://github.com/hadolint/hadolint
|
||||||
|
license: GPL-3.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 2.14.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 2.14.0
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
wget -O /app/hadolint https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/hadolint/hadolint/releases/download/v${PACKAGE_VERSION}/hadolint-linux-x86_64
|
||||||
|
chmod +x /app/hadolint
|
||||||
|
|
||||||
|
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:
|
||||||
|
- hadolint
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- hadolint
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/hadolint
|
||||||
|
dst: /usr/bin/hadolint
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
@@ -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.1.4
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 4.1.4
|
||||||
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
|
||||||
@@ -1,9 +1,21 @@
|
|||||||
name: helmfile
|
name: helmfile
|
||||||
release: 1
|
|
||||||
version: 1.1.7
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.4.4
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.4.4
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
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
|
||||||
@@ -10,5 +12,7 @@ tar -xzf helmfile.tar.gz
|
|||||||
# Make the binary executable
|
# Make the binary executable
|
||||||
chmod +x /app/helmfile
|
chmod +x /app/helmfile
|
||||||
|
|
||||||
# Build the RPM
|
# Process the nfpm.yaml template with environment variables
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
|
---
|
||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: helmfile
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
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."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: Helmfile Contributors
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/helmfile/helmfile
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: MIT
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
name: incus
|
name: incus
|
||||||
release: 1
|
|
||||||
version: 6.10.1
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
github: lxc/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
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
dnf install -y \
|
dnf makecache && dnf install -y \
|
||||||
unzip \
|
unzip \
|
||||||
libtool \
|
libtool \
|
||||||
autoconf \
|
autoconf \
|
||||||
@@ -24,14 +26,14 @@ dnf install -y \
|
|||||||
bash-completion \
|
bash-completion \
|
||||||
gettext \
|
gettext \
|
||||||
help2man \
|
help2man \
|
||||||
curl
|
curl-minimal
|
||||||
|
|
||||||
# Download and extract incus source
|
# Download and extract incus source
|
||||||
curl -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
|
||||||
curl -O https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
|
curl -L -O https://go.dev/dl/go1.24.1.linux-amd64.tar.gz
|
||||||
rm -rf /usr/local/go
|
rm -rf /usr/local/go
|
||||||
tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz
|
tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ contents:
|
|||||||
|
|
||||||
# Scripts to run during installation/removal (optional)
|
# Scripts to run during installation/removal (optional)
|
||||||
scripts:
|
scripts:
|
||||||
postinstall: ./scripts/postinstall.sh
|
postinstall: ./resources/scripts/postinstall.sh
|
||||||
preremove: ./scripts/preremove.sh
|
preremove: ./resources/scripts/preremove.sh
|
||||||
postremove: ./scripts/postremove.sh
|
postremove: ./resources/scripts/postremove.sh
|
||||||
preinstall: ./scripts/preinstall.sh
|
preinstall: ./resources/scripts/preinstall.sh
|
||||||
|
|||||||
Regular → Executable
@@ -1,8 +1,19 @@
|
|||||||
name: jellyfin-ffmpeg-bin
|
name: jellyfin-ffmpeg-bin
|
||||||
release: 3
|
github: jellyfin/jellyfin-ffmpeg
|
||||||
version: 7.1.1
|
description: FFmpeg binary package optimized for Jellyfin media server
|
||||||
build:
|
arch: amd64
|
||||||
- distro: el/8
|
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
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
- distro: el/9
|
release: 1.1
|
||||||
|
version: 7.1.3
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
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
|
||||||
@@ -1,8 +1,13 @@
|
|||||||
name: jellyfin-server
|
---
|
||||||
release: 1
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 10.10.7
|
version: 10.10.7
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 10.10.7
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: jellyfin-server package
|
||||||
|
github: unknown/jellyfin-server
|
||||||
|
name: jellyfin-server
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
name: jellyfin-web
|
---
|
||||||
release: 1
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 10.10.7
|
version: 10.10.7
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 10.10.7
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: jellyfin-web package
|
||||||
|
github: unknown/jellyfin-web
|
||||||
|
name: jellyfin-web
|
||||||
|
|||||||
@@ -1,9 +1,20 @@
|
|||||||
name: jsonnet-language-server
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
release: 1
|
release: 1
|
||||||
version: 0.16.0
|
repository:
|
||||||
build:
|
- almalinux/el8
|
||||||
- distro: el/8
|
version: 0.17.0
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/9
|
release: 1
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 0.17.0
|
||||||
|
description: Jsonnet Language Server Protocol implementation for the Jsonnet templating
|
||||||
|
language.
|
||||||
github: grafana/jsonnet-language-server
|
github: grafana/jsonnet-language-server
|
||||||
|
homepage: https://github.com/grafana/jsonnet-language-server
|
||||||
|
license: Apache-2.0
|
||||||
|
maintainer: Grafana Labs
|
||||||
|
name: jsonnet-language-server
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
# Build the RPM
|
# Process the nfpm.yaml template with environment variables
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
|
---
|
||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: jsonnet-language-server
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Jsonnet Language Server Protocol implementation for the Jsonnet templating language."
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: Grafana Labs
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/grafana/jsonnet-language-server
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,19 @@
|
|||||||
name: jsonnet-lint
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
release: 1
|
release: 1
|
||||||
version: 0.21.0
|
repository:
|
||||||
build:
|
- almalinux/el8
|
||||||
- distro: el/8
|
version: 0.22.0
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/9
|
release: 1
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 0.22.0
|
||||||
|
description: Linter for Jsonnet
|
||||||
github: google/go-jsonnet
|
github: google/go-jsonnet
|
||||||
|
homepage: https://github.com/google/go-jsonnet
|
||||||
|
license: Apache-2.0
|
||||||
|
maintainer: Google
|
||||||
|
name: jsonnet-lint
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install dependencies and Go 1.24
|
# Install dependencies and Go 1.24
|
||||||
dnf install -y wget git make
|
dnf install -y wget git make
|
||||||
@@ -15,5 +16,8 @@ go version
|
|||||||
# Build jsonnet-lint binary
|
# Build jsonnet-lint binary
|
||||||
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnet-lint@v${PACKAGE_VERSION}
|
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnet-lint@v${PACKAGE_VERSION}
|
||||||
|
|
||||||
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build RPM package
|
# Build RPM package
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
|
---
|
||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: jsonnet-lint
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "Linter for Jsonnet"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Google
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/google/go-jsonnet
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,18 @@
|
|||||||
name: jsonnet
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 0.21.0
|
version: 0.21.0
|
||||||
build:
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
- distro: el/8
|
release: '1'
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
repository: [almalinux/el9]
|
||||||
- distro: el/9
|
version: 0.21.0
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
description: A data templating language
|
||||||
github: google/go-jsonnet
|
github: google/go-jsonnet
|
||||||
|
homepage: https://github.com/google/go-jsonnet
|
||||||
|
license: Apache-2.0
|
||||||
|
maintainer: Google
|
||||||
|
name: jsonnet
|
||||||
|
platform: linux
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install dependencies and Go 1.24
|
# Install dependencies and Go 1.24
|
||||||
dnf install -y wget git make
|
dnf install -y wget git make
|
||||||
@@ -16,5 +17,8 @@ go version
|
|||||||
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnet@v${PACKAGE_VERSION}
|
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnet@v${PACKAGE_VERSION}
|
||||||
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v${PACKAGE_VERSION}
|
GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v${PACKAGE_VERSION}
|
||||||
|
|
||||||
|
# Process nfpm.yaml with envsubst
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
# Build RPM package
|
# Build RPM package
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
|
---
|
||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: jsonnet
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "A data templating language"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
maintainer: Google
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/google/go-jsonnet
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
@@ -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,20 @@
|
|||||||
|
---
|
||||||
|
name: kubectx
|
||||||
|
github: ahmetb/kubectx
|
||||||
|
description: Faster way to switch between clusters and namespaces in kubectl.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: ahmetb
|
||||||
|
homepage: https://github.com/ahmetb/kubectx
|
||||||
|
license: Apache-2.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.11.0
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.11.0
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
wget -O /app/kubectx_v${PACKAGE_VERSION}_linux_x86_64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/ahmetb/kubectx/releases/download/v${PACKAGE_VERSION}/kubectx_v${PACKAGE_VERSION}_linux_x86_64.tar.gz
|
||||||
|
wget -O /app/kubens_v${PACKAGE_VERSION}_linux_x86_64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/ahmetb/kubectx/releases/download/v${PACKAGE_VERSION}/kubens_v${PACKAGE_VERSION}_linux_x86_64.tar.gz
|
||||||
|
|
||||||
|
tar xf /app/kubectx_v${PACKAGE_VERSION}_linux_x86_64.tar.gz -C /app/ kubectx
|
||||||
|
tar xf /app/kubens_v${PACKAGE_VERSION}_linux_x86_64.tar.gz -C /app/ kubens
|
||||||
|
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
# 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:
|
||||||
|
- kubectx
|
||||||
|
- kubens
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- kubectx
|
||||||
|
- kubens
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/kubectx
|
||||||
|
dst: /usr/bin/kubectx
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
- src: /app/kubens
|
||||||
|
dst: /usr/bin/kubens
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
@@ -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
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: lazydocker
|
||||||
|
github: jesseduffield/lazydocker
|
||||||
|
description: The lazier way to manage everything docker.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: jesseduffield
|
||||||
|
homepage: https://github.com/jesseduffield/lazydocker
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.25.2
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.25.2
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
wget -O /app/lazydocker_${PACKAGE_VERSION}_Linux_x86_64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/jesseduffield/lazydocker/releases/download/v${PACKAGE_VERSION}/lazydocker_${PACKAGE_VERSION}_Linux_x86_64.tar.gz
|
||||||
|
tar xf /app/lazydocker_${PACKAGE_VERSION}_Linux_x86_64.tar.gz -C /app/ lazydocker
|
||||||
|
|
||||||
|
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:
|
||||||
|
- lazydocker
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- lazydocker
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/lazydocker
|
||||||
|
dst: /usr/bin/lazydocker
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
@@ -1,9 +1,18 @@
|
|||||||
name: libfoundationdb
|
---
|
||||||
release: 1
|
arch: amd64
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el8]
|
||||||
version: 7.3.71
|
version: 7.3.71
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository: [almalinux/el9]
|
||||||
|
version: 7.3.71
|
||||||
|
description: FoundationDB client library - Shared library for FoundationDB applications
|
||||||
github: apple/foundationdb
|
github: apple/foundationdb
|
||||||
build:
|
homepage: https://github.com/apple/foundationdb
|
||||||
- distro: el/8
|
license: Apache-2.0
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
maintainer: FoundationDB Community
|
||||||
- distro: el/9
|
name: libfoundationdb
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
platform: linux
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
# Build the RPM
|
# Process the nfpm.yaml template with environment variables
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
|
---
|
||||||
# nfpm.yaml
|
# nfpm.yaml
|
||||||
|
|
||||||
name: libfoundationdb
|
name: ${PACKAGE_NAME}
|
||||||
version: ${PACKAGE_VERSION}
|
version: ${PACKAGE_VERSION}
|
||||||
release: ${PACKAGE_RELEASE}
|
release: ${PACKAGE_RELEASE}
|
||||||
arch: amd64
|
arch: ${PACKAGE_ARCH}
|
||||||
platform: linux
|
platform: ${PACKAGE_PLATFORM}
|
||||||
section: default
|
section: default
|
||||||
priority: extra
|
priority: extra
|
||||||
description: "FoundationDB client library - Shared library for FoundationDB applications"
|
description: "${PACKAGE_DESCRIPTION}"
|
||||||
|
|
||||||
maintainer: FoundationDB Community
|
maintainer: ${PACKAGE_MAINTAINER}
|
||||||
homepage: https://github.com/apple/foundationdb
|
homepage: ${PACKAGE_HOMEPAGE}
|
||||||
license: Apache-2.0
|
license: ${PACKAGE_LICENSE}
|
||||||
|
|
||||||
disable_globbing: false
|
disable_globbing: false
|
||||||
|
|
||||||
|
|||||||
Regular → Executable
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: neovim-glibc-2.17
|
||||||
|
github: neovim/neovim-releases
|
||||||
|
description: Vim-fork focused on extensibility and usability (glibc 2.17 compatible build).
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: neovim
|
||||||
|
homepage: https://neovim.io
|
||||||
|
license: Apache-2.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.12.2
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.12.2
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
wget -O /app/nvim-linux-x86_64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/neovim/neovim-releases/releases/download/v${PACKAGE_VERSION}/nvim-linux-x86_64.tar.gz
|
||||||
|
tar xf /app/nvim-linux-x86_64.tar.gz
|
||||||
|
mv /app/nvim-linux-x86_64/bin/nvim /app/nvim
|
||||||
|
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
# 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:
|
||||||
|
- neovim-glibc-2.17
|
||||||
|
- neovim
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- neovim-glibc-2.17
|
||||||
|
- nvim
|
||||||
|
|
||||||
|
conflicts:
|
||||||
|
- neovim
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/nvim
|
||||||
|
dst: /usr/bin/nvim
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: neovim
|
||||||
|
github: neovim/neovim
|
||||||
|
description: Vim-fork focused on extensibility and usability.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: neovim
|
||||||
|
homepage: https://neovim.io
|
||||||
|
license: Apache-2.0
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.12.2
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 0.12.2
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
wget -O /app/nvim-linux-x86_64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/neovim/neovim/releases/download/v${PACKAGE_VERSION}/nvim-linux-x86_64.tar.gz
|
||||||
|
tar xf /app/nvim-linux-x86_64.tar.gz
|
||||||
|
mv /app/nvim-linux-x86_64/bin/nvim /app/nvim
|
||||||
|
|
||||||
|
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
||||||
|
|
||||||
|
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
# 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:
|
||||||
|
- neovim
|
||||||
|
- neovim-glibc-2.17
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- neovim
|
||||||
|
- nvim
|
||||||
|
|
||||||
|
conflicts:
|
||||||
|
- neovim-glibc-2.17
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- src: /app/nvim
|
||||||
|
dst: /usr/bin/nvim
|
||||||
|
file_info:
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
+18
-7
@@ -1,9 +1,20 @@
|
|||||||
name: nfpm
|
name: nfpm
|
||||||
release: 1
|
|
||||||
version: 2.41.1
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
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/
|
||||||
|
license: MIT
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 2.46.3
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 2.46.3
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user