Private
Public Access
1
0
Commit Graph

33 Commits

Author SHA1 Message Date
d6748fa261 refactor: update CI for native per-OS runners
- Replace generic "linux" runner label with dedicated per-OS labels
  (ubuntu-24.04, fedora, alpine, arch)
- Remove all container declarations (native runner execution)
- Add build gate dependencies: build jobs need fmt+clippy+test
- Extract release upload logic into reusable scripts/upload-release.sh
- Fix build-alpine.sh: remove hardcoded container paths, add
  SKIP_CARGO_BUILD support
- Fix build-arch.sh: remove hardcoded container paths, add
  SKIP_CARGO_BUILD support
- Fix build-rpm.sh: remove sudo, native runner compatible
- Remove Dockerfile.rpm and Dockerfile.arch (no longer needed)
- Add sudo to Ubuntu/Fedora/Arch package installs for safety
- Add nodejs to Alpine deps for Gitea Actions compatibility
- Make upload-release.sh POSIX sh compatible (Alpine)
- Fix curl -sf to curl -s in upload-release.sh (404 on new releases)
2026-04-26 19:21:09 +00:00
42b36ad319 fix: Restore execute permission 2026-04-14 12:34:25 +00:00
e351e4e30c fix: Copy APK directly after build instead of using abuild repo (APK built successfully!) 2026-04-14 12:34:01 +00:00
710ee85c3e fix: Restore execute permission on build-alpine.sh 2026-04-14 11:48:49 +00:00
5665be0d6d fix: Create directory structure in APKBUILD package() function 2026-04-14 11:48:39 +00:00
0b38f54a5d fix: Restore execute permission on build-alpine.sh 2026-04-14 04:03:30 +00:00
bb305ba74a fix: Use -d flag for abuild dependency disable instead of -G 2026-04-14 04:03:17 +00:00
8df45476a3 fix: Restore execute permission on build-alpine.sh 2026-04-14 03:53:08 +00:00
0beacdfbd2 fix: Use ABUILD_NODEPENDS=1 to skip makedepends installation 2026-04-14 03:52:55 +00:00
53155eeb2e fix: Restore execute permission on build-alpine.sh 2026-04-14 03:36:25 +00:00
488894357a fix: Add builduser to abuild group (required for apk install permissions) 2026-04-14 03:36:18 +00:00
33a31e349f fix: Restore execute permission on build-alpine.sh 2026-04-14 03:26:23 +00:00
cf6c15b0fc fix: Write PACKAGER_PRIVKEY to builduser's ~/.abuild/abuild.conf (standard abuild behavior) 2026-04-14 03:26:11 +00:00
a53819b996 fix: Restore execute permission on build-alpine.sh 2026-04-14 03:13:44 +00:00
097e44bace fix: ALWAYS generate abuild keys (remove conditional - stale /etc/abuild.conf causes skip) 2026-04-14 03:13:30 +00:00
8f2d1972f7 fix: Restore execute permission on build-alpine.sh 2026-04-14 03:12:50 +00:00
0886ba248a fix: Export PACKAGER_PRIVKEY with proper variable expansion 2026-04-14 03:12:07 +00:00
53ceca729a fix: Restore execute permission on build-alpine.sh 2026-04-14 02:52:06 +00:00
637683e6d0 fix: Move abuild-keygen inside build-alpine.sh for same-shell key persistence 2026-04-14 02:52:00 +00:00
738fee0717 fix: Restore execute permission on build-alpine.sh 2026-04-14 01:30:30 +00:00
e9f47e4ed5 fix: Copy abuild keys to builduser home directory 2026-04-14 01:30:25 +00:00
9835ea2aa0 fix: Restore execute permission on build-alpine.sh (git stripped it again) 2026-04-14 01:15:53 +00:00
45ce4c435f fix: Remove duplicate closing brace in APKBUILD package() 2026-04-14 01:15:47 +00:00
20760b139e fix: Restore execute permission on build-alpine.sh 2026-04-14 00:28:03 +00:00
3799c3c051 fix: Remove apk-package from APKBUILD sources (directory not file) 2026-04-14 00:19:54 +00:00
ef34786c11 Fix: Use non-root builduser for abuild in CI container 2026-04-14 00:05:14 +00:00
ed055b3b44 Fix: Add abuild checksum generation for APKBUILD validation 2026-04-13 23:54:25 +00:00
f8153d0b01 Fix: Source cargo env in build-alpine.sh for rustup toolchain 2026-04-13 22:22:48 +00:00
d92f0f3ffd Fix: Restore execute permission on build-alpine.sh 2026-04-13 21:20:37 +00:00
4037c49712 Fix: Change shebang to #!/bin/sh for Alpine compatibility 2026-04-13 21:20:31 +00:00
ed05364bbf Restore execute permission on build-alpine.sh
- File lost execute bit during patch operation
- Required for CI to run the build script
2026-04-13 21:08:40 +00:00
78f8882663 Add Alpine/OpenRC compatibility for init system support
- Updated SPEC.md: Changed systemd requirements to distribution-dependent init system
- Updated ARCHITECTURE.md: Added OpenRC hardening options and init script locations
- Updated build-alpine.sh: Replaced systemd-dev with openrc, use /etc/init.d
- Created configs/linux-patch-api-openrc: Full OpenRC init script
- Added Dockerfile.rpm for RPM build container

Init system support:
- systemd: Debian, Ubuntu, RHEL, CentOS, Fedora
- OpenRC: Alpine Linux

Binary remains init-system agnostic - no Rust code changes required.
2026-04-13 20:16:10 +00:00
943aafbec2 Add multi-platform build scripts
- build-rpm.sh: Build RPM packages on RHEL/CentOS/Fedora
- build-alpine.sh: Build APK packages on Alpine Linux
- build-arch.sh: Build Arch packages on Arch Linux/Manjaro

Each script can also run in Docker containers for cross-platform builds.
Complements CI/CD pipeline for local package building.
2026-04-10 02:01:46 +00:00