add docker runner;
This commit is contained in:
parent
6f16efd9cd
commit
224cd28112
12
.forgejo/workflows/test.yml
Normal file
12
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name: Testing
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: ls -l
|
||||||
|
- run: uname -a
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
apply-local = pkgs.writeShellScriptBin "apply-local" ''
|
apply-local = pkgs.writeShellScriptBin "apply-local" ''
|
||||||
"${
|
"${
|
||||||
colmena.packages.${system}.colmena
|
colmena.packages.${system}.colmena
|
||||||
}"/bin/colmena apply-local --sudo --keep-result $@
|
}"/bin/colmena apply-local --sudo $@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fast-repl = pkgs.writeShellScriptBin "fast-repl" ''
|
fast-repl = pkgs.writeShellScriptBin "fast-repl" ''
|
||||||
|
|
|
@ -40,6 +40,15 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gitea-actions-runner.instances = {
|
services.gitea-actions-runner.instances = {
|
||||||
|
runner_1 = {
|
||||||
|
name = "runner_1";
|
||||||
|
enable = true;
|
||||||
|
labels = [
|
||||||
|
"docker:docker://node:16-bullseye"
|
||||||
|
];
|
||||||
|
url = "https://git.0x76.dev";
|
||||||
|
tokenFile = "${vs.gitea_runner}/token_runner_1";
|
||||||
|
};
|
||||||
nix-native = {
|
nix-native = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "nix-native";
|
name = "nix-native";
|
||||||
|
|
Loading…
Reference in a new issue