2020-01-19 10:53:19 +01:00
|
|
|
;; Install this file as /etc/guix/machines.scm on berlin.guix.gnu.org
|
2019-05-08 17:26:11 +02:00
|
|
|
(use-modules (ice-9 match) (srfi srfi-1))
|
2017-07-23 03:36:37 +02:00
|
|
|
|
2020-02-27 18:08:14 +01:00
|
|
|
;; These are all hosted at the MDC in Berlin Buch. They are connected to
|
2020-01-19 10:53:19 +01:00
|
|
|
;; a dedicated VLAN and can only be accessed from berlin.guix.gnu.org.
|
2017-08-11 20:57:00 +02:00
|
|
|
(define hosts
|
2020-02-27 12:45:57 +01:00
|
|
|
'(;;; New machines. We should use DNS for them in the future.
|
2020-06-05 09:37:46 +02:00
|
|
|
;; hydra-guix-101
|
|
|
|
("141.80.167.158"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGqLy+LVndyfuzwZmln/nrHylAN7FotSmso9kZaYPpzo"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-102
|
|
|
|
("141.80.167.159"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEq4YoQHA0ShXIVbk7E4Jh4KZRPrt1EN9DYniraR8oYj"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-103
|
|
|
|
("141.80.167.160"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICiFpDx+NIVHD4ffZotDyJDdEiwo8Cy8fAQU6cLt6mT/"
|
|
|
|
128)
|
2019-12-23 22:35:41 +01:00
|
|
|
;; hydra-guix-104
|
|
|
|
("141.80.167.161"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINuVkwaeU+ddDpDQoxyFboiBnRNyhGDT8yOy8VAyJxZ6"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-105
|
|
|
|
("141.80.167.162"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH9o9VrkR2OKoGeuyJkzSsLIaDVApkbHEQvgr8aywQf8"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-106
|
|
|
|
("141.80.167.163"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBWN8i6YSGaRddTUgjodvQ4+g+6qYRe+0t9Mi8zOXawG"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-107
|
|
|
|
("141.80.167.164"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII+nI0XnLKShi3tZEdPdEVQ1VLlZjgQNSKMTK55FwH/4"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-108
|
|
|
|
("141.80.167.165"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHvMT+OlslyCzp7PvIvG/m9aCNhk3jnGS4kh8Cxh26CK"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-109
|
|
|
|
("141.80.167.166"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHkmH+o9P2kmgtjyGU9/vLEmFbxwUlq62lWu3lLc1J5o"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-110
|
|
|
|
("141.80.167.167"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2A2GxCw3oF6W2a5P9/K/jw1BWNJdAy9cr7NLRWvHVl"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-111
|
|
|
|
("141.80.167.168"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJoZitLeltTfd7dDAnRbuP1uCWmTsYjIKALcadXknMl"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-112
|
|
|
|
("141.80.167.169"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFS6PDp6MVutJiieJgDaLvub83oeTvWYLJnELxqCyO7x"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-113
|
|
|
|
("141.80.167.170"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMn5ujp4uTRVwYGPr2kgh7YMXISj+WyRxe8cGxzb1KrL"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-115
|
|
|
|
("141.80.167.172"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9zXGZ5b6QroN4RybnKLIMZwKtFuMpsNypkUXdFmH88"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-116
|
|
|
|
("141.80.167.173"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFg0y4UyuTkYoa3hwqj2ByQXYBMQdbPKz7nEz7I1lquL"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-117
|
|
|
|
("141.80.167.174"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINPPjhX6Z3bgt7EZmIfUdsgFnqp3yLr4msccjwsD2Q8F"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-118
|
|
|
|
("141.80.167.175"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJfJfTctnzEzVBLZxIq4WIOWY0s9JHcvIztdIYSFlklH"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-119
|
|
|
|
("141.80.167.176"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGE6FwL94/YDJIioQsLqh/MnwGcXmKYARd/kBGs+RWM7"
|
2020-01-19 10:46:01 +01:00
|
|
|
128)
|
|
|
|
;; hydra-guix-120
|
|
|
|
("141.80.167.177"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH3rXQZCQbVliJUgavSxNWvA4XUX7cXj7zd5VvUggCbv"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-121
|
2020-03-06 17:31:40 +01:00
|
|
|
#;
|
2020-01-19 10:46:01 +01:00
|
|
|
("141.80.167.178"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGNVaPCyKRrprBivEWYmtVecaJ+DIkET3gCYzGOuRAcz"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-122
|
|
|
|
("141.80.167.179"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHladb6HkAEmITzNOmI1kH7A4R1MiKp0Y72aPJNwuIDB"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-123
|
|
|
|
("141.80.167.180"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOM29Lj7rNDDsU5JOuDgFGfepWY9WHs6WaMLj9/7IceX"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-124
|
|
|
|
("141.80.167.181"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIODiKP7qIkkDeqvzKG2JsrDlNRe3CTN+icGgQ1J5ZUP+"
|
|
|
|
128)
|
|
|
|
;; hydra-guix-125
|
|
|
|
("141.80.167.182"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPrlasUtgZgKfJ0oNhBQx/2QIQ+J+jbAT842VoJlBhor"
|
|
|
|
192)
|
|
|
|
;; hydra-guix-126
|
|
|
|
("141.80.167.183"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIUprP1E2cRkMrwBnl1FkeCQ5UhZRin6dKQrB9p4WrV6"
|
|
|
|
192)
|
|
|
|
;; hydra-guix-127
|
|
|
|
("141.80.167.184"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHdrEcEoo2AQ6aDXhLUWxLhp4kTq+DJLwXxvgu4As1bo"
|
|
|
|
192)
|
|
|
|
;; hydra-guix-128
|
2020-03-06 17:31:40 +01:00
|
|
|
#;
|
2020-01-19 10:46:01 +01:00
|
|
|
("141.80.167.185"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAIomlYpFmdaTiWGf4DWs6sc831zbNlU5XBjicHmZINA"
|
|
|
|
192)
|
|
|
|
;; hydra-guix-129
|
|
|
|
("141.80.167.186"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICBZkQ4ZQgMGs/3druNQLsyFWHVhjtmN/sj1fxrPeUqJ"
|
|
|
|
192)))
|
2019-12-23 22:35:41 +01:00
|
|
|
|
2017-08-11 22:41:31 +02:00
|
|
|
(define template-x86_64
|
|
|
|
(match-lambda
|
2019-12-23 22:35:41 +01:00
|
|
|
;; Prefer building on the new nodes.
|
|
|
|
((name key 128)
|
|
|
|
(build-machine
|
|
|
|
(name name)
|
|
|
|
(user "hydra")
|
|
|
|
(system "x86_64-linux")
|
|
|
|
(host-key key)
|
|
|
|
(compression "no")
|
|
|
|
(speed 3) ;don't increase it too much
|
|
|
|
;or everything goes there
|
|
|
|
(parallel-builds 16)))
|
2020-01-19 11:09:55 +01:00
|
|
|
((name key 192)
|
2017-12-16 16:24:05 +01:00
|
|
|
(build-machine
|
2020-01-19 11:09:55 +01:00
|
|
|
(name name)
|
2017-12-16 16:24:05 +01:00
|
|
|
(user "hydra")
|
|
|
|
(system "x86_64-linux")
|
|
|
|
(host-key key)
|
|
|
|
(compression "no")
|
2020-01-19 11:09:55 +01:00
|
|
|
(speed 3) ;don't increase it too much
|
2018-04-26 23:01:48 +02:00
|
|
|
;or everything goes there
|
2017-12-16 16:24:05 +01:00
|
|
|
(parallel-builds 16)))
|
2019-07-18 18:05:25 +02:00
|
|
|
((ip key ram)
|
2017-08-11 22:41:31 +02:00
|
|
|
(build-machine
|
|
|
|
(name ip)
|
|
|
|
(user "hydra")
|
|
|
|
(system "x86_64-linux")
|
|
|
|
(host-key key)
|
2017-11-01 15:52:00 +01:00
|
|
|
(compression "no")
|
2017-08-11 22:41:31 +02:00
|
|
|
(speed 2)
|
|
|
|
(parallel-builds 2)))))
|
2017-07-23 03:36:37 +02:00
|
|
|
|
2017-08-11 22:41:31 +02:00
|
|
|
(define (x86_64->i686 machine)
|
|
|
|
(build-machine (inherit machine)
|
|
|
|
(system "i686-linux")))
|
2017-07-23 03:36:37 +02:00
|
|
|
|
2018-11-13 23:07:35 +01:00
|
|
|
(define (aarch64->armhf machine)
|
|
|
|
(build-machine
|
|
|
|
(inherit machine)
|
|
|
|
(system "armhf-linux")
|
|
|
|
(speed .9)
|
|
|
|
(parallel-builds 1))) ;limit to favor the "real" ARMv7 machines
|
|
|
|
|
2019-05-08 17:26:11 +02:00
|
|
|
(define (x86_64->qemu-armhf machine)
|
|
|
|
(build-machine
|
|
|
|
(inherit machine)
|
|
|
|
(system "armhf-linux")
|
2020-04-10 20:25:03 +02:00
|
|
|
(speed .8) ;prefer the "native" AArch64 machines
|
2019-05-08 17:26:11 +02:00
|
|
|
(parallel-builds 1)))
|
|
|
|
|
|
|
|
(define (x86_64->qemu-aarch64 machine)
|
|
|
|
(build-machine
|
|
|
|
(inherit machine)
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(speed .9)
|
|
|
|
(parallel-builds 1)))
|
|
|
|
|
2018-04-26 22:58:23 +02:00
|
|
|
(define overdrive
|
2018-01-18 15:16:55 +01:00
|
|
|
;; The SoftIron OverDrive 1000 donated by ARM:
|
|
|
|
;; <https://softiron.com/development-tools/overdrive-1000/>.
|
2018-04-26 22:58:23 +02:00
|
|
|
(list (build-machine
|
|
|
|
;; 91.160.117.201 or 2a01:e0a:1d:7270:af76:b9b:ca24:c465
|
|
|
|
(name "overdrive1.guixsd.org")
|
|
|
|
(port 52522)
|
|
|
|
(user "hydra")
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(host-key
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPf2f93c90oi9s9qGVGWC3sDgG7kEBvIEwR021NsfG+z root@overdrive")
|
|
|
|
(parallel-builds 2))
|
|
|
|
|
2019-05-08 17:28:50 +02:00
|
|
|
(build-machine
|
|
|
|
;; 80.67.176.63
|
|
|
|
(name "dover.guix.info")
|
|
|
|
(port 9023)
|
|
|
|
(user "hydra")
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(host-key
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJLRYD5RXZ3Espe+Kv1SzZl8Qc3NZ356Bq+cGjnKsDHY root@linux")
|
|
|
|
(parallel-builds 2))
|
|
|
|
|
2020-01-19 10:54:31 +01:00
|
|
|
;; Note: Temporary SSH tunnel.
|
|
|
|
;; Disabled 2019-12-08 as it moves elsewhere -- Ludo'
|
|
|
|
#;
|
2018-04-26 22:58:23 +02:00
|
|
|
(build-machine
|
2020-01-19 10:54:31 +01:00
|
|
|
;;(name "monokuma.lepiller.eu")
|
|
|
|
;;(port 2222)
|
|
|
|
(name "localhost")
|
|
|
|
(port 2230)
|
|
|
|
(user "hydra")
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(host-key
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIXfDYhBeVH0GenVp8PplaRF1jtNSOdLeNWf2k8G7K71 root@gnu")
|
2019-08-04 19:35:23 +02:00
|
|
|
(parallel-builds 2))
|
|
|
|
|
2019-09-09 21:41:31 +02:00
|
|
|
;; Note: Temporary SSH tunnel set up for {dmitri,sergei}.
|
2019-08-04 19:35:23 +02:00
|
|
|
(build-machine
|
|
|
|
;; Dynamic IP.
|
2019-09-09 21:41:31 +02:00
|
|
|
;; (name "dmitri.tobias.gr")
|
|
|
|
;; (port 5552)
|
|
|
|
(name "localhost") (port 2223)
|
2019-08-04 19:35:23 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(host-key
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqbQjcGAlYRunem82lXhc0T0xWWQUh53UPXzZzBePVQ nckx@dmitri.tobias.gr")
|
|
|
|
(parallel-builds 2))
|
|
|
|
|
|
|
|
(build-machine
|
|
|
|
;; Dynamic IP.
|
2019-09-09 21:41:31 +02:00
|
|
|
;; (name "sergei.tobias.gr")
|
|
|
|
;; (port 5551)
|
|
|
|
(name "localhost") (port 2222)
|
2019-08-04 19:35:23 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "aarch64-linux")
|
|
|
|
(host-key
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMbnlRcOJwtlNVc3LcEgagqXNEWya666RiwBHImXtjUJ nckx@sergei.tobias.gr")
|
2018-04-26 22:58:23 +02:00
|
|
|
(parallel-builds 2))))
|
|
|
|
|
2018-11-13 23:07:35 +01:00
|
|
|
(define armv7
|
|
|
|
(list
|
|
|
|
;; BeagleBoard (2 cores) kindly hosted by Simon Josefsson.
|
2020-04-29 22:21:16 +02:00
|
|
|
(build-machine
|
2020-05-05 23:12:00 +02:00
|
|
|
(name "guix-x15.sjd.se")
|
2020-04-29 22:21:16 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "armhf-linux")
|
2020-05-05 23:12:00 +02:00
|
|
|
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOfXjwCAFWeGiUoOVXEgtIeXxbtymjOTg7ph1ObMAcJ0 root@beaglebone"))
|
2020-04-29 22:21:16 +02:00
|
|
|
|
|
|
|
(build-machine
|
2020-05-05 23:12:00 +02:00
|
|
|
(name "guix-x15b.sjd.se")
|
2018-11-13 23:07:35 +01:00
|
|
|
(user "hydra")
|
|
|
|
(system "armhf-linux")
|
2020-04-29 22:21:16 +02:00
|
|
|
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJEbCOTTg9Tl0E23Mnc0UA4Ib2W5oDqTukk6mT98tOph root@beaglebone"))
|
2019-07-18 22:28:10 +02:00
|
|
|
|
2020-03-04 11:36:09 +01:00
|
|
|
#;(build-machine
|
2019-08-07 13:10:00 +02:00
|
|
|
(name "hydra-slave1.netris.org")
|
|
|
|
(port 7275)
|
2019-07-18 22:28:10 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "armhf-linux")
|
|
|
|
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDAe9mXufZXFfFlezafA/G2Nng66ssLLi5xPP+9NhGm root@hydra-slave1")
|
|
|
|
(speed 1.0)
|
|
|
|
(parallel-builds 2))
|
|
|
|
|
2020-02-27 19:05:01 +01:00
|
|
|
;; I/O errors as of 2020-02-27
|
|
|
|
#;(build-machine
|
2019-08-07 13:10:00 +02:00
|
|
|
(name "hydra-slave2.netris.org")
|
|
|
|
(port 7276)
|
2019-07-19 14:28:11 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "armhf-linux")
|
|
|
|
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzlJZzZfPiEcehmLFtQVYVt3j9w4DHPL6YgSC3EHJK+ root@hydra-slave2")
|
|
|
|
(speed 1.0)
|
|
|
|
(parallel-builds 2))
|
|
|
|
|
2020-02-27 19:05:01 +01:00
|
|
|
;; Not responding as of 2020-02-27
|
|
|
|
#;(build-machine
|
2019-08-07 13:10:00 +02:00
|
|
|
(name "hydra-slave3.netris.org")
|
|
|
|
(port 7274)
|
2019-07-18 22:28:10 +02:00
|
|
|
(user "hydra")
|
|
|
|
(system "armhf-linux")
|
|
|
|
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBLOVhnS24E+Z1bXLUU4z4gE5+HsFxDxUPA6MbLHmnME root@hydra-slave3")
|
|
|
|
(speed 1.0)
|
2020-02-27 18:08:14 +01:00
|
|
|
(parallel-builds 2))))
|
2018-11-13 23:07:35 +01:00
|
|
|
|
2020-01-19 10:51:43 +01:00
|
|
|
(let* ((x86_64 (map template-x86_64 hosts))
|
|
|
|
(fast (filter-map (match-lambda
|
|
|
|
((name key 128)
|
|
|
|
(find (lambda (machine)
|
|
|
|
(string=? ((@@ (guix scripts offload) build-machine-name) machine) name))
|
|
|
|
x86_64))
|
|
|
|
(_ #f))
|
|
|
|
hosts)))
|
2018-11-13 23:19:12 +01:00
|
|
|
(append overdrive (map aarch64->armhf overdrive)
|
2020-01-19 10:51:43 +01:00
|
|
|
armv7
|
|
|
|
x86_64 (map x86_64->i686 x86_64)
|
|
|
|
(map x86_64->qemu-aarch64 fast)
|
|
|
|
(map x86_64->qemu-armhf fast)))
|