Commit Graph
8 Commits
Author SHA1 Message Date
oqyude c62a609a29 secrets: opencode username -> opencode (сервер принимает только этот логин)
nixos flake checks / invariant-checks (push) Successful in 1m30s
test-runner / smoke (push) Successful in 1s
2026-11-04 16:07:17 +03:00
oqyude 8368204467 secrets: новый пароль opencode-сервера (per-user, после утечки в переписку)
nixos flake checks / invariant-checks (push) Successful in 1m27s
test-runner / smoke (push) Successful in 2s
2026-11-04 15:30:01 +03:00
oqyude 1213fe1757 secrets: rotate minimax provider key (auth + account)
nixos flake checks / invariant-checks (push) Successful in 2m38s
test-runner / smoke (push) Successful in 1s
2026-10-28 19:56:28 +03:00
oqyude d021804cc7 secrets(gitea-runner): replace placeholder with real registration token
test-runner / smoke (push) Successful in 2s
Fills in TOKEN with the value from Gitea's "Create new runner" admin
panel, completing the placeholder introduced when host-mode Actions was
enabled. Edited via `sops secrets/gitea-runner-registration.env`, so the
commit carries ciphertext only — the age recipient key stays outside
the repo.

The runner re-registers on its own: ExecStartPre compares the .runner
hash against TOKEN and re-runs registration when they diverge.
2026-10-15 00:28:57 +03:00
oqyude e6e82b8a4a fix(gitea-runner): drop serviceConfig overrides that shadow upstream unit
ServiceConfig-level leaf assignments (or a single lib.mkMerge block) into
systemd.services.gitea-runner-ci-sapphira.serviceConfig were silently
replacing Nixpkgs's services.gitea-actions-runner module output: the
generated unit came out without ExecStart / ExecStartPre / LoadCredential
/ User / Restart / RestartSec / StateDirectory, so systemd refused to
start the service ('Service has no ExecStart=... Refusing').

[Unit]-side overrides DO merge, so the storage guard (ConditionPathIsMountPoint
on xlib.dirs.server-home) and the local-fs.target After= are kept.
Cgroup caps (CPUQuota, MemoryMax, OOM knobs) are deferred — a follow-up
should add them via a systemd drop-in
(/etc/systemd/system/gitea-runner-ci\x2dsapphira.service.d/override.conf)
so the upstream ExecStart path stays intact.

Verified at 2026-10-14 17:36 MSK: register + declare succeed on sapphira
after this commit's deploy + a sops format fix (next commit).
2026-10-14 17:46:50 +03:00
oqyude d9a18fae3b secrets(gitea-runner): add sops placeholder for registration token 2026-10-14 16:19:19 +03:00
oqyude fb56f6310b opencode 2026-10-03 20:21:19 +03:00
oqyude f1a81a6408 Init 2026-03-09 10:50:12 +03:00