gitea-actions-runner: fix PATH in systemd
Some checks failed
Flake checks / Check (pull_request) Failing after 2s

This commit is contained in:
teutat3s 2024-05-29 18:39:45 +02:00
parent d700e0aeeb
commit 5e0174114c
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 12 additions and 7 deletions

View file

@ -1,17 +1,10 @@
name: Flake checks
on: [pull_request]
env:
PATH: /run/current-system/sw/bin
HOME: /var/lib/gitea-runner/tankstelle
jobs:
Check:
runs-on: self-hosted
steps:
- name: Enter ci devshell
run: |
nix --accept-flake-config --access-tokens '' develop .#ci
- name: Check out repository code
uses: https://code.forgejo.org/actions/checkout@v4

View file

@ -15,6 +15,18 @@
# Needed for the docker runner to communicate with the act_runner cache
networking.firewall.trustedInterfaces = [ "br-+" ];
systemd.services."gitea-runner-tankstelle".path = with pkgs; [
coreutils
bash
coreutils
curl
gawk
gitMinimal
gnused
nodejs
wget
];
# forgejo actions runner
# https://forgejo.org/docs/latest/admin/actions/
# https://docs.gitea.com/usage/actions/quickstart