feat(luna): working gitlab runner
This commit is contained in:
parent
9794f09357
commit
f10ecf6526
@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ lib, config, specialArgs, ... }:
|
||||
let
|
||||
gitlab_home = "/opt/gitlab";
|
||||
hostname = "gitlab.orion-technologies.io";
|
||||
@ -26,6 +26,21 @@ in
|
||||
2222
|
||||
];
|
||||
|
||||
age.secrets.gitlab-runner-reg-config.file = specialArgs.secrets + "/gitlab-runner-reg-config.age";
|
||||
services.gitlab-runner = {
|
||||
enable = true;
|
||||
services = {
|
||||
default = with lib; {
|
||||
registrationConfigFile = config.age.secrets.gitlab-runner-reg-config.path;
|
||||
dockerImage = "alpine";
|
||||
tagList = [
|
||||
"alpine"
|
||||
"default"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."${hostname}" = {
|
||||
locations."/".proxyPass = "http://127.0.0.1:8080";
|
||||
forceSSL = true;
|
||||
|
10
secrets/gitlab-runner-reg-config.age
Normal file
10
secrets/gitlab-runner-reg-config.age
Normal file
@ -0,0 +1,10 @@
|
||||
age-encryption.org/v1
|
||||
-> X25519 IF+/D3KyenalWv4UdlGw1IQ/1JMI5iMWUVG+8BKVrFM
|
||||
8nhRNGgT97TAh4sYtLJzF2DKUGFU3wt2SATvQ6kQr2I
|
||||
-> piv-p256 4XQpCA A8etpG41eFkUMv0MAjEhzwa0/NpJ8sscstWFva+5Vm9Z
|
||||
aBxPlgk/H1bwDH28y6QyrFJDSrw8ntotGZW0Hxr91eM
|
||||
-> }bYmP-grease ZY+YOh?m NO_Zo
|
||||
2vAUVL3Wle3+ek/ddUsg2OlMFx13qUo4EWSOcW0zuIvdtgABU5ccnHvWCl8TlfMk
|
||||
UvsdAjOQ41I
|
||||
--- lVcGWNLfuLYRY6RWXjMRaTHnlWRg3203QUpA6TYVntc
|
||||
øÌ@Cx“[GÞØDcü¨Ì÷ï’¨t]¼‰LÕæŒð
Á9þâŒ2t?M<1A>Ð)5u¶ÑÅÒ‹ƒ, vêævv¨Å <1F>\rtÛ7Zg&ýÿ<C3BD><C3BF>Fƒ/ŒÐ6m¯îúÓ³ž/YªÆ±¶<C2B1>̹ët’ü³î™œžK<1B>Ã[.!üëݾ
|
Loading…
Reference in New Issue
Block a user