refactor: modernise RPM builder with Python tooling
Build / build-8 (pull_request) Failing after 1m12s
Build / build-9 (pull_request) Failing after 1m11s

- Replace Makefile version/release file system with metadata.yaml only
- Add Python build automation (./tools/build) with Gitea API integration
- Add GitHub release updater (./tools/update-gh) for version management
- Centralize Dockerfiles into single parameterized Dockerfile
- Remove 54+ individual package Dockerfiles and version directories
- Update Makefile to use new Python tooling
- Add GITEA_API_TOKEN validation to prevent duplicate builds
- Support both explicit version/release args and metadata.yaml reading
This commit is contained in:
2025-11-29 17:48:32 +11:00
parent 8d1aa34f0f
commit 6972ecdb94
119 changed files with 1445 additions and 1065 deletions
-1
View File
@@ -1 +0,0 @@
1
-1
View File
@@ -1 +0,0 @@
2
-1
View File
@@ -1 +0,0 @@
1
-18
View File
@@ -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