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

1094 commits

Author SHA1 Message Date
Ludovic Courtès
e724379f3e
hydra: bayfront: Remove now-unneeded bind mount for IRC logs.
* hydra/bayfront.scm (file-systems): Remove bind mount for
/var/www/.well-known/all-logs.
2022-11-06 18:05:11 +01:00
Ludovic Courtès
8c365f6904
hydra: services: Add 'goggles-bot' service.
* hydra/modules/sysadmin/services.scm (<goggles-bot-configuration>): New
record type.
(goggles-bot-program): New variable.
(goggles-bot-shepherd-services, goggles-bot-activation): New procedures.
(%goggles-bot-accounts, %goggles-bot-log-rotations)
(goggles-bot-service-type): New variables.
* hydra/bayfront.scm (services): Use it.
2022-11-06 18:05:11 +01:00
Ricardo Wurmus
9c59eb50ee
goggles-bot: Support more than one channel at a time.
* hydra/goggles-bot.scm (%options): Append channel.
(make-filename): Accept "channel" argument.
(log-to-file): Maintain a mapping from channels to ports.
(%channels): New procedure.
(main): Join all channels.
2022-11-02 22:50:53 +01:00
Mathieu Othacehe
85c61ee8de
hydra: nginx: Increase client body size for dumps.
* hydra/nginx/berlin.scm (%berlin-servers): Increase it.
2022-10-31 13:17:10 +01:00
Tobias Geerinckx-Rice
936ef08fd3
hydra: Add some more POWER.
This machine will show up as guix-ppc64le in /workers until the local
hostname is updated to match.

* doc/cuirass.org (External machines): Add sjd-p9.
* hydra/berlin.scm (services): Add it to wireguard-service-type.
* hydra/machines-for-berlin.scm (powerpc64le): Use it \o/.
2022-10-23 02:00:00 +02:00
Mathieu Othacehe
d2f3da8499
Revert "berlin: Remove powerpc64le-linux architecture."
This reverts commit d641115e20. The goal of this
commit was to make sure that the "guix" specification doesn't fail when there
is no powerpc64le-linux worker around.

The "guix" specification is now only supporting x86_64-linux and i686-linux
while the "guix-other-archs" specification supports powerpc64le-linux and
aarch64-linux.

This will restore powerpc64le-linux system for the "master" specification.
2022-10-28 16:15:36 +02:00
Maxim Cournoyer
32a2026207
berlin: Remove "degraded" mount option.
This option is mostly useful when using Btrfs RAID array that should
remain mountable even when one of device has a problem.  Since we are
no longer using a Btrfs RAID array, remove the option.

* hydra/berlin.scm (%common-btrfs-options): Remove "degraded"
mount option.
2022-10-27 10:54:30 -04:00
Maxim Cournoyer
7eab096f0c
berlin: Replace compress with compress-force for the Btrfs mount options.
compress-force writes fixed 512 KiB extents for any files, while
compress can write 128 MiB ones for non-compressible files, which
should greatly reduce the number of extents needed to store the NARs,
for example.

A very large number of extents can cause 'mount' to take a long time,
as is currently the case.

* hydra/berlin.scm (%common-btrfs-options): Replace "compress-force"
with "compress".
2022-10-27 10:54:14 -04:00
Christopher Baines
988c645059
hydra: milano-guix-1: Configure dhcp client to only work with eno1.
To avoid logging noise.

* hydra/milano-guix-1.scm [operating-system]<services>: Configure
dhcp-client-service-type to only use the eno1 interface.
2022-10-25 15:51:32 +01:00
Christopher Baines
db5838cb14
hydra: milano-guix-1: Add childhurds.
* hydra/milano-guix-1.scm (childhurd-os): New procedure.
[operating-system]<services>: Add childhurds.
2022-10-25 15:50:14 +01:00
Christopher Baines
73e337da47
hydra: Update key for cbaines.
This relates to the device I usually use now.

* hydra/keys/ssh/cbaines.pub: Update key.
2022-10-25 15:49:32 +01:00
Mathieu Othacehe
b04e2e64c0
machines-for-berlin: Restore the p9 machine.
* hydra/machines-for-berlin (powerpc64le): Restore it.
2022-10-22 11:43:58 +02:00
Mathieu Othacehe
d6a44aecb1
berlin: Split Cuirass guix specification in two.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Restrict guix
specification to x86_64-linux and i686-linux. Add a new guix-other-archs for
aarch64-linux and powerpc64le-linux.
2022-10-22 11:18:11 +02:00
Mathieu Othacehe
d641115e20
berlin: Remove powerpc64le-linux architecture.
Berlin has no powerpc64le-linux offload machine available which causes the
Cuirass guix evaluation to fail. Disable it for now.

* hydra/berlin.scm: Remove it.
2022-10-20 13:15:30 +02:00
Ludovic Courtès
aa89072e5c
nginx: berlin: Add missing /.well-known for http://bootstrappable.org.
With http://bootstrappable.org/.well-known (port 80) unavailable,
"certbot renew" cannot work.

* hydra/nginx/berlin.scm (%berlin-servers): Add missing /.well-known
location block for bootstrappable.org port 80.
2022-10-11 18:12:16 +02:00
Christopher Baines
d6718cbb74
hydra: Add machines.rec entry for dover.
This was recently passed on to me from Andreas.

* hydra/machines.rec: Add entry for dover.
2022-10-07 11:26:03 +01:00
Ludovic Courtès
325d3e5db6
hydra: machines: Remove machines that vanished long ago.
* hydra/machines.rec: Remove hydra.gnu.org, hydra.gnunet.org,
hydra-slave{0,1,2}.netris.org, and librenote.netris.org.
2022-10-03 18:37:30 +02:00
Maxim Cournoyer
36d610130e
hydra: berlin: Add mcron btrfs balance job.
* hydra/berlin.scm (btrfs-balance-job): New variable.
[services]: Register the job in the mcron-configuration inherited from
the frontend-services.
2022-10-03 12:05:32 -04:00
Maxim Cournoyer
dab787b4a2
hydra: berlin: Remove explicit file system utilities from packages.
This is no longer necessary with
45eac6cdf5c8d9d7b0c564b105c790d2d2007799 (services: Add file system
utilities to profile), which automatically takes care of that.

* hydra/berlin.scm (packages): Remove btrfs-progs and dosfstools.
2022-10-03 11:34:48 -04:00
Maxim Cournoyer
6b64909552
berlin: Add a separate, bootable /boot partition and use it.
* hydra/berlin.scm (%btrfs-boot-partition): New variable.
(%btrfs-ssd-uuid, %btrfs-pool-ssd): Delete variables.
(%common-btrfs-options): Delete comment.
(bootloader): Register a second efi2 target.
[file-systems]: Register %btrfs-boot-partition.  Adjust device of
the /boot/efi mount point.  Add a secnod /boot/efi2 mount point.
Remove anything that has to do with btrfs-ssd-ssd, which no longer
exists.  Relocate /home on the SAN.
2022-09-30 17:02:11 -04:00
Maxim Cournoyer
441f248607
berlin: Adjust %copy-kernel-and-initrd activation script.
The store being on a GRUB-invisible SAN device, the kernel and initrd
should now be copied to /boot, which is hosted on two local
SSDs (Btrfs RAID1).

* hydra/berlin.scm (%copy-kernel-and-initrd): Adjust to /boot instead
of to /store.  Copy the whole file name, not just its base name.
Let warnings go through.
[services]: Rename service from copy-kernel+initrd-to-/store to
copy-kernel+initrd-to-/boot.
2022-09-30 17:02:11 -04:00
Tobias Geerinckx-Rice
2cae951f3f
goggles: Linkify only the matching URL substring.
* hydra/goggles.scm (linkify-regexp): Exclude common ‘separators’.
(make-line-renderer): Render MATCH:PREFIX and MATCH:SUFFIX as plain text.
2022-09-30 15:24:31 +02:00
Tobias Geerinckx-Rice
8af3dea7db
goggles: Use a premade LINKIFY-REGEXP.
* hydra/goggles.scm (linkify-regexp): New variable.
(make-line-renderer): Use it.
2022-09-30 15:24:31 +02:00
Tobias Geerinckx-Rice
853f47e678
goggles: Tighten protocol regexp.
Even if Goog^Wthe W3C decides to add ‘httpx:’ tomorrow, it's just if not
more likely to be called XTTP.

* hydra/goggles.scm (make-line-renderer): Match https? explicitly.
2022-09-30 15:24:31 +02:00
Tobias Geerinckx-Rice
ade94305e4
goggles: Set rel="nofollow" on links.
* hydra/goggles.scm (make-line-renderer): Add rel="nofollow" to A elements.
2022-09-30 15:24:31 +02:00
Ludovic Courtès
5372ed0978
hydra: bayfront: Allow clients to cache hpc.guix.info/static.
* hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Add location block
for "/static", with 'Cache-Control' headers.
2022-09-30 11:58:25 +02:00
Ludovic Courtès
e574f98ef2
hydra: bayfront: Remove 'Last-Modified' and 'ETag' headers for hpc.guix.info.
* hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Use it under the
'raw-content' field of servers.
2022-09-30 11:56:36 +02:00
Ludovic Courtès
ba497ef4c3
hydra: dns: Remove video.guix.gnu.org.
* hydra/modules/sysadmin/dns.scm (video-streaming-ip4): Remove.
(guix.gnu.org.zone): Remove "video".  Update 'serial'.
2022-09-30 09:30:18 +02:00
Ludovic Courtès
bd166c126b
hydra: overdrive: Use the FQDN of overdrive1.
* hydra/deploy-overdrive1.scm: Adjust 'host-name'; add 'port'.
2022-09-26 17:35:00 +02:00
Maxim Cournoyer
99711415ca
hydra: overdrive: Use ZRAM.
* hydra/modules/sysadmin/overdrive.scm (overdrive-system)
[services]: Add zram-device-service-type.
2022-09-25 22:28:59 -04:00
Maxim Cournoyer
bcf7692d41
hydra: Turn overdrive1 config into a deployable machine config.
* hydra/overdrive1.scm: Rename to...
* hydra/deploy-overdrive1.scm: ... this.  Wrap the operating system
into a <machine> record.
2022-09-25 22:28:58 -04:00
Maxim Cournoyer
8cd6fbee6d
hydra: overdrive: Allow un-authenticated sudo to wheel group.
This enables reconfiguring the overdrive machines via 'guix deploy'.

* hydra/modules/sysadmin/overdrive.scm (overdrive-system)
[sudoers-file]: New field.
2022-09-25 22:28:58 -04:00
Maxim Cournoyer
ae6efd3523
hydra: build-machines: Enable non-authenticated sudo by group.
* hydra/modules/sysadmin/build-machines.scm
(berlin-new-build-machine-os)[sudoers]: Grant access by the "wheel"
group instead of by username.
2022-09-25 22:28:58 -04:00
Maxim Cournoyer
0ba36942a2
hydra: overdrive: Enable Btrfs compression.
* hydra/modules/sysadmin/overdrive.scm (%common-btrfs-options): New
variable.
(overdrive-system) [file-systems] </dev/sda3>: Use it for mount options.
2022-09-25 22:28:58 -04:00
Maxim Cournoyer
88ba60b97e
hydra: Adjust Btrfs balance jobs.
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.
2022-09-25 22:28:58 -04:00
Maxim Cournoyer
5779636e3a
hydra/machines.rec: Specify the vendor of the head server. 2022-09-21 12:07:18 -04:00
Maxim Cournoyer
b85461cefe
hydra/machines.rec: Replace GuixSD with Guix System. 2022-09-21 12:07:18 -04:00
Christopher Baines
1abb59e93a
hydra: bayfront: Reduce guix-daemon --cores.
* hydra/bayfront.scm (%guix-daemon-config)[extra-options]: Reduce
"--cores" to 8, as some builds use too much RAM when run with 16
cores..
2022-09-18 14:15:45 +02:00
Christopher Baines
90433edc3f
hydra: Add machines.rec entry for hamal.
* hydra/machines.rec: Add entry for hamal.
2022-09-18 14:14:39 +02:00
Ludovic Courtès
a44699b9c5
berlin: Have nginx depend on the anonip services.
* hydra/berlin.scm (%anonip-log-files): New variable.
(log-file->anonip-service-name): New procedure.
<services>: Add 'shepherd-requirement' field to 'nginx-configuration'.
Refer to %ANONIP-LOG-FILES instead of the inlined list.
2022-09-13 15:58:14 +02:00
Andreas Enge
45bff0e548
hydra: Unify dover configuration with generic overdrive approach.
* hydra/modules/sysadmin/overdrive.scm (%accounts): Add Andreas.
(overdrive-system): Add Andreas's ssh key.
* hydra/dover.scm: Replace content by a call to overdrive-system.
2022-09-13 15:53:05 +02:00
Ludovic Courtès
3b4290fe2b
hydra: bayfront: Allow clients to cache 10years.guix.gnu.org/static.
* hydra/bayfront.scm (%ten-years-of-guix-nginx-servers): Add location
blocks for "/static", with 'Cache-Control' headers.
2022-09-12 23:10:45 +02:00
Ludovic Courtès
fa20040ce5
hydra: bayfront: Remove 'Last-Modified' and 'ETag' headers for 10years.guix.
See <http://issues.guix.gnu.org/37207> for context.

* hydra/bayfront.scm (%disable-last-modified-header): New variable.
(%ten-years-of-guix-nginx-servers): Use it for both the HTTP and the
HTTPS server.
2022-09-12 23:10:45 +02:00
Ludovic Courtès
7124f93868
hydra: overdrive: Use 'swap-space'.
* hydra/modules/sysadmin/overdrive.scm (overdrive-system): Change
'swap-devices' to use 'swap-space'.
2022-09-11 12:06:36 +02:00
Ludovic Courtès
de740b9a07
hydra: overdrive: Use 'targets' in 'bootloader-configuration'.
* hydra/modules/sysadmin/overdrive.scm (overdrive-system): Use 'targets'
instead of 'target' in 'bootloader-configuration', the latter being
deprecated.
2022-09-11 12:04:23 +02:00
Ludovic Courtès
7b383c70b2
hydra: overdrive: Make substitute URL explicit.
Previously guix-daemon would run with --substitute-urls="https://ci.guix
https://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.
2022-09-11 12:01:46 +02:00
Ludovic Courtès
ddc1439977
hydra: dns: Add video.guix for live streaming server.
* hydra/modules/sysadmin/dns.scm (video-streaming-ip4): New variable.
(guix.gnu.org.zone): Add "video" A record.
2022-09-10 12:19:17 +02:00
Ludovic Courtès
c3e1a328b9
berlin: Add screen and strace to the system profile.
* hydra/berlin.scm (packages): Add SCREEN and STRACE.
2022-09-10 12:12:01 +02:00
Mathieu Othacehe
af0d279f40
hydra: Add offloading service to Berlin.
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.
2022-09-07 08:05:58 +02:00
Maxim Cournoyer
4fdd0b589a
hydra: Register Berlin's own signing key for substitutes.
* hydra/berlin.scm (%build-node-keys): Expound comment.
* hydra/keys/guix/berlin.pub: New file.

Reported-by: Ricardo Wurmus <rekado@elephly.net>
2022-09-06 10:09:14 -04:00