test
This commit is contained in:
parent
41e5077f7d
commit
27862a3be1
@ -7,11 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: build hive configuration
|
name: build hive configuration
|
||||||
runs-on: ubuntu-22.04
|
runs-on: nix-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: cachix/install-nix-action@v31
|
- run: nix run nixpkgs#colmena apply
|
||||||
with:
|
|
||||||
install_url: https://releases.nixos.org/nix/nix-2.20.0/install
|
|
||||||
- uses: https://github.com/nicknovitski/nix-develop@v1
|
|
||||||
- run: colmena apply
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
sin-address = "192.168.1.14";
|
sin-address = "192.168.1.14";
|
||||||
in{
|
in{
|
||||||
imports = [
|
imports = [
|
||||||
# ./virtualisation.nix
|
./virtualisation.nix
|
||||||
];
|
];
|
||||||
networking.nat.forwardPorts = [{
|
networking.nat.forwardPorts = [{
|
||||||
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
|
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
|
||||||
@ -11,11 +11,19 @@ in{
|
|||||||
}];
|
}];
|
||||||
|
|
||||||
services.gitea-actions-runner.instances = {
|
services.gitea-actions-runner.instances = {
|
||||||
gitea.shobu.fr-runner = {
|
"gitea.shobu.fr-runner" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "gitea.shobu.fr-runner";
|
name = "gitea.shobu.fr-runner";
|
||||||
url = nodes.sin.gitea.settings.server.ROOT_URL;
|
url = nodes.sin.config.services.gitea.settings.server.ROOT_URL;
|
||||||
token = "uEDPBW6Z9oItAKRtloVwis0LkPbD4OmV2w5esOhW";
|
token = "uEDPBW6Z9oItAKRtloVwis0LkPbD4OmV2w5esOhW";
|
||||||
|
labels = [
|
||||||
|
"debian-latest:docker://debian:latest"
|
||||||
|
"ubuntu-latest:docker://ubuntu:latest"
|
||||||
|
"nix-latest:docker://nixos/nix:latest"
|
||||||
|
"debian-latest:docker://node:18-bullseye"
|
||||||
|
"ubuntu-latest:docker://node:18-bullseye"
|
||||||
|
#"native:host"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user