@cryptotaxi247 / infra / commits / 87f4bba1

Remove lucifer and hydra

These were turned off last year.

Eelco Dolstra committed Sep 20, 2021 at 13:10 UTC 87f4bba1c56375db1377e80d7e9ebe6131365330
8 files changed -124
delft/build-machines-dell-1950.nix deleted
-22
@@ -1,22 +0,0 @@
1 -# Configuration for the Dell PowerEdge 1950 build machines.
2 -
3 -{ config, pkgs, ... }:
4 -
5 -{
6 - imports = [ ./build-machines-common.nix ];
7 -
8 - boot.loader.grub.device = "/dev/sda";
9 - boot.loader.grub.copyKernels = true;
10 -
11 - fileSystems."/" = {
12 - label = "nixos";
13 - options = [ "noatime" ];
14 - };
15 -
16 - boot.initrd.kernelModules = [ "mptsas" "ext4" ];
17 - boot.kernelModules = [ "acpi-cpufreq" "kvm-intel" ];
18 -
19 - nix.maxJobs = 8;
20 -
21 - swapDevices = [ { label = "swap"; } ];
22 -}
delft/eris.nix
-2
@@ -20,8 +20,6 @@ in {
20 10.254.1.1 bastion
21 10.254.1.3 ceres
22
23 - 10.254.1.6 hydra
24 - 10.254.1.7 lucifer
23 10.254.1.9 haumea
24
25 10.254.3.1 webserver
delft/hydra.nix
-2
@@ -183,8 +183,6 @@ in
183
184 macstadium1 = { hostNames = [ "208.78.106.251" ]; publicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKrwg2592DfDUG1U0LZxJcBaT35YfEsuKo4helEAzeoujvzOo4DIaBrTCX7+LxcYZlGoi4WvsnwxUG11GY12l2A="; };
185 macstadium2 = { hostNames = [ "208.78.106.252" ]; publicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLV1p6f6Rk3rKwNJbcqvG68wjfT3wPcJfChc1LFU9A3tTFslUDr47FHLmT+FTr+ChkoqD6Gsl+jtSnvkYnTlpGY="; };
186 - hydra = { hostNames = [ "hydra.ewi.tudelft.nl" "131.180.119.69" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIS6QYRKqOt9zfvFej4WWaswLE8Mhq7dOk8enWi/AzoK"; };
187 - lucifer = { hostNames = [ "lucifer.ewi.tudelft.nl" "131.180.119.73" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDz6dxwVdxPpwtjO3wA9nMp62qFLGy2ETpSQ6JWTOs5P"; };
186 stan = { hostNames = [ "stan.ewi.tudelft.nl" "131.180.119.74" ]; publicKey = "ssh-dss AAAAB3NzaC1kc3MAAACBAL0SlYpGjDjPKrLIwoltYHHTYo/d6Ct2FQZKh4ltKOszWPYYAbs/YNSm2eFkvj0CGc3aastFuebz6+pRfvGMvqi4q6IoHwVvOkbWMadyuqrWIO+Z1YemZP/GAG69pLy+UyoydiSI83ycwPe4YARAU/cpBMNKJZbSxyrO80XatmtRAAAAFQC291WK+9M8+zI4KAtk6EqX0vqQ1QAAAIBd1YgRfdfRdu60BpR+3/YMbSYZMjRLFPyoSgmEQR2TtKfqsuKTsTREzB20iMgFlhEWb6C4r5y6jYDU85OOnvpf7zne22j6bKFDIiAbgsjUFHK1EB7+TBltf5yqq0FyNOy/PnLqVzOeGaUeCOc3Ris71Lxkm60oVF4mjut2d2UJ6AAAAIByuCH1bIIRb4za4yiiFQUz2CBX1XHhBn/h/LhNMLuyCTciG6tkppGBAgq5rWrNhjaEc7dIFgZR+E1wE5PQzWG/TBiXctwCOqOOErDB5b95jO2EntIhi8x5PO9Ef6jgis4QRsBIZiENDDeQHxFHCv4q+10TpyV+625O8TXkkcxl0g=="; };
187
188 t2m = { hostNames = [ "t2m.cunat.cz" ]; publicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9351NRVeQYvNV1bBbC5MX0iSmrXhVcBYMcn6AMo11U2zlOYRqBPzGLPjz9u31t4FxHNovxCrkFTqJY9zbsmTs="; };
delft/lucifer.nix deleted
-58
@@ -1,58 +0,0 @@
1 -{ config, lib, pkgs, ... }:
2 -
3 -with lib;
4 -
5 -{
6 - imports =
7 - [ ./build-machines-common.nix
8 - ./megacli.nix
9 - ];
10 -
11 - environment.systemPackages =
12 - [ pkgs.wget pkgs.megacli config.boot.kernelPackages.sysdig ];
13 -
14 - networking.hostName = "lucifer";
15 - networking.firewall.allowedTCPPorts = [ 2049 3000 4000 ];
16 -
17 - networking.interfaces.enx842b2b0b98f1.ipv4.addresses = singleton
18 - { address = "172.16.25.81";
19 - prefixLength = 21;
20 - };
21 -
22 - boot.loader.grub.device = "/dev/sda";
23 - boot.loader.grub.copyKernels = true;
24 - boot.initrd.kernelModules = [ "uhci_hcd" "ehci_hcd" "ata_piix" "megaraid_sas" "usbhid" ];
25 - boot.kernelModules = [ "acpi-cpufreq" "kvm-intel" ];
26 - boot.extraModulePackages = [config.boot.kernelPackages.sysdig];
27 -
28 - fileSystems."/".device = "/dev/disk/by-label/nixos";
29 -
30 - fileSystems."/fatdata" =
31 - { device = "/dev/fatdisk/fatdata";
32 - neededForBoot = true;
33 - options = [ "defaults" "noatime" ];
34 - };
35 -
36 - fileSystems."/nix" =
37 - { device = "/fatdata/nix";
38 - fsType = "none";
39 - options = [ "bind" ];
40 - neededForBoot = true;
41 - };
42 -
43 - fileSystems."/nix/var/nix" =
44 - { device = "/nix-data";
45 - fsType = "none";
46 - options = [ "bind" ];
47 - neededForBoot = true;
48 - };
49 -
50 - fileSystems."/data".device = "/dev/disk/by-label/data";
51 -
52 - users.extraUsers.rbvermaa =
53 - { description = "Rob Vermaas";
54 - home = "/home/rbvermaa";
55 - isNormalUser = true;
56 - openssh.authorizedKeys.keys = [ (import ../ssh-keys.nix).rob ];
57 - };
58 -}
delft/machines.nix
-12
@@ -20,18 +20,6 @@ lib: with lib;
20 #buildUser = "buildfarm";
21 }
22
23 - { # Old Hydra server, now build machine.
24 - hostName = "hydra";
25 - ipAddress = "131.180.119.69";
26 - ethernetAddress = "00:22:19:55:bf:24";
27 - }
28 -
29 - { # Old Hydra server, now build machine.
30 - hostName = "lucifer";
31 - ipAddress = "131.180.119.73"; # fe80::862b:2bff:fe0b:98f0
32 - ethernetAddress = "84:2b:2b:0b:98:f0";
33 - }
34 -
23 /*
24 { # 48-core NixOS build machine.
25 hostName = "shelley";
delft/network.nix
-3
@@ -61,9 +61,6 @@ in {
61 ];
62 };
63
64 - hydra = { deployment.targetHost = "hydra.ewi.tudelft.nl"; imports = [ ./build-machines-dell-1950.nix ]; };
65 - lucifer = { deployment.targetHost = "lucifer.ewi.tudelft.nl"; imports = [ ./lucifer.nix ]; };
66 -
64 eris = import ./eris.nix;
65
66 ceres = {
docs/inventory.md
-12
@@ -182,18 +182,6 @@ owner: Graham
182
183 1 aarch64 for ofborg *and* community use
184
185 -## delft
186 -
187 -Univesity Data Center that contains a bunch of machines.
188 -
189 -
190 -- delft/machines.nix that has all the IPs and mac address of machines there
191 -- hydra (machine name); build slave
192 -- lucifer: build slave
193 -
194 -+ bunch of dead machines
195 -
196 -
185 ## Hetzner:
186
187 owner: Eelco and Rob, owned by the NixOS Foundation
modules/wireguard.nix
-13
@@ -29,19 +29,6 @@ let
29 publicKey = "H/Y+sbNETKZugxGFbOS0m5BSr28jRDL19U37wEw07D8=";
30 };
31
32 - hydra = {
33 - ip = "10.254.1.6";
34 - endpoint = "131.180.119.69";
35 - port = 51820;
36 - publicKey = "daWQGiSHeWX1aELsppFoq740geXwIjGCLdmdQWC0Ymg=";
37 - };
38 -
39 - lucifer = {
40 - ip = "10.254.1.7";
41 - endpoint = "131.180.119.73";
42 - port = 51820;
43 - };
44 -
32 haumea = {
33 ip = "10.254.1.9";
34 endpoint = "46.4.89.205";