feature/rename-backup-diewald-ci #1

Merged
diewi merged 6 commits from feature/rename-backup-diewald-ci into main 2026-07-19 21:41:07 +02:00
Owner
No description provided.
- Makefile at repo root: `make deb`, `make arch`, `make all`,
  `make install` (manual, PREFIX=/usr/local), `make clean`.
- debian/: native 3.0 source package, debhelper-compat 13. Installs
  to /usr/sbin/, patches VM_HOOK default at install time to match.
  postinst creates /etc/backup/vms, /var/log/backup, /var/lib/borg-prep
  and prints a hint if backup.conf is missing. postrm removes only
  empty state dirs.
- packaging/arch/PKGBUILD + kvm-backup.install: analogous, installs
  to /usr/bin/ (Arch merges /sbin into /bin).
- .gitignore: extended with build artifact patterns (deb, pkg,
  debhelper-generated files).
- .gitattributes: export-ignore for packaging/, debian/, Makefile
  so `git archive` produces a clean runtime tarball.
- README: added Bauen, package install and version bump sections.
- .forgejo/workflows/build.yml with three jobs:
  * build-deb   -> debian:13 container, make deb, uploads .deb + .buildinfo + .changes
  * build-arch  -> archlinux:base-devel container, make arch as builder user, uploads .pkg.tar.zst
  * release     -> on refs/tags/v*, downloads both artifacts and attaches them to the
                   Forgejo release via https://code.forgejo.org/actions/forgejo-release@v2
- Triggers: push main, tag v*, pull_request main, workflow_dispatch.
- README: added CI section explaining runner requirements, release
  publishing behavior and the option to drop the release job on
  instances without the code.forgejo.org action registry.
rename package kvm-backup -> backup-diewald; finalize CI pipeline
Some checks failed
Build packages / Build .deb (Debian 13) (pull_request) Has been cancelled
Build packages / Build .pkg.tar.zst (Arch) (pull_request) Has been cancelled
Build packages / Publish release on tag (pull_request) Has been cancelled
ab9918c3e6
- build .deb (debian:13) and .pkg.tar.zst (archlinux) on push to main and MRs
- publish a Forgejo release only on v* tags
- add dpkg-dev/fakeroot, git safe.directory, --nodeps for the arch build
ci: run jobs on native debian/arch runner labels
Some checks failed
Build packages / Build .deb (Debian 13) (pull_request) Failing after 2m28s
Build packages / Build .pkg.tar.zst (Arch) (pull_request) Failing after 37s
Build packages / Publish release on tag (pull_request) Has been skipped
e4961c8c0f
- build-deb -> runs-on: debian (node:24-trixie), drop nested container
- build-arch -> runs-on: arch (arch-ci:latest), drop nested container
- release -> runs-on: debian
- make arch runner setup idempotent (image may already ship git/sudo/builder)
fix(deb): stop debhelper from running the Makefile install target
Some checks failed
Build packages / Build .deb (Debian 13) (pull_request) Failing after 42s
Build packages / Build .pkg.tar.zst (Arch) (pull_request) Failing after 38s
Build packages / Publish release on tag (pull_request) Has been skipped
349d9d4316
dh_auto_install invoked the top-level Makefile's `install` target, which is a
manual /usr/local convenience installer. That dropped files under /usr/local
in the package, so dh_usrlocal aborted the build ("... is not a directory").

Neutralize dh_auto_build/test/install with no-op recipes so the package is
assembled solely from debian/install (-> /usr/sbin, /usr/share/doc). The `:`
recipe is required: an empty override target would fall through to the `%:`
catch-all and mis-invoke dh.
ci: pin upload/download-artifact to v3 for Forgejo
All checks were successful
Build packages / Build .deb (Debian 13) (pull_request) Successful in 37s
Build packages / Build .pkg.tar.zst (Arch) (pull_request) Successful in 41s
Build packages / Publish release on tag (pull_request) Has been skipped
d8d8c72da8
Forgejo reports as GHES to the actions toolkit; artifact v4+ uses a backend it
does not support (GHESNotSupportedError). v3 uses the supported protocol.
diewi merged commit 022012610d into main 2026-07-19 21:41:07 +02:00
diewi referenced this pull request from a commit 2026-07-19 21:41:08 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
diewi/backup-diewald!1
No description provided.