From 030db77d485bc9c890d06137bed2294f4e9f15d9 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 30 Jun 2024 00:47:52 +0200 Subject: [PATCH] VEGAS/gitlab: remove gitlab runner --- hosts/VEGAS/services/gitlab/default.nix | 16 ---------------- secrets.nix | 1 - secrets/gitlab-runner-registration.age | 12 ------------ 3 files changed, 29 deletions(-) delete mode 100644 secrets/gitlab-runner-registration.age diff --git a/hosts/VEGAS/services/gitlab/default.nix b/hosts/VEGAS/services/gitlab/default.nix index c045cb9..6bd77f4 100644 --- a/hosts/VEGAS/services/gitlab/default.nix +++ b/hosts/VEGAS/services/gitlab/default.nix @@ -22,7 +22,6 @@ in "gitlab-db-credentials" "gitlab-initial-root-password" "gitlab-openid-secret" - "gitlab-runner-registration" "gitlab-secret-db" "gitlab-secret-jws" "gitlab-secret-otp" @@ -91,20 +90,5 @@ in }; }; - systemd.services.gitlab-runner.after = [ "gitlab.target" ]; - services.gitlab-runner = { - enable = true; - services = { - shell = { - # File should contain at least these two variables: - # `CI_SERVER_URL` - # `REGISTRATION_TOKEN` - registrationConfigFile = secrets.gitlab-runner-registration; - executor = "shell"; - tagList = [ "shell" ]; - }; - }; - }; - services.nginx.virtualHosts."${cfg.host}" = depot.lib.nginx.vhosts.proxy "http://unix:/run/gitlab/gitlab-workhorse.socket"; } diff --git a/secrets.nix b/secrets.nix index 557e5e4..0e77cc6 100644 --- a/secrets.nix +++ b/secrets.nix @@ -61,7 +61,6 @@ in with hosts; "secrets/gitlab-db-credentials.age".publicKeys = max ++ map systemKeys [ VEGAS ]; "secrets/gitlab-initial-root-password.age".publicKeys = max ++ map systemKeys [ VEGAS ]; "secrets/gitlab-openid-secret.age".publicKeys = max ++ map systemKeys [ VEGAS ]; - "secrets/gitlab-runner-registration.age".publicKeys = max ++ map systemKeys [ VEGAS ]; "secrets/gitlab-secret-db.age".publicKeys = max ++ map systemKeys [ VEGAS ]; "secrets/gitlab-secret-jws.age".publicKeys = max ++ map systemKeys [ VEGAS ]; "secrets/gitlab-secret-otp.age".publicKeys = max ++ map systemKeys [ VEGAS ]; diff --git a/secrets/gitlab-runner-registration.age b/secrets/gitlab-runner-registration.age deleted file mode 100644 index 53fd6e3..0000000 --- a/secrets/gitlab-runner-registration.age +++ /dev/null @@ -1,12 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 NO562A YU2/APfP6kPGX5e7bHBWdaom4ZwmytI/IoP+g3th5h0 -2IfalzEAkV0xCr35dOiCpxUHw24a3AbkOGVJ4L/uaWU --> ssh-ed25519 5/zT0w DbMexjii0bSvqgGC9rNgCBOaQXfgzthcOPBT6dnKeGc -C4dMDu8WgATu0sdPKACw07Fn5jq6Pe7uN8/Iv2tVcAs --> ssh-ed25519 d3WGuA uIwhL4l3t07R5TYO1zo3dV9ktgWtoKR4JdvaHblEB3M -265C3gEza2uh6oVca/gUNxqKjU2S8bhN/q4Dlw2EEy4 --> /"-grease +Wqw(R -4HG/GLt5Drs7C0j1+DBwRIHQDVEl2JNuZ+BLNuaNG5pFIdO0EIG26XJFfdGOPQHo -wkc ---- 2U7WL4OUr1Tcg3u3FejyVH8/RasT6Fc8a2M9acsycHQ -C# ֽl% \#̱ÿ`S%A[lhRqXU VoG @ańo/3&yI(բV-K掛s\z:hGAsnGHtHq1.ެag؃ޥAe_TLiE56 \ No newline at end of file