Commit Graph

13 Commits

Author SHA1 Message Date
5cdbe3a6b5 feat: enhance GitHub release tracking with pattern support and version extraction
All checks were successful
Build / build-8 (pull_request) Successful in 5m45s
Build / build-9 (pull_request) Successful in 8m54s
- Add github_release_pattern field to support multi-product repositories
- Implement get_github_releases_by_pattern() for filtered release matching
- Add parse_github_version_release() to extract version-release components
- Update openbao plugin packages with release patterns and correct versions
- Configure openbao-plugins meta package for manual versioning
- Fix HashiCorp package GitHub repository references
- Support complex tag formats like "secrets-consul-v0.1.0" and "v7.1.3-1"

This enables automatic updates for packages sharing GitHub repos while
maintaining proper RPM version/release semantics and backward compatibility.
2025-12-30 22:38:23 +11:00
182641132a refactor: modernise RPM builder with Python tooling v2
All checks were successful
Build / build-8 (pull_request) Successful in 8s
Build / build-9 (pull_request) Successful in 9s
- Migrate from legacy shell-based build system to modern Python tooling
- Update all metadata.yaml files to new schema with per-distro builds
- Standardise build scripts with curl -L, envsubst, and error handling
- Convert nfpm.yaml templates to use environment variable substitution
- Update Dockerfile to accept all package metadata as build arguments
- Modernise Makefile to use new Python build tool commands
- Update CI workflow to use tools/build instead of make
2025-11-30 20:27:05 +11:00
b3ba980f9f refactor: modernise RPM builder with Python tooling
Some checks failed
Build / build-8 (pull_request) Failing after 7s
Build / build-9 (pull_request) Failing after 8s
- 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 03:39:58 +11:00
989c8e9ea8 feat: add metadata.yaml files for all packages
All checks were successful
Build / build-9 (pull_request) Successful in 42s
Build / build-8 (pull_request) Successful in 1m43s
Add simplified metadata structure for all 41 packages containing:
- Package name, version, and release number
- GitHub repository for packages with GitHub releases
- Build configuration for el/8 and el/9 distributions

This metadata enables future automation for version checking and package building across different distributions.
2025-09-29 22:11:03 +10:00
325b830952 refactor: standardize Dockerfile and build script structure
Standardize all RPM packages to use a consistent build pattern:
- Simple Dockerfiles that copy resources/ and call build.sh
- Move all build logic to resources/build.sh scripts
- Consolidate nfpm.yaml and scripts into resources/ directory
- Update base image to almalinux9-rpmbuilder for consistency

Changes:
- Refactored 37 packages total (simple + complex)
- HashiCorp tools: consul, vault, terraform, terragrunt, packer, nomad, nomad-autoscaler
- Development tools: g10k, etcd, nfpm, ruff, uv, unrar, nzbget, boilerplate
- VictoriaMetrics: vlutils, vmutils, victoria-logs
- Network tools: cni-plugins, consul-cni, unkin-ca-certificates
- Jellyfin suite: jellyfin-web, jellyfin-server, jellyfin-ffmpeg-bin
- System packages: puppet-initial, incus

This standardization improves maintainability and consistency across
the entire RPM build system while preserving all existing functionality.
2025-09-28 22:17:46 +10:00
91154d46ad feat: update urls
All checks were successful
Build / build-8 (pull_request) Successful in 31s
Build / build-9 (pull_request) Successful in 1m59s
- update docker images to use git.unkin.net
- update path to save rpms to git.unkin.net
2025-07-06 17:20:48 +10:00
80d648ee95 feat: update docker containers
- change to rpmbuilder and actionsdind managed by packer
- update makefile to ignore `resources` folder
2025-01-26 14:49:48 +11:00
9000eaa947 feat: custom download artifacts
All checks were successful
Build / build (pull_request) Successful in 33s
- download the previous runs artifacts, unzip and deploy
2024-12-01 22:19:18 +11:00
7fc26c9ea0 feat: test 5
All checks were successful
Build / build (pull_request) Successful in 34s
2024-12-01 21:48:32 +11:00
0e4504cb85 feat: change artifact download method
All checks were successful
Build / build (pull_request) Successful in 35s
2024-12-01 21:41:30 +11:00
0b8940f62e feat: update build name
All checks were successful
Build / build (pull_request) Successful in 34s
2024-12-01 21:30:42 +11:00
75a9fea331 feat: artifact changes
All checks were successful
Build / build (pull_request) Successful in 35s
- update build/deploy workflow
2024-12-01 21:17:05 +11:00
9931216934 feat: add artifact management
All checks were successful
Build / build (pull_request) Successful in 48s
- upload/download artifacts instead of building build and deploy jobs
- updated uv package with version in url
- add ruff/0.8.1 package
2024-12-01 16:43:39 +11:00