test
This commit is contained in:
parent
5c0fa04ab6
commit
a6d2d57df0
@ -6,6 +6,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies for Nix setup action
|
||||
run: |
|
||||
apt update -y
|
||||
apt install sudo -y
|
||||
- uses: http://github.com/cachix/install-nix-action@v18
|
||||
- uses: http://github.com/cachix/cachix-action@v12
|
||||
with:
|
||||
|
||||
@ -10,6 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install dependencies for Nix setup action
|
||||
run: |
|
||||
apt update -y
|
||||
apt install sudo -y
|
||||
- uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
install_url: https://releases.nixos.org/nix/nix-2.28.5/install
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{nodes, ...}:let
|
||||
{nodes, inputs, pkgs, ...}:let
|
||||
sin-address = "192.168.1.14";
|
||||
unstable = import inputs.unstable {system = pkgs.system;};
|
||||
in{
|
||||
imports = [
|
||||
./virtualisation.nix
|
||||
@ -10,6 +11,8 @@ in{
|
||||
destination = "${sin-address}:22";
|
||||
}];
|
||||
|
||||
services.gitea-actions-runner.package = unstable.gitea-actions-runner;
|
||||
|
||||
services.gitea-actions-runner.instances = {
|
||||
"gitea.shobu.fr-runner" = {
|
||||
enable = true;
|
||||
@ -18,9 +21,9 @@ in{
|
||||
token = "uEDPBW6Z9oItAKRtloVwis0LkPbD4OmV2w5esOhW";
|
||||
labels = [
|
||||
# provide a debian base with nodejs for actions
|
||||
"debian-latest:docker://node:18-bullseye"
|
||||
"debian-latest:docker://node:20-bullseye"
|
||||
# fake the ubuntu name, because node provides no ubuntu builds
|
||||
"ubuntu-latest:docker://node:18-bullseye"
|
||||
"ubuntu-latest:docker://node:20-bullseye"
|
||||
# provide native execution on the host
|
||||
#"native:host"
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user