[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: hydra: Set up deployment of new nodes.
From: |
Ricardo Wurmus |
Subject: |
02/08: hydra: Set up deployment of new nodes. |
Date: |
Sun, 19 Jan 2020 05:12:08 -0500 (EST) |
rekado pushed a commit to branch master
in repository maintenance.
commit f61efadb3eba39d3f3dc9ee865dff175c7387cba
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sun Jan 19 10:42:36 2020 +0100
hydra: Set up deployment of new nodes.
* hydra/berlin-nodes.scm (%new-ids): New variable.
(new-system-for): New procedure.
<top-level>: Add new machines to returned list.
---
hydra/berlin-nodes.scm | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git a/hydra/berlin-nodes.scm b/hydra/berlin-nodes.scm
index ede89f9..2fe2932 100644
--- a/hydra/berlin-nodes.scm
+++ b/hydra/berlin-nodes.scm
@@ -21,11 +21,28 @@
(define (id->ip id)
(format #f "141.80.167.~d" (+ 131 id)))
-(map (lambda (id)
- (machine
- (operating-system (system-for id))
- (environment managed-host-environment-type)
- (configuration (machine-ssh-configuration
- (system "x86_64-linux")
- (host-name (id->ip id))))))
- %ids)
+
+(define %new-ids
+ (delete 114 (iota 26 104 1)))
+(define (new-system-for id)
+ (berlin-new-build-machine-os id
+ #:emulated-architectures
+ '("arm" "aarch64")))
+
+(append
+ (map (lambda (id)
+ (machine
+ (operating-system (system-for id))
+ (environment managed-host-environment-type)
+ (configuration (machine-ssh-configuration
+ (system "x86_64-linux")
+ (host-name (id->ip id))))))
+ %ids)
+ (map (lambda (id)
+ (machine
+ (operating-system (new-system-for id))
+ (environment managed-host-environment-type)
+ (configuration (machine-ssh-configuration
+ (system "x86_64-linux")
+ (host-name (format #f "141.80.167.~d" (+ id 57)))))))
+ %new-ids))
- branch master updated (753534a -> f34f611), Ricardo Wurmus, 2020/01/19
- 01/08: hydra: Disable node 5., Ricardo Wurmus, 2020/01/19
- 02/08: hydra: Set up deployment of new nodes.,
Ricardo Wurmus <=
- 03/08: hydra: Remove dead machines., Ricardo Wurmus, 2020/01/19
- 05/08: hydra: Use system emulation on 128G nodes only., Ricardo Wurmus, 2020/01/19
- 04/08: hydra: Add new nodes., Ricardo Wurmus, 2020/01/19
- 06/08: hydra: Update comments., Ricardo Wurmus, 2020/01/19
- 07/08: hydra: Disable Overdrive node in limbo., Ricardo Wurmus, 2020/01/19
- 08/08: hydra: Add configuration for 192G RAM nodes., Ricardo Wurmus, 2020/01/19