os / os (push) Failing after 29s
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>
15 lines
631 B
Bash
Executable File
15 lines
631 B
Bash
Executable File
#!/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$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"
|