add runner to git server
This commit is contained in:
parent
de42f41a38
commit
7e9b3856fc
1 changed files with 13 additions and 0 deletions
|
|
@ -44,7 +44,20 @@ in
|
||||||
LANDING_PAGE = "/yanlin";
|
LANDING_PAGE = "/yanlin";
|
||||||
};
|
};
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
actions.ENABLED = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.podman.enable = true;
|
||||||
|
|
||||||
|
services.gitea-actions-runner.instances.default = {
|
||||||
|
enable = true;
|
||||||
|
name = "default";
|
||||||
|
url = "https://${cfg.domain}";
|
||||||
|
tokenFile = "/var/lib/gitea-runner/default/token";
|
||||||
|
labels = [
|
||||||
|
"node-20:docker://node:20-bookworm"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue