32803ff27c
fix: switch to build-package.sh for .deb builds
...
CI/CD Pipeline / Code Format (push) Successful in 2s
CI/CD Pipeline / Clippy Lints (push) Successful in 46s
CI/CD Pipeline / All Unit Tests (push) Successful in 1m11s
CI/CD Pipeline / Security Audit (push) Successful in 5s
CI/CD Pipeline / Enrollment Tests (push) Successful in 1m27s
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Failing after 5s
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Successful in 1m5s
CI/CD Pipeline / Build Debian Package (push) Failing after 4s
CI/CD Pipeline / Build Arch Package (push) Successful in 2m22s
CI/CD Pipeline / Build RPM Package (push) Successful in 2m17s
CI/CD Pipeline / Build Alpine Package (push) Successful in 3m7s
* fix: switch to build-package.sh for .deb builds
Replace dpkg-buildpackage with scripts/build-package.sh using
dpkg-deb --build approach. This bypasses the dpkg-buildpackage
subprocess chain (dh → make → debian/rules → cargo) which
does not inherit the rustup environment (RUSTUP_HOME, CARGO_HOME,
default toolchain) from GitHub Actions.
Same approach as Linux-Patch-Manager which passes CI.
- Add scripts/build-package.sh (modeled after Manager)
- Add Version and Installed-Size to debian/control
- Update CI workflow to use build-package.sh
- Fix release files path (project root, not ../)
* fix: extract only binary package paragraph from debian/control
dpkg-deb --build expects a single control paragraph starting
with Package: field. The debian/control file has two paragraphs
(source + binary). The awk command extracts only the binary
package paragraph to avoid dpkg-deb parse errors.
* fix: generate DEBIAN/control from scratch in build-package.sh
dpkg-deb --build is fundamentally incompatible with debian/control
which uses dpkg-buildpackage substitution variables like
${shlibs:Depends} and ${misc:Depends}. Generate a clean control
file from scratch in the script to eliminate all incompatibilities.
- No substitution variables
- No source paragraph
- No Build-Depends
- Homepage points to GitHub
- Installed-Size calculated before control file generation
---------
Co-authored-by: git-echo <git-echo@moon-dragon.us >
2026-05-31 11:19:47 -05:00
2ac40076f5
ci: add debhelper dependency and contents:write permission
...
CI/CD Pipeline / Code Format (push) Successful in 1s
CI/CD Pipeline / Clippy Lints (push) Successful in 46s
CI/CD Pipeline / All Unit Tests (push) Successful in 1m18s
CI/CD Pipeline / Security Audit (push) Successful in 4s
CI/CD Pipeline / Enrollment Tests (push) Successful in 1m38s
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Successful in 1m11s
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Successful in 2m28s
CI/CD Pipeline / Build RPM Package (push) Successful in 2m35s
CI/CD Pipeline / Build Arch Package (push) Successful in 2m37s
CI/CD Pipeline / Build Alpine Package (push) Successful in 3m32s
CI/CD Pipeline / Build Debian Package (push) Successful in 2m2s
- Add debhelper to system dependencies for dpkg-buildpackage
- Add permissions: contents: write for GitHub Release creation
- Fixes Build & Release job failures on tag push
Co-authored-by: git-echo <git-echo@moon-dragon.us >
2026-05-31 02:08:36 -05:00
0cc752ff3e
ci: fix dpkg-buildpackage PATH for cargo
CI/CD Pipeline / Code Format (push) Successful in 5s
CI/CD Pipeline / Clippy Lints (push) Successful in 42s
CI/CD Pipeline / All Unit Tests (push) Successful in 1m9s
CI/CD Pipeline / Security Audit (push) Successful in 6s
CI/CD Pipeline / Enrollment Tests (push) Successful in 1m21s
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Successful in 59s
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Successful in 2m28s
CI/CD Pipeline / Build RPM Package (push) Successful in 2m23s
CI/CD Pipeline / Build Debian Package (push) Successful in 2m5s
CI/CD Pipeline / Build Arch Package (push) Successful in 2m20s
CI/CD Pipeline / Build Alpine Package (push) Successful in 3m7s
2026-05-31 01:08:50 -05:00
e80437ad06
ci: add GitHub Actions CI/CD and Apache-2.0 license
CI/CD Pipeline / Code Format (push) Successful in 3s
CI/CD Pipeline / Clippy Lints (push) Successful in 44s
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Enrollment Tests (push) Has been cancelled
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Has been cancelled
CI/CD Pipeline / Build RPM Package (push) Has been cancelled
CI/CD Pipeline / Build Alpine Package (push) Has been cancelled
CI/CD Pipeline / Build Arch Package (push) Has been cancelled
CI/CD Pipeline / All Unit Tests (push) Has been cancelled
2026-05-31 00:10:01 -05:00
999335d231
fix: Remove duplicate workflows from .github/workflows (using .gitea/workflows only)
2026-04-14 19:50:00 +00:00
2a2ddb329e
feat: Split CI and release workflows to eliminate duplicate runs
2026-04-14 19:40:07 +00:00
df504e1c0a
fix: Add proper HTTP code checking and debug output for Gitea uploads
2026-04-14 19:11:47 +00:00
cf259403ad
fix: Use 'attachment' form field for Gitea API upload (not 'name')
2026-04-14 18:39:48 +00:00
eb8f2dc150
fix: Use giteatoken secret name (Gitea requires lowercase no underscores)
2026-04-14 18:04:47 +00:00
185b3901a6
fix: Use direct Gitea API uploads instead of unsupported artifact actions
2026-04-14 16:45:40 +00:00
c78e2b1df9
fix: Use Gitea-native API for release uploads instead of GitHub action
2026-04-14 16:06:20 +00:00
ae5f998cf5
chore: Prepare for v1.0.0 release
2026-04-14 13:34:19 +00:00
c5fb03c1c4
fix: Remove ci.yml abuild-keygen (step isolation breaks key persistence)
2026-04-14 03:12:43 +00:00
8da407f9f2
fix: Write PACKAGER_PRIVKEY directly to /etc/abuild.conf
2026-04-14 02:38:54 +00:00
1ee46b97ce
fix: Set PACKAGER_PRIVKEY explicitly after abuild-keygen
2026-04-14 02:27:11 +00:00
3c9b31d575
Fix: Add abuild-keygen for Alpine APK package signing
2026-04-13 23:38:15 +00:00
d0dbf50795
Fix: Add elogind-dev to Alpine build for systemd-compatible libsystemd
2026-04-13 22:57:45 +00:00
28a1830c9c
Fix: Add gcc to Alpine build dependencies for Rust linker
2026-04-13 22:38:34 +00:00
b5eda96fd4
Fix: Use rustup to install latest Rust for edition2024 support in Alpine build
2026-04-13 22:08:37 +00:00
cbb5ae38ce
Fix CI YAML syntax error in build-apk job
...
- Separated checkout step from dependency installation step
- Each step must have either 'uses:' OR 'run:', not both
- Added proper 'name:' field for install dependencies step
2026-04-13 21:01:07 +00:00
fd1e032e59
Fix: Use custom Arch+Node container for build-arch job
2026-04-13 15:37:46 +00:00
8107dc0547
Fix: Use node:18-alpine container for build-apk job to support JavaScript actions
2026-04-13 15:24:17 +00:00
89fbf19c4c
Fix: Use systemd-devel package name for Fedora 43
2026-04-13 14:43:36 +00:00
544df9483d
Fix: Use custom Fedora+Node container for build-rpm job
2026-04-13 14:38:14 +00:00
7175058d26
Fix: Use node:18 container for build-rpm job to support JavaScript actions
2026-04-13 14:23:10 +00:00
97565989bb
Fix: Use node:18-bookworm container for build-deb job to support JavaScript actions
2026-04-13 14:14:44 +00:00
2d1ef16a75
Architectural fix: native containers with Node.js on runner host (debian:bookworm, fedora:latest, alpine:latest, archlinux:latest)
2026-04-13 03:06:02 +00:00
27ec73b30f
Fix build-apk (alpine/node) and build-arch (install nodejs before checkout)
2026-04-13 02:32:56 +00:00
29b25d23c0
Fix build-apk: use node:18 container (has Node.js for GitHub Actions), update to actions v4
2026-04-13 02:22:09 +00:00
f35a53550e
Fix build-deb: use node:18 container (has Node.js for GitHub Actions), update to actions v4
2026-04-13 02:02:31 +00:00
3515581a9c
Fix build-rpm: use node:18 container (has Node.js for GitHub Actions), update to actions v4
2026-04-13 01:57:31 +00:00
2a1ff246cc
Fix build-deb: use debian:bookworm container (native Debian build environment) instead of node:18
2026-04-13 01:40:26 +00:00
daa8234819
Fix build-rpm: use Fedora container (native RPM build environment) instead of Debian
2026-04-13 01:38:03 +00:00
612494b80d
Fix build-rpm: remove systemd-rpm-macros (Fedora-only, not in Debian repos)
2026-04-13 01:20:10 +00:00
e34cb7bd8a
Fix build-rpm: add missing dependencies (gcc, build-essential, systemd-rpm-macros, rpm-common)
2026-04-13 01:13:31 +00:00
9f60e670fe
Temporarily disable clippy/test/audit jobs to reduce CI time (re-enable after builds stable)
2026-04-13 01:07:44 +00:00
6486482858
Fix all build jobs: add cargo build --release before helper scripts, add abuild to apk deps, remove sudo from build-arch.sh
2026-04-12 23:16:17 +00:00
7ef7ec1d89
Fix build-rpm: use existing build-rpm.sh script for proper rpmbuild setup
2026-04-12 22:43:29 +00:00
6648624c1e
Fix build-rpm: use separate mkdir commands and /root for reliable path creation
2026-04-12 22:11:08 +00:00
e9b7f78423
Fix build-rpm: set up proper rpmbuild directory structure with source tarball
2026-04-12 21:23:48 +00:00
7d0021ae3e
Fix build-rpm: remove rpmbuild from apt-get (included in rpm package)
2026-04-12 20:50:28 +00:00
7eab1b1559
Fix Gitea Actions: remove upload/download-artifact@v4 (GHES incompatible), use action-gh-release per job
2026-04-12 20:16:08 +00:00
bb1e59ab28
Fix build-deb: copy .deb to workspace before upload (actions/upload-artifact requires non-relative paths)
2026-04-12 19:19:04 +00:00
3052a96a8c
Fix build-deb: add build-essential to apt-get install (required by dpkg-buildpackage)
2026-04-12 18:43:47 +00:00
409f0bdd2e
Fix build jobs: remove sudo from apt-get commands (node:18 runs as root)
2026-04-12 18:18:36 +00:00
73495aad17
Fix build jobs: add Node.js for actions/checkout (deb/rpm containers, apk/arch packages)
2026-04-12 17:35:02 +00:00
0ba2dc2310
Fix: Add libsystemd-dev and pkg-config to clippy, test, audit jobs
2026-04-12 15:03:22 +00:00
fa6cf0dba7
Fix: Add container: node:18 to jobs missing Node.js for actions/checkout
2026-04-12 14:08:54 +00:00
5cc719ed92
Fix runner label: use linux instead of self-hosted to match runner labels
2026-04-12 04:56:36 +00:00
1f5d1e99d5
Fix runner label mismatch: use self-hosted instead of ubuntu-latest
2026-04-12 03:35:47 +00:00