Commit Graph

1373 Commits

Author SHA1 Message Date
Ricardo Wurmus c4443f49fc
sysadmin/web: Use new GWL with GUIX_EXTENSIONS_PATH.
* hydra/modules/sysadmin/web.scm (gwl-web-shepherd-service): Remove
inner wrapping with GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH; set
GUIX_EXTENSIONS_PATH instead; run "guix workflow web".
(gwl-web-service-type): Update description.
2021-01-06 23:18:30 +01:00
Mathieu Othacehe 9c9af82086
hydra: services: Allow substitutes on berlin.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Allow substitutes.
2021-01-04 15:20:11 +01:00
Mathieu Othacehe 0291b509f2
hydra: berlin: Increase GC threshold.
* hydra/berlin.scm: Increase GC threshold to 10TiB.
2021-01-04 15:17:16 +01:00
Leo Famulari 3661cd522e
hydra: berlin: Add Leo Famulari as a sysadmin.
* hydra/berlin.scm (%sysadmins): Add lfam.
* hydra/keys/ssh/lfam.pub: New file.
2020-12-24 14:25:36 -05:00
Christopher Baines a7dd63a801
hydra: Increase parallel builds on the fosshost machines.
* hydra/fosshost1.scm: Increase Guix Build Coordinator agent parallel
builds to 4.
* hydra/fosshost2.scm: Likewise.
2020-12-23 16:47:46 +00:00
Christopher Baines 7bb7b0b680
hydra: Add swapfiles to fosshost machines.
So that they have more swap, and thus can run more parallel builds
without running out of memory.

* hydra/fosshost1.scm: Add /swapfile to swap-devices list.
* hydra/fosshost2.scm: Likewise.
2020-12-23 16:46:29 +00:00
Christopher Baines a57235c8d2
hydra: Allow fosshost machines to fetch substitutes from bayfront.
This matches the Guix Build Coordinator agent configuration.

* hydra/fosshost1.scm: Add bayfront key to authorized-keys.
* hydra/fosshost2.scm: Likewise.
2020-12-23 13:57:04 +00:00
Christopher Baines c6469cd138
hydra: Increase guix gc -F size to 200G.
15G was insufficient for running Guix Build Coordinator agents.

* hydra/fosshost1.scm: Increase -F to 200G.
* hydra/fosshost2.scm: Likewise.
2020-12-22 23:54:57 +00:00
Mathieu Othacehe 6b9ce8316b
hydra: build-machines: Add build timeouts.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os): Set
"timeout" and "max-silent-time" to the same values as "berlin".
2020-12-16 18:59:35 +01:00
Mathieu Othacehe 3193616e16
hydra: services: Update Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests): Update
it.
2020-12-08 12:20:58 +01:00
Mathieu Othacehe fe4cfd8f22
hydra: services: Use a larger queue size for Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-service): Set queue-size to 100
elements.
2020-12-08 12:19:04 +01:00
Mathieu Othacehe e5324a2d27
hydra: services: Update Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests): Update
it.
2020-12-07 16:30:25 +01:00
Leo Famulari 5f682a0815
hydra: nginx: Caching mirrors *really* proxy ci.guix.gnu.org.
This is a followup to commit 577b1d5b69.

* hydra/nginx/mirror-locations.conf: Fix 'cuix' typo.
2020-12-03 14:45:42 -05:00
Leo Famulari 577b1d5b69
hydra: nginx: Caching mirrors proxy ci.guix.gnu.org.
* hydra/nginx/mirror-locations.conf: Replace 'hydra.gnu.org' with
'ci.guix.gnu.org'.
2020-12-03 14:35:37 -05:00
Ludovic Courtès 626dcad143
hydra: services: Invoke "certbot renew" with the "webroot" options.
* hydra/modules/sysadmin/services.scm (%certbot-job): Pass
"--webroot-path" and "--webroot".
2020-12-03 13:52:48 +01:00
Tobias Geerinckx-Rice 6cd4aa1eed
nginx: berlin: Add a redirect for berlin.guix.info.
* hydra/nginx/berlin.scm (%berlin-servers): Redirect berlin.guix.info to
ci.guix.gnu.org.
2020-12-02 22:06:05 +01:00
Mathieu Othacehe 912d83b1cb
hydra: services: Update Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests): Update
it.
2020-12-02 22:04:04 +01:00
Tobias Geerinckx-Rice c85e128e11
nginx: berlin: Redirect legacy hostnames to current ones.
* hydra/nginx/berlin.scm (guix.info-locations): Remove variable.
(%berlin-servers): Move all legacy hostnames to their own server
configuration, and redirect to the current name.
2020-12-02 21:47:04 +01:00
Mathieu Othacehe 8a96db85bf
hydra: sysadmin: Use substitutes on build machines.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Enable substitutes on build machines.
2020-12-01 13:08:53 +01:00
Mathieu Othacehe f8bf2243dc
hydra: sysadmin: Enable Avahi on build machines.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os): Add
Avahi support.
2020-12-01 13:07:51 +01:00
Mathieu Othacehe 4ffb88f5e1
hydra: berlin-nodes: Authorize berlin key.
* hydra/berlin-nodes.scm: Authorize berlin key on build nodes.
2020-12-01 13:07:11 +01:00
Mathieu Othacehe da8baba818
hydra: berlin: Add Avahi support.
* hydra/berlin.scm: Add Avahi support.
2020-12-01 11:54:41 +01:00
Mathieu Othacehe 693895edac
hydra: sysadmin: Use substitutes on build machines.
* hydra/modules/sysadmin/build-machines.scm (build-machine-os): Enable
substitutes on build machines.
2020-12-01 11:47:59 +01:00
Mathieu Othacehe d27c74ca2b
hydra: sysadmin: Enable Avahi on build machines.
* hydra/modules/sysadmin/build-machines.scm (build-machine-os): Add Avahi
support.
2020-12-01 11:47:58 +01:00
Ludovic Courtès 2750915b1f
nginx: berlin: Fix typo.
* hydra/nginx/berlin.scm (%berlin-servers) <issues.guix.info 443>: Fix typo.
2020-11-29 12:22:34 +01:00
Ludovic Courtès 17cc5013fb
nginx: berlin: Add missing /.well-known location blocks.
* hydra/nginx/berlin.scm (%berlin-servers) <bootstrappable.org 443>: Add
'locations'.
<issues.guix.info 443>: Likewise.
2020-11-29 12:20:17 +01:00
Christopher Baines 08eb212b6d
hydra: dns: Update guix.gnu.org-zone serial.
As this was missed when adding the fosshost records.

* hydra/modules/sysadmin/dns.scm (guix.gnu.org-zone): Update serial.
2020-11-28 12:50:56 +00:00
Christopher Baines 82c98d17a7
hydra: berlin: Add Christopher Baines as a sysadmin.
* hydra/berlin.scm (%sysadmins): Add cbaines.
2020-11-28 10:10:25 +00:00
Christopher Baines b4c4b8eb09
hydra: Add fosshost machines.
These are virtual machines provided by Fosshost. They're situated in
the USA, and currently each have 6 cores + 8GB of RAM.

They're currently being uses to build things through the instance of
the Guix Build Coordinator I'm running to quality assurance and patch
review, but they can be used for other things as well.

* hydra/fosshost1.scm: New file.
* hydra/fosshost2.scm: New file.
2020-11-28 09:47:44 +00:00
Christopher Baines 3a9db54953
hydra: dns: Fix fosshost variable names.
* hydra/modules/sysadmin/dns.scm: Change fosshost variable names.
2020-11-28 09:01:30 +00:00
Christopher Baines 5c92030ec0
hydra: dns: Add fosshost machines.
* hydra/modules/sysadmin/dns.scm (fosshost-1-ipv4, fosshost-2-ipv4):
New variables.
(guix.gnu.org.zone): Add A records for the above IPs.
2020-11-28 08:57:57 +00:00
Mathieu Othacehe 8bd8f54315
hydra: services: Update Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests): Update to 0.0.1-55.fd432b8.
2020-11-25 16:58:32 +01:00
Mathieu Othacehe 5d18f13ab3
hydra: services: Update Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests): Update to 0.0.1-54.e0f97e.
2020-11-25 14:49:01 +01:00
Ludovic Courtès 21d1bfe3bf
nginx: berlin: Add location block for /audio.
* hydra/nginx/berlin.scm (guix.gnu.org-locations): Add location for /audio.
2020-11-23 14:51:05 +01:00
Ludovic Courtès fd82333ab0
hydra: cleanup-cuirass-roots: Run twice a day.
* hydra/modules/sysadmin/services.scm (gc-jobs): Run
CLEANUP-CUIRASS-ROOTS twice a day.
2020-11-23 14:50:32 +01:00
Ludovic Courtès 204956463a
hydra: berlin: Update manual to 1.2.0.
* hydra/berlin.scm (services)[static-web-site-configuration]: Switch to
"version-1.2.0".
2020-11-23 08:56:40 +01:00
Ludovic Courtès a479b39239
hydra: bayfront: Add extra channels to hpcguix-web.
* hydra/bayfront.scm (%hpcguix-web-channels): New variable.
(services)[hpcguix-web-configuration]: Use it.
2020-11-20 21:21:07 +01:00
Ludovic Courtès 41574e418a
hydra: bayfront: Explicitly list authorized keys.
* hydra/bayfront.scm (%build-node-keys): New variables.
(services): Pass #:authorized-keys to 'frontend-services'.
2020-11-20 21:21:07 +01:00
Ludovic Courtès f75efd0fe3
talks: Add BE-RSE talk.
* talks/be-rse-2020: New directory.
2020-11-20 21:21:07 +01:00
Ludovic Courtès 454bd26271
doc: Augment release document.
* doc/release.org (Run “make release” for one or several release
candidates): Add example to gpg-agent TTL.
(Add a Git tag): Pass '-f' to autoreconf.
2020-11-20 21:21:07 +01:00
Andreas Enge 77a4e57584
hydra: goggles: Hide file extensions in the index.
* hydra/goggles.scm (index): Define a DROP-EXTENSION procedure and use it.
2020-11-16 18:26:15 +01:00
Tobias Geerinckx-Rice fe13de2231
hydra: Support optional HTTPS to logs.guix.gnu.org.
* hydra/bayfront.scm (%certbot-configuration): Add logs.guix.gnu.org to the
DOMAINS.
* hydra/nginx/bayfront.conf: Add a Certbot webroot location to the
logs.guix.gnu.org HTTP server.  Add an HTTPS (‘ssl’) server block for the
same domain using the newly-generated certificate.
2020-11-16 17:31:42 +01:00
Marius Bakke 6465fd6d53
hydra: build-machines: GC more.
Recently many machines runs out of disk space regularly.

* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Free 150GiB instead of 90 GiB.
2020-11-11 00:42:03 +01:00
Ludovic Courtès 0bf8202de8
hydra: cleanup-cuirass-roots: Remove image GC roots after two days.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots)[old?]:
Change to 2 days.
2020-11-09 09:18:03 +01:00
Ludovic Courtès add9906718
hydra: services: Increase cache-bypass-threshold to 50 MiB (from 10 MiB).
* hydra/modules/sysadmin/services.scm (frontend-services): Add
 #:cache-bypass-threshold and use it in 'guix-publish-configuration'.
2020-11-06 12:30:46 +01:00
Ludovic Courtès 50b3c13261
hydra: Add signing key for guix-x15.sjd.se.
* hydra/keys/guix/berlin/guix-x15.sjd.se.pub: New file.
2020-11-04 11:40:23 +01:00
Tobias Geerinckx-Rice 04d2d25068
hydra: Add signing keys of {dmitri,sergei}.tobias.gr.
* hydra/keys/guix/berlin/dmitri.tobias.gr.pub,
hydra/keys/guix/berlin/sergei.tobias.gr.pub: New files.
2020-11-01 16:40:57 +01:00
Ludovic Courtès 0142a54267
hydra: berlin: Specify the complete list of authorized keys.
This is in preparation of purely declarative ACLs:

  https://issues.guix.gnu.org/39819#8

* hydra/berlin.scm (%build-node-key-directory, %build-node-keys): New
variables.
<top level>: Pass #:authorized-keys to 'frontend-services'.
2020-10-25 00:12:19 +02:00
Ludovic Courtès e641701d2b
hydra: Add signing keys of the berlin build nodes.
We're missing the keys for {dmitri,sergei}.tobias.gr, currently off-line.

* hydra/keys/guix/berlin: New directory.
2020-10-25 00:12:19 +02:00
Ludovic Courtès 1920a41478
hydra: services: 'frontend-services' has an #:authorized-keys parameter.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Add
 #:authorized-keys and honor it.
(frontend-services): Likewise.
2020-10-25 00:12:19 +02:00