Start again from agentos: a read-only, verity-checked /usr with A/B updates, and a TPM-encrypted btrfs root made at first boot that holds /etc and /var. On top of that the runner: gitea-runner from gitea.com, a path unit that starts it once registered, and a drain before update reboots. Jobs run in plain Fedora on root's podman. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0569bce676
commit
0733ff55f3
49 files changed
+492
-509
No files matched your search
+12
-9
@@ -1,11 +1,14 @@
|
||||
#!/bin/sh
|
||||
# Installs the Gitea runner from gitea.com.
|
||||
set -eu
|
||||
v=5.4.1
|
||||
f=gitea-runner-$v-linux-amd64.xz
|
||||
#!/bin/bash
|
||||
# mkosi.prepare installs the Gitea runner from its releases on gitea.com, as
|
||||
# /usr/bin/gitea-runner. Fedora doesn't package it. The checksum file comes
|
||||
# from the same release, so it catches a broken download, not a bad release.
|
||||
set -euo pipefail
|
||||
version=6.0.1
|
||||
file=gitea-runner-$version-linux-amd64.xz
|
||||
|
||||
cd "$(mktemp -d)"
|
||||
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$v/$f"
|
||||
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$v/$f.sha256"
|
||||
sha256sum -c "$f.sha256"
|
||||
xz -dc "$f" > "$BUILDROOT/usr/bin/gitea-runner"
|
||||
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$version/$file"
|
||||
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$version/$file.sha256"
|
||||
sha256sum -c --quiet "$file.sha256"
|
||||
xz -dc "$file" > "$BUILDROOT/usr/bin/gitea-runner"
|
||||
chmod 755 "$BUILDROOT/usr/bin/gitea-runner"
|
||||
Reference in new issue
Block a user