2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00
Commit graph

235 commits

Author SHA1 Message Date
Julien Lepiller bf537f9cb0
hydra: berlin: Support `ja' language.
* hydra/modules/sysadmin/nginx.scm (languages-to-accept): Add ja.
2022-04-09 11:55:47 +02:00
Ludovic Courtès fc21ab3e2b
hydra: build-machine: Remove "--cpu base" from <hurd-vm-configuration>.
This would lead ext2fs to hang during startup, for unknown reasons.

* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Remove 'options'.
2022-03-18 22:55:28 +01:00
Maxim Cournoyer ea3817d9c8
hydra: build-machines: Update swap-devices field definition.
* hydra/modules/sysadmin/build-machines.scm
(berlin-new-build-machine-os)[swap-devices]: Use a swap-space record
for the device.
2022-03-17 16:32:56 -04:00
Maxim Cournoyer f49b15274e
berlin: Disable gzip compression for substitutes.
* hydra/modules/sysadmin/services.scm (frontend-services): Remove gzip
from the list of supported compression types.
2022-03-03 13:19:07 -05:00
Christopher Baines ad73d164ad
hydra: dns: Fix entry for data.qa.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Remove the v.
2022-03-02 18:45:07 +00:00
Christopher Baines 6b4f0dcf19
hydra: dns: Add entry for data.qa.
Pointing at the machine where I'm running a Guix Data Service instance
for processing non-master branches and patches.

This is intended to be a stable domain that can be used to serve
derivations to the bordeaux build coordinator agents, enabling builds
of derivations from non-master branches and patch series.

* hydra/modules/sysadmin/dns.scm (data.qa-ip4): New variable.
(guix.gnu.org.zone): Add entries for data.qa, bump serial.
2022-03-02 09:16:35 +00:00
Ricardo Wurmus 027f0e7a58
hydra: build-machines: Remove aarch64 emulation.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Remove aarch64-linux from default systems.
2022-02-18 20:18:46 +01:00
Ricardo Wurmus 7657d05981
hydra: honeycomb: Customize bootloader.
* hydra/modules/sysadmin/honeycomb.scm (honeycomb-extlinux-configuration-file):
New procedure.
(honeycomb-bootloader): New variable.
(honeycomb-system)[bootloader]: Use it.
2022-02-16 20:21:22 +01:00
Mathieu Othacehe cffcedb57e
Add a crash-dump service. 2022-02-02 17:06:12 +01:00
Christopher Baines 18f11364eb
hydra: dns: Add entries for lakeside.
This is a machine hosted by Hetzner, responsible for storing and
serving nars for bordeaux.guix.gnu.org.

* hydra/modules/sysadmin/dns.scm (lakeside-ip4, lakeside-ip6): New
variables.
(guix.gnu.org.zone): Add entries for lakeside, bump serial.
2022-02-01 19:13:53 +00:00
Ricardo Wurmus 36f83499e4
hydra: honeycomb: Remove custom Linux libre sources.
* hydra/modules/sysadmin/honeycomb.scm (linux-libre-5.15-version,
linux-libre-5.15-gnu-revision, deblob-scripts-5.15,
linux-libre-5.15-pristine-source, linux-libre-5.15-source): Remove.
(linux-libre-arm64-honeycomb): Use linux-libre-5.15-version.
2022-01-29 21:52:59 +01:00
Ricardo Wurmus e63f6ecd64
hydra: web: Fix typo.
* hydra/modules/sysadmin/web.scm: Fix typo.
2022-01-29 21:46:59 +01:00
Ludovic Courtès 601691e7ea
hydra: web: Provide all-in-one 'guix-web-site-service-type'.
* hydra/modules/sysadmin/web.scm (guix-static-web-sites)
(guix-web-site-service-type): New variables.
* hydra/nginx/berlin.scm (%berlin-servers): Remove
GUIX.GNU.ORG-NGINX-SERVER.
* hydra/website.scm (website-services): Remove
'static-web-site-service-type' instance for guix.gnu.org and use
'guix-web-site-service-type' instead.
* hydra/bayfront.scm <services>: Extend STATIC-WEB-SITE-SERVICE-TYPE for
hpc.guix.info.
2021-12-22 12:50:01 +01:00
Ludovic Courtès 25be6ec34d
hydra: web: 'static-web-site-service-type' is extensible.
* hydra/modules/sysadmin/web.scm (static-web-site-service-type)[compose,
extend, default-value]: New fields
2021-12-22 12:50:01 +01:00
Ludovic Courtès 7b1b28271c
hydra: web: 'static-web-site-service-type' handles lists of sites.
* hydra/modules/sysadmin/web.scm (static-web-site-mcron-jobs): Expect a
list of <static-web-site-configuration> records.
(static-web-site-activation): Likewise.
(static-web-site-accounts): Define using 'const'.
* hydra/website.scm (website-services): Adjust accordingly, using one
'static-web-site-service-type' instance for all of guix.gnu.org.
* hydra/bayfront.scm <services>: Adjust hpc.guix.info instance
accordingly.
2021-12-22 12:50:00 +01:00
Ludovic Courtès 4cf3743e0d
hydra: Add (sysadmin nginx) module.
This factorizes the guix.gnu.org web site configuration.
The nginx.conf derivation for berlin.scm is left unchanged.

* hydra/nginx/berlin.scm (le, redirect, %tls-settings)
(guix.gnu.org-redirect-locations, languages-to-accept)
(guix.gnu.org-redirects-for-each-language)
(guix.gnu.org-other-locations, accept-languages): Move to...
* hydra/modules/sysadmin/nginx.scm: ... here.
* hydra/nginx/berlin.scm (%berlin-servers): Use
GUIX.GNU.ORG-NGINX-SERVER instead of the inline copy.
2021-12-22 12:50:00 +01:00
Ricardo Wurmus e19f6d92b0
hydra: build-machines: Use TARGETS instead of TARGET.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Use TARGETS in BOOTLOADER-CONFIGURATION.
2021-12-21 22:14:08 +01:00
Mathieu Othacehe 710135e1b0
hydra: services: Increase the publish bypass threshold.
* hydra/modules/sysadmin/services.scm (frontend-services): Increase it to 100MiB.
2021-12-21 16:52:27 +01:00
Ludovic Courtès 275a2ac393
hydra: Factorize berlin's 'wireguard-peer' record.
* hydra/dover.scm (berlin-peer): Remove.  Use BERLIN-WIREGUARD-PEER
instead.
* hydra/modules/sysadmin/honeycomb.scm (berlin-peer): Likewise.
* hydra/modules/sysadmin/overdrive.scm (berlin-peer): Likewise.
* hydra/bayfront.scm: Use BERLIN-WIREGUARD-PEER instead of the inline
definition.
* hydra/modules/sysadmin/services.scm (berlin-wireguard-peer): New
variable.
2021-12-21 16:37:35 +01:00
Christopher Baines 8a7e2006fe
hydra: dns: Add IPv6 entries for bayfront.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add IPv6 entries
for bayfront.
2021-12-21 14:40:22 +00:00
Ricardo Wurmus af72899a3a
sysadmin: Disable SSH password authentication.
* hydra/modules/sysadmin/services.scm (frontend-services): Disable
password authentication for openssh-service-type.
2021-12-19 14:29:06 +01:00
Ricardo Wurmus 9a60c45f86
hydra: honeycomb: Permit root login from head node.
* hydra/modules/sysadmin/honeycomb.scm
<services>[openssh-service-type]: Permit root login from .131.
2021-12-19 10:11:49 +01:00
Ludovic Courtès 5e06b5d8b5
sysadmin: web: Jobs run at most for the duration of their period.
* hydra/modules/sysadmin/web.scm (build-program): Add #:max-duration
parameter.
[build]: Add calls to 'sigaction' and 'alarm'.  Add some logging.
(static-web-site-mcron-jobs): Pass #:max-duration to 'build-program'.
2021-12-03 12:48:05 +01:00
Ricardo Wurmus 6ba859f2fd
hydra: honeycomb: Increase number of build accounts to 50.
* hydra/modules/sysadmin/honeycomb.scm: Set build-accounts in
guix-configuration to 50.
2021-11-29 11:53:59 +01:00
Ricardo Wurmus 738f76c611
hydra: honeycomb: Increase cuirass remote workers to 4.
* hydra/modules/sysadmin/honeycomb.scm <services>: Increase workers in
cuirass-remote-worker-configuration to 4.
2021-11-26 15:43:22 +01:00
Ricardo Wurmus 55c32489cc
hydra: honeycomb: Add keep-alive value for berlin-peer.
* hydra/modules/sysadmin/honeycomb.scm (berlin-peer): Add keep-alive
field to wireguard-peer.
2021-11-26 15:06:06 +01:00
Ricardo Wurmus d24cedcdf7
hydra: Add module for Honeycomb LX2 nodes.
* hydra/modules/sysadmin/honeycomb.scm: New file.
2021-11-26 12:16:18 +01:00
Ludovic Courtès bdb914a124
services: web: 'static-web-site-configuration' can specify an update period.
* hydra/modules/sysadmin/web.scm (<static-web-site-configuration>)[period]:
New field.
(static-web-site-mcron-jobs): Honor it.
2021-10-28 17:14:07 +02:00
Ludovic Courtès f861820f3c
services: web: Spread mcron jobs over time to avoid peaks.
* hydra/modules/sysadmin/web.scm (static-web-site-mcron-jobs): Make
minutes non-zero.
2021-10-26 11:40:30 +02:00
Ludovic Courtès 5c5341d42d
hydra: web: Correctly handle non-ASCII file names.
* hydra/modules/sysadmin/web.scm (build-program)[build]: Call 'setenv'
and 'setlocale'.
2021-10-20 21:43:19 +02:00
Ludovic Courtès 1219516043
hydra: dns: Fix serial number.
This is a followup to df9e9b7f51.

* hydra/modules/sysadmin/dns.scm (guix.gnu.org-zone): Fix serial number
so it fits in 32 bits.
2021-10-14 12:13:17 +02:00
Ludovic Courtès 27dc74fbe3
hydra: berlin: Periodically populate Disarchive database from Cuirass.
* hydra/modules/sysadmin/services.scm (<disarchive-configuration>): New
record type.
(disarchive-activation, disarchive-mcron-jobs): New procedures.
(disarchive-service-type): New variable.
* hydra/berlin.scm <services>: Use it.
2021-10-14 11:36:55 +02:00
Ludovic Courtès df9e9b7f51
hydra: dns: Add disarchive.guix.gnu.org.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add "disarchive".
2021-10-14 10:03:08 +02:00
Ludovic Courtès 0eaa8b93f5
hydra: cuirass: Add build products for the 'disarchive' jobset.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add
'build-outputs' for "disarchive" job.  Increase period.
2021-10-12 15:53:53 +02:00
Ludovic Courtès 7a43f18f49
hydra: cuirass: Add the "source" and "disarchive" jobsets.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add the "source"
and "disarhive" jobsets.
2021-10-08 15:21:18 +02:00
Mathieu Othacehe 741a55f966
hydra: services: Reverse the Cuirass no-publish logic.
* hydra/modules/sysadmin/services.scm (cuirass-configuration): Use "publish?"
instead of "no-publish?".
2021-08-13 13:47:15 +02:00
Mathieu Othacehe 0dbb77f156
hydra: overdrive: Use the berlin local IP as only substitute server.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os): Add
the berlin local IP as only remote-worker substitute server.
2021-08-12 14:36:29 +02:00
Mathieu Othacehe df02f96476
hydra: build-machines: Use the berlin local IP as only substitute server.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os): Add
the berlin local IP as only remote-worker substitute server.
2021-08-12 14:32:38 +02:00
Mathieu Othacehe a981d79011
hydra: services: Do not start a remote-server publish server.
As this server does not use a cache it is prone to connection timeout errors,
as discussed here:
https://lists.gnu.org/archive/html/guix-devel/2021-08/msg00021.html.

Use the main publish server behind https://ci.guix.gnu.org instead.

* hydra/modules/sysadmin/services.scm (cuirass-service): Do not start a
publish server.
2021-08-12 13:10:25 +02:00
Mathieu Othacehe ca6f40272f
hydra: services: Increase the publish nar ttl.
This has been discussed here: <https://issues.guix.gnu.org/48926>.

* hydra/modules/sysadmin/services.scm (frontend-services): Increase the
default publish nar ttl to 180 days.
2021-08-12 11:56:20 +02:00
Ludovic Courtès 9128d634f4
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>.
2021-07-10 23:20:02 +02:00
Ludovic Courtès c21bd42d43
hydra: build-machines: Use max-jobs as the number of Cuirass workers.
That makes it consistent with the guix-daemon settings.

* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Use MAX-JOBS as the number of Cuirass workers.
2021-07-10 23:20:02 +02:00
Mathieu Othacehe cce2556dec
hydra: overdrive: Add Wireguard keep-alive support.
* hydra/modules/sysadmin/overdrive.scm (berlin-peer): Add Wireguard keep-alive support.
2021-06-01 14:25:19 +02:00
Christopher Baines 40af0856f2
hydra: dns: Add bordeaux sub-domain.
This is to be used for substitutes, currently served from bayfront.

* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add entry for
bordeaux.guix.gnu.org.
2021-05-26 18:56:33 +01:00
Mathieu Othacehe 2bbf568dbe
hydra: services: Do not cache build failures on Berlin.
Berlin doesn't build much stuff anymore, and removing transient cache failures
require manual intervention.

* hydra/modules/sysadmin/services.scm (guix-daemon-config): Do not cache failures.
2021-05-13 10:50:46 +02:00
Maxim Cournoyer a14781516c
overdrive: Register the export key of my Guix System.
This is required for offloading.

* hydra/keys/guix/maxim-desktop-export.pub: New key.
* hydra/modules/sysadmin/overdrive.scm (%authorized-guix-keys):
Authorize it.
2021-04-26 09:26:38 -04:00
Maxim Cournoyer 4313d2e33f
overdrive: Add myself as a sysadmin.
This is so that I can use overdrive1 as an offload machine.

* hydra/modules/sysadmin/overdrive.scm (%accounts) [maxim]: New
sysadmin account.
(overdrive-system) [service] <openssh-service-type>: Authorize my
public SSH key.
2021-04-26 08:45:08 -04:00
Mathieu Othacehe ef5218de1b
hydra: build-machines: Fix syntax error.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Remove deprecated field.
2021-04-14 09:56:28 +02:00
Mathieu Othacehe d28c89d478
hydra: services: Restrict system tests to x86_64-linux.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Restrict system tests
to the x86_64-linux architecture. The situation on other architectures is for
now too problematic to provide a valuable information.
2021-04-13 19:41:58 +02:00
Mathieu Othacehe e13320d475
hydra: services: Add Guix tarball as a build output.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add Guix tarball as a
build output.
2021-04-12 10:08:12 +02:00