Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
wip: jenkins Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQDNIwSxfeS/K3tyjRsBwpFFC8hTYnREshyE7kMIPpXibp3/00vAhNucN7OSY7lNQDG Vv3Ch7CYh0TmgeNIf39Qs= -----END SSH SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
8 months ago
5 changed files, 44 additions(+), 0 deletions(-)
M machines/dragonwell/caddy.nix -> machines/dragonwell/caddy.nix
diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix
index 68fdeee14cc968bd31143f08df953e639fedabf4..d374abc3b1d530465ded6508666cb7ddb9024930 100644
--- a/machines/dragonwell/caddy.nix
+++ b/machines/dragonwell/caddy.nix
@@ -81,7 +81,9 @@       "dnd.jolheiser.com".extraConfig = ''
         reverse_proxy localhost:30000
       '';
   services.caddy = {
+      "jolheiser.com" = {
+        reverse_proxy localhost:2423
 {
     };
   };
 }
M machines/dragonwell/default.nix -> machines/dragonwell/default.nix
diff --git a/machines/dragonwell/default.nix b/machines/dragonwell/default.nix
index 128b00de87787308cf3c6818423472f3e10e3177..052977ef7f2904dd718f9fdf13dba66c97f5c836 100644
--- a/machines/dragonwell/default.nix
+++ b/machines/dragonwell/default.nix
@@ -12,6 +12,7 @@     ./foundry.nix
     ./git-pr.nix
     ./golink.nix
     ./gotosocial.nix
+    ./jenkins.nix
     ./restic.nix
     ./soju.nix
     ./tandoor.nix
I machines/dragonwell/jenkins.nix
diff --git a/machines/dragonwell/jenkins.nix b/machines/dragonwell/jenkins.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6e2f49aa7792fc09d56daa7d8f5a53c7a5c82cf5
--- /dev/null
+++ b/machines/dragonwell/jenkins.nix
@@ -0,0 +1,25 @@
+{ config, ... }:
+{
+  age.secrets.jenkins.file = ../../secrets/personal/jenkins.age;
+  services.jenkins = {
+    enable = true;
+    listenAddress = "localhost";
+    port = 2423;
+    jobBuilder = {
+      enable = false; # Currently broken
+      accessTokenFile = config.age.secrets.jenkins.path;
+      nixJobs = [
+        {
+          job = {
+            name = "echo";
+            builders = [
+              {
+                shell = "echo 'Hello, world!'";
+              }
+            ];
+          };
+        }
+      ];
+    };
+  };
+}
I secrets/personal/jenkins.age
diff --git a/secrets/personal/jenkins.age b/secrets/personal/jenkins.age
new file mode 100644
index 0000000000000000000000000000000000000000..285b673932dc38141911ee455ecddf9a2c442379
--- /dev/null
+++ b/secrets/personal/jenkins.age
@@ -0,0 +1,11 @@
+age-encryption.org/v1
+-> ssh-ed25519 E8j6/g AJiLqqUpu/SLAFvz6EXvZ6o1PXa1DrcBjf94gpEFq10
+ZYHjqsJ8tVer0YlJvJ11XQYx6P8FlB5Nj8Gr4BYZlCw
+-> ssh-ed25519 f31uNA 0iFxySw9nqD6uhCyFTND0cNLAWnAcKVDhbP5dzizXGk
+lr/gjZxUP0Ta8cRw24Zf26TLQmw+fRlElPqZvXR5d9g
+-> @>-grease
+0Y9PU1g/9/KPNt0XjFcHHsL36Txo/gKyedRC524UAu/OpX6Ob8TDN1DOKvlG9HQN
+cmcvJ5sKHDfh0MCef1FnZM2vhSxINm/WE2AYpjs
+--- 6RV0T/JXRFKZDzFFtqFTjLIdZTETLW6MVRcuHqz5tkw
+�	�	6C�W�J\�?0��/;®I� �Ϭp
+�����׃�j�U�Q����h��
\ No newline at end of file
M secrets/secrets.nix -> secrets/secrets.nix
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index a2c3d3458ff2528fe3856a139b332da81212d54a..56c0a61b6fb02a6e6511ac2a5ff85c3fce781244 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -50,4 +50,9 @@     jolheiser
     dragonwell
   ];
   matcha = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZxjkZLj/9xvmg1enK+B7k8qf6Px0j4kTZ2caQfYmB1";
+  jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS";
+    jolheiser
+    dragonwell
+  ];
+  matcha = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZxjkZLj/9xvmg1enK+B7k8qf6Px0j4kTZ2caQfYmB1";
 let