Compare commits
163 Commits
6972ecdb94
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5086091807 | |||
| cf1b3b9a3d | |||
| 8a3a585f8c | |||
| 539a63e0a1 | |||
| aeea587aeb | |||
| 96d0e25e94 | |||
| a61bcb9d60 | |||
| 17ce4eb2cf | |||
| 24bba58dfd | |||
| d860a9d27f | |||
| 9e76b1ad83 | |||
| a5a6c90b8e | |||
| 99c4db7b51 | |||
| 9bc820ceaf | |||
| 743f272793 | |||
| e8f87aa9b5 | |||
| ddf4b72ec5 | |||
| a915b2c9f4 | |||
| fb91ae8240 | |||
| 7b808bce5c | |||
| 5a3cca95e8 | |||
| cdc60c992f | |||
| 189b7aaa8b | |||
| 2f289a8bea | |||
| 124f258009 | |||
| d71b0570ff | |||
| 084d0f7ebb | |||
| 6b7fe0cf50 | |||
| 447df4116b | |||
| a46d30fc95 | |||
| 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 | |||
| 7fd61d945a | |||
| 83d532a538 | |||
| 071de6a716 | |||
| 0f97c20f30 | |||
| 66ba9e7b8d | |||
| 39513219c7 | |||
| 40470f4778 | |||
| 7e834112c4 | |||
| 61513c7647 | |||
| 2d46a58cdb | |||
| 9da177743e | |||
| 6a271b988d | |||
| 17e0568616 | |||
| a5b7591187 | |||
| 4ad40ed620 | |||
| 3a7a016592 | |||
| 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 | |||
| b3ba980f9f |
@@ -1,55 +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
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: |
|
|
||||||
make all
|
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Build Packages
|
|
||||||
run: |
|
|
||||||
make all
|
|
||||||
|
|
||||||
- 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 +1,4 @@
|
|||||||
dist
|
dist
|
||||||
|
env
|
||||||
|
.claude
|
||||||
|
.ruff_cache
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
---
|
||||||
|
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: local
|
||||||
|
hooks:
|
||||||
|
- id: pytest
|
||||||
|
name: Run unit tests
|
||||||
|
entry: make test
|
||||||
|
language: system
|
||||||
|
types: [python]
|
||||||
|
pass_filenames: false
|
||||||
|
|
||||||
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
|
rev: 0.37.2
|
||||||
|
hooks:
|
||||||
|
- id: check-jsonschema
|
||||||
|
name: Validate RPM package metadata
|
||||||
|
files: ^rpms/[^/]+/metadata\.yaml$
|
||||||
|
args: [--schemafile, schema/metadata.json]
|
||||||
|
language_version: python3.11
|
||||||
|
|
||||||
|
- 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,26 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro almalinux/el8 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- 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,26 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro almalinux/el9 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- 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,26 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/42 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show rpms
|
||||||
|
image: git.unkin.net/unkin/fedora42-base:latest
|
||||||
|
commands:
|
||||||
|
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/43 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show rpms
|
||||||
|
image: git.unkin.net/unkin/fedora43-base:latest
|
||||||
|
commands:
|
||||||
|
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/44 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show rpms
|
||||||
|
image: git.unkin.net/unkin/fedora44-base:latest
|
||||||
|
commands:
|
||||||
|
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro almalinux/el8 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- 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
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
depends_on: [build-rpms, show-rpms]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro almalinux/el9 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- 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
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
depends_on: [build-rpms, show-rpms]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/42 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show-rpms
|
||||||
|
image: git.unkin.net/unkin/fedora42-rpmbuilder: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/fedora42-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/fedora/42/upload
|
||||||
|
done
|
||||||
|
environment:
|
||||||
|
DRONECI_PASSWORD:
|
||||||
|
from_secret: DRONECI_PASSWORD
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
depends_on: [build-rpms, show-rpms]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/43 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show-rpms
|
||||||
|
image: git.unkin.net/unkin/fedora43-rpmbuilder: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/fedora43-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/fedora/43/upload
|
||||||
|
done
|
||||||
|
environment:
|
||||||
|
DRONECI_PASSWORD:
|
||||||
|
from_secret: DRONECI_PASSWORD
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
depends_on: [build-rpms, show-rpms]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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
|
||||||
|
- ./tools/build build-all --distro fedora/44 --buildah
|
||||||
|
privileged: true
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 1
|
||||||
|
limits:
|
||||||
|
memory: 2Gi
|
||||||
|
cpu: 2
|
||||||
|
|
||||||
|
- name: show-rpms
|
||||||
|
image: git.unkin.net/unkin/fedora44-rpmbuilder: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/fedora44-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/fedora/44/upload
|
||||||
|
done
|
||||||
|
environment:
|
||||||
|
DRONECI_PASSWORD:
|
||||||
|
from_secret: DRONECI_PASSWORD
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
serviceAccountName: default
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
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
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_IMAGE=git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
|
# Create output directory for RPMs
|
||||||
|
RUN mkdir -p /app/dist
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Accept all package metadata as build arguments and set as environment variables
|
||||||
|
ARG PACKAGE_NAME
|
||||||
|
ENV PACKAGE_NAME=${PACKAGE_NAME}
|
||||||
|
ARG 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 /app/resources
|
||||||
|
|
||||||
|
# Default command to build RPMs
|
||||||
|
CMD /app/resources/build.sh
|
||||||
@@ -1,58 +1,67 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ROOT_DIR := $(PWD)
|
ROOT_DIR := $(PWD)
|
||||||
RPMS_DIR := $(ROOT_DIR)/rpms
|
BUILD_TOOL := $(ROOT_DIR)/tools/build
|
||||||
REPO_OPTIONS := --disablerepo=* --enablerepo=unkin
|
DISTRO ?= almalinux/el9
|
||||||
|
|
||||||
# Automatically find all package/version directories
|
# Authentication variables (optional)
|
||||||
PACKAGES := $(shell find $(RPMS_DIR) -mindepth 2 -maxdepth 2 -type d | sed "s|$(RPMS_DIR)/||" | grep -Ev '(scripts|/resources)')
|
# VAULT_ROLE_ID - Use AppRole authentication if set
|
||||||
|
# VAULT_ROLE - Kubernetes role for service account authentication (default: rpmbuilder)
|
||||||
|
|
||||||
# Default target to build all packages and versions
|
# Automatically find all packages with metadata.yaml
|
||||||
.PHONY: all list cache build clean
|
PACKAGES := $(shell find $(ROOT_DIR)/rpms -mindepth 1 -maxdepth 1 -type d -exec test -f {}/metadata.yaml \; -print | xargs -n1 basename | sort)
|
||||||
all: cache $(PACKAGES)
|
|
||||||
|
|
||||||
|
# Default target to build all packages
|
||||||
|
.PHONY: all list build clean test
|
||||||
|
all: build-all
|
||||||
|
|
||||||
|
# List all available packages
|
||||||
list:
|
list:
|
||||||
@echo "Builds:"
|
@echo "Available packages:"
|
||||||
@for package in $(PACKAGES); do \
|
@for package in $(PACKAGES); do \
|
||||||
echo " '$$package'"; \
|
echo " $$package"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
cache:
|
# Build all packages using Python tool
|
||||||
echo "Refreshing DNF cache..." && \
|
build-all:
|
||||||
dnf clean all && \
|
@echo "Building all packages using Python tooling for distro $(DISTRO)..."
|
||||||
dnf makecache
|
$(BUILD_TOOL) build-all --distro $(DISTRO)
|
||||||
|
|
||||||
# Build specific package/version
|
# 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
|
||||||
.PHONY: $(PACKAGES)
|
.PHONY: $(PACKAGES)
|
||||||
$(PACKAGES):
|
$(PACKAGES):
|
||||||
@PACKAGE_NAME=$(shell echo $(@) | cut -d/ -f1) && \
|
@echo "Building package: $@ for distro $(DISTRO)"
|
||||||
PACKAGE_VERSION=$(shell echo $(@) | cut -d/ -f2) && \
|
$(BUILD_TOOL) build --distro $(DISTRO) $@
|
||||||
echo "Starting build $$PACKAGE_NAME/$$PACKAGE_VERSION" && \
|
|
||||||
$(MAKE) build PACKAGE_NAME=$$PACKAGE_NAME PACKAGE_VERSION=$$PACKAGE_VERSION
|
|
||||||
|
|
||||||
# Build target
|
# Dry run - show what would be built without building
|
||||||
build:
|
dry-run:
|
||||||
@mkdir -p $(ROOT_DIR)/dist/$(PACKAGE_NAME)/
|
@echo "Dry run - showing what would be built for distro $(DISTRO):"
|
||||||
@cd $(RPMS_DIR)/$(PACKAGE_NAME) && \
|
$(BUILD_TOOL) build-all --distro $(DISTRO) --dry-run
|
||||||
export PACKAGE_RELEASE=$$(cat $(PACKAGE_VERSION)/release) && \
|
|
||||||
export PACKAGE_FULL_NAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION)-$$PACKAGE_RELEASE && \
|
# Run unit tests
|
||||||
echo "Checking repos for $$PACKAGE_FULL_NAME" && \
|
test:
|
||||||
if dnf info $$PACKAGE_FULL_NAME $(REPO_OPTIONS) > /dev/null 2>&1; then \
|
@uv run --group dev pytest tests/ -q; rc=$$?; [ $$rc -eq 5 ] && exit 0 || exit $$rc
|
||||||
echo "Skipping build for $(PACKAGE_NAME) version $(PACKAGE_VERSION) (already exists in the repository)"; \
|
|
||||||
else \
|
|
||||||
echo "Building RPM for $(PACKAGE_NAME) version $(PACKAGE_VERSION)"; \
|
|
||||||
docker build \
|
|
||||||
--build-arg PACKAGE_VERSION=$(PACKAGE_VERSION) \
|
|
||||||
--build-arg PACKAGE_RELEASE=$${PACKAGE_RELEASE} \
|
|
||||||
-t $$(echo $(PACKAGE_NAME)-builder \
|
|
||||||
| tr '[:upper:]' '[:lower:]') . && \
|
|
||||||
docker create --name $(PACKAGE_NAME)-$(PACKAGE_VERSION)-builder \
|
|
||||||
$$(echo $(PACKAGE_NAME)-builder | tr '[:upper:]' '[:lower:]') && \
|
|
||||||
docker start -a $(PACKAGE_NAME)-$(PACKAGE_VERSION)-builder && \
|
|
||||||
docker cp $(PACKAGE_NAME)-$(PACKAGE_VERSION)-builder:/app/dist/. $(ROOT_DIR)/dist/$(PACKAGE_NAME)/ && \
|
|
||||||
docker rm $(PACKAGE_NAME)-$(PACKAGE_VERSION)-builder; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Clean target
|
# Clean target
|
||||||
clean:
|
clean:
|
||||||
@echo "Cleaning build artifacts..."
|
@echo "Cleaning build artifacts..."
|
||||||
rm -rf $(ROOT_DIR)/dist
|
rm -rf $(ROOT_DIR)/dist
|
||||||
|
|
||||||
|
# Update packages from GitHub releases
|
||||||
|
update:
|
||||||
|
@echo "Checking for package updates from GitHub releases..."
|
||||||
|
$(ROOT_DIR)/tools/update-gh --all
|
||||||
|
|
||||||
|
# Update specific package from GitHub
|
||||||
|
update-%:
|
||||||
|
@echo "Checking for updates for package: $*"
|
||||||
|
$(ROOT_DIR)/tools/update-gh --package $*
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[project]
|
||||||
|
name = "rpmbuilder"
|
||||||
|
version = "0.1.0"
|
||||||
|
requires-python = ">=3.11"
|
||||||
|
|
||||||
|
[dependency-groups]
|
||||||
|
dev = [
|
||||||
|
"pytest>=8",
|
||||||
|
"jsonschema>=4",
|
||||||
|
"pyyaml>=6",
|
||||||
|
]
|
||||||
@@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy nfpm.yaml from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,20 @@
|
|||||||
name: act_runner
|
name: act_runner
|
||||||
release: 1
|
github: unknown/act_runner
|
||||||
version: 0.2.12
|
description: A runner for Gitea based on act.
|
||||||
build:
|
arch: amd64
|
||||||
- distro: el/8
|
platform: linux
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
maintainer: Gitea
|
||||||
- distro: el/9
|
homepage: https://gitea.com/gitea/act_runner
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
license: MIT
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 0.2.12
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 0.2.12
|
||||||
|
|||||||
@@ -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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,20 @@
|
|||||||
name: bind_exporter
|
name: bind_exporter
|
||||||
release: 1
|
github: prometheus-community/bind_exporter
|
||||||
version: 0.8.0
|
description: Prometheus exporter for BIND
|
||||||
build:
|
arch: amd64
|
||||||
- distro: el/8
|
platform: linux
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
maintainer: Prometheus
|
||||||
- distro: el/9
|
homepage: https://github.com/prometheus-community/bind_exporter
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
license: Apache-2.0 license
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 0.8.0
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 0.8.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/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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,9 +1,21 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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 @@
|
|||||||
|
name: claude-code
|
||||||
|
description: Claude Code - Anthropic's agentic AI coding tool
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: Anthropic
|
||||||
|
homepage: https://claude.ai/code
|
||||||
|
license: Proprietary
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 2.1.156
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 2.1.156
|
||||||
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,9 +1,21 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el8
|
||||||
|
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.9.1
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 1.9.1
|
||||||
|
|||||||
@@ -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
|
||||||
|
dist_tag: true
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,21 @@
|
|||||||
name: consul-cni
|
name: consul-cni
|
||||||
release: 1
|
github: unknown/consul-cni
|
||||||
version: 1.7.1
|
description: Plugin for Consul on Kubernetes to allow configuring traffic redirection
|
||||||
build:
|
rules without escalated container privileges.
|
||||||
- distro: el/8
|
arch: amd64
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
platform: linux
|
||||||
- distro: el/9
|
maintainer: Hashicorp
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
homepage: https://hashicorp.com
|
||||||
|
license: Mozilla Public License, version 2.0
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 1.7.1
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 1.7.1
|
||||||
|
|||||||
@@ -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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,28 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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
|
||||||
|
- repository:
|
||||||
|
- fedora/42
|
||||||
|
- fedora/43
|
||||||
|
- fedora/44
|
||||||
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
2
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
+19
-7
@@ -1,9 +1,21 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,21 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy nfpm.yaml from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,9 +1,20 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
+18
-7
@@ -1,9 +1,20 @@
|
|||||||
name: g10k
|
name: g10k
|
||||||
release: 1
|
|
||||||
version: 0.9.10
|
|
||||||
build:
|
|
||||||
- distro: el/8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
- distro: el/9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
github: xorpaul/g10k
|
github: xorpaul/g10k
|
||||||
|
description: An r10k fork written in Go, designed to work somwhat similar like puppetlabs/r10k.
|
||||||
|
arch: amd64
|
||||||
|
platform: linux
|
||||||
|
maintainer: xorpaul
|
||||||
|
homepage: https://github.com/xorpaul/g10k
|
||||||
|
license: Apache2.0
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el8
|
||||||
|
version: 0.9.10
|
||||||
|
- image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: '1'
|
||||||
|
repository:
|
||||||
|
- almalinux/el9
|
||||||
|
version: 0.9.10
|
||||||
|
|||||||
@@ -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
|
||||||
|
dist_tag: true
|
||||||
|
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,21 @@
|
|||||||
|
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
|
||||||
|
dist_tag: true
|
||||||
|
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,20 @@
|
|||||||
|
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
|
||||||
|
dist_tag: true
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,9 +1,22 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,9 +1,15 @@
|
|||||||
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
|
||||||
|
dist_tag: true
|
||||||
|
builds:
|
||||||
|
- repository:
|
||||||
|
- almalinux/el9
|
||||||
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||||
|
release: 1
|
||||||
|
version: 6.23.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 +0,0 @@
|
|||||||
3
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy resources from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@@ -1,8 +1,20 @@
|
|||||||
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
|
||||||
|
dist_tag: false
|
||||||
|
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 +0,0 @@
|
|||||||
1
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user