guix-commits
[Top][All Lists]
Advanced

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

03/04: hydra: bayfront: Have NGinx serve reproducible.json from QA.


From: Christopher Baines
Subject: 03/04: hydra: bayfront: Have NGinx serve reproducible.json from QA.
Date: Thu, 2 Nov 2023 04:35:21 -0400 (EDT)

cbaines pushed a commit to branch master
in repository maintenance.

commit be2b815e9e26e2e4248fbe8d8b30b070ee32a7d8
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Nov 2 08:32:03 2023 +0000

    hydra: bayfront: Have NGinx serve reproducible.json from QA.
    
    This file is written and updated by the qa-frontpage, and is consumed
    by https://ismypackagereproducibleyet.org/
    
    * hydra/bayfront.scm (%qa.guix.gnu.org-nginx-servers): Serve
    reproducible.json.
---
 hydra/bayfront.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 5f7688b..e1a4c04 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -763,7 +763,13 @@ proxy_set_header  Via  $via;"
        (uri "/")
        (body '("proxy_pass http://qa-frontpage;";
                "proxy_http_version 1.1;"
-               "proxy_set_header Connection \"\";"))))))))
+               "proxy_set_header Connection \"\";")))
+      (nginx-location-configuration
+       (uri "/reproducible.json")
+       (body '("alias /var/lib/qa-frontpage/reproducible.json;"
+               "add_header Content-Type 'text/plain; charset=UTF-8';"
+               "gzip_static always;"
+               "gunzip on;"))))))))
 
 (define %packages.guix.gnu.org-nginx-servers
   (list



reply via email to

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