guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: harbourfront: Configure the guix-build-coo


From: Christopher Baines
Subject: branch master updated: hydra: harbourfront: Configure the guix-build-coordinator agent.
Date: Fri, 21 Jan 2022 07:38:44 -0500

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 036656c  hydra: harbourfront: Configure the guix-build-coordinator 
agent.
036656c is described below

commit 036656cae0b60f19dc2ad3f5b8163f5518afbe96
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri Jan 21 12:33:51 2022 +0000

    hydra: harbourfront: Configure the guix-build-coordinator agent.
    
    * hydra/harbourfront.scm (services): Add the Guix Build Coordinator
    agent, and alter the guix-service-type configuration accordingly.
---
 hydra/harbourfront.scm | 39 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 37 insertions(+), 2 deletions(-)

diff --git a/hydra/harbourfront.scm b/hydra/harbourfront.scm
index ae9cd98..d5b7044 100644
--- a/hydra/harbourfront.scm
+++ b/hydra/harbourfront.scm
@@ -1,5 +1,5 @@
 (use-modules (gnu))
-(use-service-modules mcron networking ssh)
+(use-service-modules mcron networking ssh guix)
 (use-package-modules certs screen ssh vim)
 
 (define gc-jobs
@@ -75,8 +75,43 @@
                             (mcron-configuration
                              (jobs gc-jobs)))
                    (service ntp-service-type)
+
+                   (service guix-build-coordinator-agent-service-type
+                            (guix-build-coordinator-agent-configuration
+                             (coordinator
+                              "https://coordinator.bayfront.guix.gnu.org";)
+                             (authentication
+                              (guix-build-coordinator-agent-password-file-auth
+                               (uuid "7470cbd5-f64e-496c-a57b-593543ee4686")
+                               (password-file
+                                "/etc/guix-build-coordinator-agent-password")))
+                             (max-parallel-builds 8)
+                             (max-1min-load-average 8)
+                             (systems '("x86_64-linux" "i686-linux"))
+                             (derivation-substitute-urls
+                              (list "https://data.guix.gnu.org";))
+                             (non-derivation-substitute-urls
+                              (list "https://bordeaux.guix.gnu.org";))))
+
                    (modify-services %base-services
                      (guix-service-type config =>
                                         (guix-configuration
-                                         (use-substitutes? #f)))))))
+                                         (substitute-urls
+                                          '("https://bordeaux.guix.gnu.org";))
+
+                                         (max-silent-time (* 24 3600))
+                                         (timeout (* 48 3600))
 
+                                         (authorized-keys
+                                          (cons*
+                                           ;; for substituting derivations
+                                           (plain-file
+                                            "data.guix.gnu.org.pub"
+                                            "
+(public-key
+ (ecc
+  (curve Ed25519)
+  (q #1EEE5340C3AAD6E062A1395A88A86FC75982E8BC7DCBAE171858EEAAB14AAB77#)
+  )
+ )")
+                                           
%default-authorized-guix-keys))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]