[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55792] [PATCH 2/3] hydra: bayfront: Serve the 10years.guix.gnu.org
From: |
Ludovic Courtès |
Subject: |
[bug#55792] [PATCH 2/3] hydra: bayfront: Serve the 10years.guix.gnu.org web site. |
Date: |
Sat, 4 Jun 2022 10:37:35 +0200 |
* hydra/bayfront.scm (ten-years-of-guix-web-site): New variable.
(services): Add instance via 'simple-service' call.
---
hydra/bayfront.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index e0f65ba..b5a1afc 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -1,5 +1,5 @@
;; OS configuration for bayfront
-;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès
<ludo@gnu.org>
+;; Copyright © 2016-2022 Ludovic Courtès <ludo@gnu.org>
;; Copyright © 2016, 2017, 2018, 2019, 2020 Andreas Enge <andreas@enge.fr>
;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
@@ -94,6 +94,12 @@
(git-url "https://gitlab.inria.fr/guix-hpc/website.git")
(directory "/srv/guix-hpc-web")))
+(define ten-years-of-guix-web-site
+ (static-web-site-configuration
+ (git-url "https://gitlab.com/zimoun/website-guix-10years")
+ (directory "/srv/ten-years-of-guix")))
+
+
(define %motd
(plain-file "motd"
"\
@@ -949,6 +955,11 @@ access_log /var/log/nginx/bordeaux.access.log;"))
static-web-site-service-type
(list guix-hpc-web-site))
+ ;; Running 10years.guix.gnu.org.
+ (simple-service 'ten-years-of-guix-web-site
+ static-web-site-service-type
+ (list ten-years-of-guix-web-site))
+
;; hpcguix-web as it can be seen at
;; <https://hpc.guix.info/browse>.
(service hpcguix-web-service-type
--
2.36.1