Commit Graph
18 Commits
Author SHA1 Message Date
alvinlollo ac59de33c8 fix(ci): move releases clone out of /tmp and free disk after LFS push
Tests / tests (push) Successful in 2m18s
2026-09-19 21:34:21 +10:00
alvinlollo da0855d341 Add --rm to remove source ISO
Tests / tests (push) Successful in 2m32s
2026-09-18 12:49:33 +10:00
alvinlollo 1090e3c75b fix(ci): ensure /dev/stdin exists for mkinitcpio and remove stock linux kernel
Tests / tests (push) Successful in 2m18s
- Add CI step to create /dev/stdin symlinks before ISO build
  (Docker/container environments may lack these, causing mkinitcpio to fail)
- Remove stock linux kernel from packages.x86_64 (linux-cachyos is the
  intended kernel; dual-kernel causes boot confusion and doubles build time)

Closes #X
2026-09-17 09:42:29 +10:00
alvinlollo 48b760d54e Update cleanup step name to match always() behavior
Tests / tests (push) Successful in 2m15s
2026-09-17 07:30:20 +10:00
alvinlollo 7f91c189db Mirror releases and seed README in AlvinArch-releases for discovery
Tests / tests (push) Successful in 2m22s
Create a matching git tag + release in alvinlollo/AlvinArch-releases next to
the main repo release, seed a short README there pointing back to
AlvinArch (workflow status badges on top), and extend release pruning to
the releases repo so both stay capped at 3.
2026-09-16 22:44:05 +10:00
alvinlollo 3816877b12 Fix ISO release uploads >3GB: zstd-compress and store via Git LFS in AlvinArch-releases
Release assets can no longer be attached directly (Gitea 500 on multi-GB
uploads). Compress each ISO with zstd, push the .zst into
alvinlollo/AlvinArch-releases (releases/<tag>/ on main) via Git LFS, verify
the LFS object server-side by OID, and create the release with a download
link plus SHA-256 checksums instead of a binary attachment.
2026-09-16 22:41:35 +10:00
alvinlollo 01c7c4e1fa Harden ISO build workflow: verifiable upload, cleanup on cancel/exit
Tests / tests (push) Successful in 2m21s
2026-09-16 16:37:25 +10:00
alvinlollo 75bc4b3f4c Fix ISO upload: use internal Gitea URL to bypass traefik timeout, add curl retries and 30min timeout
Tests / tests (push) Successful in 2m26s
2026-09-15 22:53:24 +10:00
alvinlollo 56c02781c2 Fix CI: drop incorrect -c flag, fix word splitting in tests
Tests / tests (push) Successful in 2m15s
build-iso:
- Remove -c flag (it takes a pacman.conf path, not a clean flag)
- Use absolute paths for mkarchiso with -- separator
- Copy local-aur.files* alongside local-aur.db*

tests:
- Fix word splitting: use 'while IFS= read -r' instead of
  'for f in ' for shell and YAML file loops
- Fix YAML find filter to use -not -path like shell find
2026-09-15 18:36:45 +10:00
alvinlollo 8e6e06155c Fix mkarchiso argument parsing in CI
Tests / tests (push) Successful in 2m15s
Use -- to separate flags from profile path, preventing mkarchiso
from misinterpreting the -w argument as the profile directory.
Also make rm -rf fail-safe with || true.
2026-09-15 18:23:24 +10:00
alvinlollo 22bae5f19b Use absolute paths for mkarchiso in CI
Tests / tests (push) Successful in 2m16s
mkarchiso requires absolute paths. Clean work dir explicitly and
pass PWD-based paths to -w, -o, and the profile directory.
2026-09-15 18:17:53 +10:00
alvinlollo 2dbbb3321d Use mkarchiso -c flag to clean work directory before build
Tests / tests (push) Successful in 2m32s
Replaces the separate rm step with the built-in -c flag which
forces mkarchiso to clean previous working directories first.
2026-09-15 18:11:35 +10:00
alvinlollo c4ce0b3534 Fix conflicting yq packages, add conflict check, rename workflow
Tests / tests (push) Successful in 2m22s
- Remove yq from packages.x86_64 (conflicts with go-yq)
- Add conflicting packages check step to tests workflow
- Rename 'Scheduled ArchISO Build' to 'Automated Arch ISO Build'
- Add --needed to all pacman install commands to suppress reinstalls
2026-09-15 17:49:28 +10:00
alvinlollo 3c592d1e84 Fix build-iso: copy localrepo to /tmp and patch pacman.conf for CI
Tests / tests (push) Successful in 2m23s
The local-aur repo in pacman.conf points to /home/alvin/alvinarch/localrepo
which only exists on the dev machine. In CI, copy the tracked .pkg.tar.zst
files to /tmp/localrepo and sed the path before building.
2026-09-15 17:43:05 +10:00
alvinlollo aad0ea2e03 Fix build-iso: use repo root as profile, not releng/
Tests / tests (push) Successful in 2m18s
The AlvinArch profile lives at the repo root, not in a releng/
subdirectory. The old path caused mkarchiso to fail with:
  ERROR: Profile '.../releng' does not exist!
2026-09-15 17:21:57 +10:00
alvinlollo df679c4377 Fix gitea workflows 2026-09-15 15:37:35 +10:00
alvinlollo 589da72194 Change Runner os to archlinux 2026-09-15 15:37:33 +10:00
alvinlollo 7d53298b9d Add monthly iso build workflow that can be triggered manually 2026-09-15 15:37:32 +10:00