Compare commits

..

1 Commits

Author SHA1 Message Date
bb39f2085b refactor: modernise RPM builder with Python tooling
Some checks failed
Build / build-9 (pull_request) Failing after 4s
Build / build-8 (pull_request) Failing after 5s
- 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
2025-11-30 02:17:55 +11:00
2 changed files with 2 additions and 16 deletions

View File

@ -16,10 +16,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Prerequisites
run: |
dnf install -y uv
- name: Build Packages
run: |
make all DISTRO=el/8
@ -44,10 +40,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Prerequisites
run: |
dnf install -y uv
- name: Build Packages
run: |
make all DISTRO=el/9

View File

@ -7,13 +7,8 @@ DISTRO ?= el/9 # Default to el/9 if not specified
PACKAGES := $(shell find $(ROOT_DIR)/rpms -mindepth 1 -maxdepth 1 -type d -exec test -f {}/metadata.yaml \; -print | xargs -n1 basename | sort)
# Default target to build all packages
.PHONY: all list build clean install-deps
all: install-deps build-all
# Install Python dependencies for build tools
install-deps:
@echo "Installing Python dependencies..."
@which uv > /dev/null 2>&1 || (echo "Error: uv not found. Please install uv first." && exit 1)
.PHONY: all list build clean
all: build-all
# List all available packages
list:
@ -80,7 +75,6 @@ help:
@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 " install-deps - Install required Python dependencies"
@echo " help - Show this help message"
@echo ""
@echo "Examples:"