[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: hydra: build-machines: Fetch substitutes only from berlin.
From: |
Ludovic Courtès |
Subject: |
02/02: hydra: build-machines: Fetch substitutes only from berlin. |
Date: |
Sat, 10 Jul 2021 17:20:14 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit 9128d634f4fddb4134744dc0e405bdb78865ef5c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Jul 10 23:19:03 2021 +0200
hydra: build-machines: Fetch substitutes only from berlin.
Fixes <https://bugs.gnu.org/49514>.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Add 'substitute-urls' to <guix-configuration>.
---
hydra/modules/sysadmin/build-machines.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/hydra/modules/sysadmin/build-machines.scm
b/hydra/modules/sysadmin/build-machines.scm
index 2338abf..6365803 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -1,6 +1,6 @@
;;; GNU Guix system administration tools.
;;;
-;;; Copyright © 2016, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;;
@@ -279,6 +279,11 @@ Match Address 141.80.167.131
(inherit config)
(authorized-keys
authorized-guix-keys)
+
+ ;; Fetch only from berlin.guix.gnu.org, using its local
+ ;; IP address.
+ (substitute-urls '("http://141.80.167.131"))
+
(max-silent-time 3600)
(timeout (* 6 3600))
(build-accounts