Balancing metadata is not recommended, so do not do it. Reduce
balance usage filter threshold to 5%, which is more reasonable for a
balance running often and require less free blocks.
* hydra/modules/sysadmin/overdrive.scm (btrfs-job): Rename to:
(btrfs-balance-job). Use the same snippet as used in
'deploy-node-129.scm'.
(overdrive-system) [services] <mcron-service-type>: Adjust for job rename.
* hydra/milano-guix-1.scm: Likewise.
* hydra/monokuma.scm: Likewise.
* hydra/modules/sysadmin/overdrive.scm (overdrive-system): Use 'targets'
instead of 'target' in 'bootloader-configuration', the latter being
deprecated.
Previously guix-daemon would run with --substitute-urls="https://ci.guixhttps://bordeaux.guix"; this didn't break build farm isolation though
since the key of bordeaux.guix wasn't in /etc/guix/acl.
* hydra/modules/sysadmin/overdrive.scm (overdrive-system): Add
'substitute-urls' to <guix-configuration> record.
Add a service registering the /etc/guix/machines.scm file to enable the
offload mechanism.
* hydra/modules/sysadmin/services.scm (%offload-service): New variable.
(frontend-services): Use it.
These are used in, e.g., Guix System's /etc/os-release and were
embarrassingly broken.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations):
Handle the absence of a trailing ‘/’ in manual & cookbook URLs.
Since these machines are hosted in the MDC data center, this ensures
they access ci.guix.gnu.org via the LAN.
* hydra/modules/sysadmin/honeycomb.scm (honeycomb-system): Add
'hosts-file' field.
The result of (hash config period) varies between runs. Thus, starting
from bdb914a124, each run of "guix system
build -d ..." would produce a different derivation.
This commit fixes that.
* hydra/modules/sysadmin/web.scm (static-web-site-mcron-jobs)[record->list]:
New procedure.
Use it.
This is a new machine, intended to replace lakeside as storage for
bordeaux.guix.gnu.org nars as lakeside has disk issues.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add entry for bishan.
This would lead ext2fs to hang during startup, for unknown reasons.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Remove 'options'.
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.
* hydra/modules/sysadmin/honeycomb.scm (honeycomb-extlinux-configuration-file):
New procedure.
(honeycomb-bootloader): New variable.
(honeycomb-system)[bootloader]: Use it.
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.
* 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.
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.