Add systemd timer for runner builder

This commit is contained in:
2026-05-09 20:35:37 +02:00
parent 0b31c65cde
commit dcf1d80270
3 changed files with 40 additions and 0 deletions
+23
View File
@@ -35,3 +35,26 @@ GITEA_RUNNER_VERSION=1.0.2 ./build.sh
The script downloads the Linux `amd64` and `arm64` release artifacts, verifies their SHA256 checksums, builds `.deb` packages, moves them into `../gitea-runner-deb`, regenerates `Packages`, `Packages.gz`, and `Release`, then commits the release repo changes locally.
It does not push either repository.
## Systemd Timer
Install and enable the nightly build timer:
```bash
cp systemd/gitea-runner-build.service /etc/systemd/system/
cp systemd/gitea-runner-build.timer /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now gitea-runner-build.timer
```
Check the timer:
```bash
systemctl list-timers gitea-runner-build.timer
```
Run the build manually through systemd:
```bash
systemctl start gitea-runner-build.service
```