ci: add self-hosted runner tankstelle #198
|
@ -1,17 +1,10 @@
|
||||||
name: Flake checks
|
name: Flake checks
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
env:
|
|
||||||
PATH: /run/current-system/sw/bin
|
|
||||||
HOME: /var/lib/gitea-runner/tankstelle
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Check:
|
Check:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Enter ci devshell
|
|
||||||
run: |
|
|
||||||
nix --accept-flake-config --access-tokens '' develop .#ci
|
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,18 @@
|
||||||
# Needed for the docker runner to communicate with the act_runner cache
|
# Needed for the docker runner to communicate with the act_runner cache
|
||||||
networking.firewall.trustedInterfaces = [ "br-+" ];
|
networking.firewall.trustedInterfaces = [ "br-+" ];
|
||||||
|
|
||||||
|
systemd.services."gitea-runner-tankstelle".path = with pkgs; [
|
||||||
|
coreutils
|
||||||
|
bash
|
||||||
|
coreutils
|
||||||
|
curl
|
||||||
|
gawk
|
||||||
|
gitMinimal
|
||||||
|
gnused
|
||||||
|
nodejs
|
||||||
|
wget
|
||||||
|
];
|
||||||
|
|
||||||
# forgejo actions runner
|
# forgejo actions runner
|
||||||
# https://forgejo.org/docs/latest/admin/actions/
|
# https://forgejo.org/docs/latest/admin/actions/
|
||||||
# https://docs.gitea.com/usage/actions/quickstart
|
# https://docs.gitea.com/usage/actions/quickstart
|
||||||
|
|
Loading…
Reference in a new issue