drop unused gitlab-runner
This commit is contained in:
parent
76a747f32c
commit
eefe2f63ab
2 changed files with 0 additions and 28 deletions
|
@ -1,25 +0,0 @@
|
||||||
{ pkgs, config, ... }:
|
|
||||||
## requires this secret in deployment.nix
|
|
||||||
let
|
|
||||||
gitlabModule = builtins.fetchTarball {
|
|
||||||
url = "https://gitlab.com/arianvp/nixos-gitlab-runner/-/archive/9126927c701aa399bd1734e7e5230c3a0010c1b7/nixos-gitlab-runner-9126927c701aa399bd1734e7e5230c3a0010c1b7.tar.gz";
|
|
||||||
sha256 = "1s0fy5ny2ygcfvx35xws8xz5ih4z4kdfqlq3r6byxpylw7r52fyi";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
"${gitlabModule}/gitlab-runner.nix"
|
|
||||||
];
|
|
||||||
|
|
||||||
sops.keys.gitlab-runner-registration = {
|
|
||||||
user = "gitlab-runner";
|
|
||||||
sopsFile = ./gitlab-runner.yaml;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gitlab-runner2.enable = true;
|
|
||||||
# The module depends on gitlab-runner to have a "bin" output.
|
|
||||||
services.gitlab-runner2.package = pkgs.gitlab-runner // {
|
|
||||||
bin = pkgs.gitlab-runner;
|
|
||||||
};
|
|
||||||
services.gitlab-runner2.registrationConfigFile = config.sops.keys.gitlab-runner-registration.path;
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
gitlab-runner-registration: |
|
|
||||||
CI_SERVER_URL=https://gitlab.com/
|
|
||||||
REGISTRATION_TOKEN=ynWzkuM4vNEZkxrUtJFs
|
|
Loading…
Add table
Reference in a new issue