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

300 commits

Author SHA1 Message Date
Leo Famulari f7995b9816
hydra: cuirass: Remove broken kernel-updates-images jobset.
This jobset doesn't help test the new kernel versions because the
Cuirass system on berlin.gnu.org doesn't reliably build images, failing
with "missing derivation" errors like this:

------
cannot build missing derivation ?/gnu/store/hs6kp1lqgymhyp3jndc0dsp0pn4psgv0-gui-installed-desktop-os-encrypted.drv?
------

This is bug #54447:

https://issues.guix.gnu.org/54447

* hydra/modules/sysadmin/services.scm (cuirass-specs): Remove
'kernel-updates-images'.
2023-03-18 17:57:24 -04:00
Christopher Baines 34fe99d23b
sysadmin: qa-frontpage: Update to 0-6.daccc0c.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-6.daccc0c.
[source]: Switch to Savannah.
2023-03-15 12:59:22 +00:00
Christopher Baines a7dbbc4d3b
sysadmin: qa-frontpage: Update to 0-5.bfa1958.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-5.bfa1958.
2023-03-12 22:12:42 +00:00
Leo Famulari bec8c7e2c2
hydra: cuirass: Add jobset for testing Go language updates.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add 'go-team'.
2023-03-07 17:34:02 -05:00
Christopher Baines 8fd322c376
sysadmin: qa-frontpage: Update to 0-4.cd56871.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-4.cd56871.
2023-03-06 17:55:45 +00:00
Ludovic Courtès 39f57a0f14
hydra: services: Add Cuirass spec for Guile.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add 'guile'
jobset.
2023-03-05 22:36:26 +01:00
Christopher Baines 27a1f0a083
sysadmin: qa-frontpage: Update to 0-3.39e9ec6.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-3.39e9ec6.
2023-03-03 16:11:12 +00:00
Mathieu Othacehe 8292823c1e
hydra: services: Add Rust team to Cuirass.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add it.
2023-03-02 16:40:04 +01:00
Christopher Baines 5ce5c8e74e
sysadmin: qa-frontpage: Update to 0-2.e082122.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-2.e082122.
2023-02-21 13:59:50 +00:00
Christopher Baines 4d17f1a1bf
sysadmin: packages: qa-frontpage: Update to 0-1.95f6322.
* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-1.95f6322.
2023-02-03 13:06:17 +01:00
Maxim Cournoyer c6bb774462
hydra/services: Allow configuring full guix gc jobs.
* hydra/modules/sysadmin/services.scm (gc-jobs): Document that
threshold can be #f, and remove the -F and threshold value for the
guix gc jobs in this case.  Also run once instead of twice a day when
a full gc is used.
2023-01-18 16:30:11 -05:00
Christopher Baines d36fd168a9
hydra: services: Add service for the Guix Packages website.
This has been running on bayfront in a screen session, but this commit
adds configuration so it's run by the shepherd.

* hydra/modules/sysadmin/services.scm (guix-packages-website-configuration,
guix-packages-website-configuration?,
guix-packages-website-configuration-origin,
guix-packages-website-configuration-port,
guix-packages-website-configuration-host): New procedures.
(guix-packages-website-service-type): New variable.
* hydra/bayfront.scm <services>: Add service for the Guix packages website.
2023-01-15 16:23:18 +00:00
Christopher Baines 8f4260244e
hydra: sysadmin: packages: Update qa-frontpage.
This fixes missing assets.

* hydra/modules/sysadmin/packages.scm (qa-frontpage): Update to
0-0.eb8571d.
2023-01-14 23:32:24 +00:00
Christopher Baines 8c17ac5644
hydra: services: Add service for the QA Frontpage.
This has been running on bayfront, but so far without a shepherd
service.  These changes address that.

I did attempt using the least-authority-wrapper, but ran in to
problems getting SSH working.

* hydra/modules/sysadmin/packages.scm: New file.
* hydra/modules/sysadmin/services.scm (qa-frontpage-configuration,
qa-frontpage-configuration?, qa-frontpage-configuration-package,
qa-frontpage-configuration-port, qa-frontpage-configuration-host,
qa-frontpage-configuration-database,
qa-frontpage-configuration-submit-builds?,
qa-frontpage-configuration-manage-patch-branches?): New procedures.
(qa-frontpage-service-type): New variable.
* hydra/bayfront.scm <services>: Add the QA Frontpage.
2023-01-14 23:06:16 +00:00
Christopher Baines 8f151c6a81
hydra: services: Fix goggles missing guile-lib.
* hydra/modules/sysadmin/services.scm (goggles): Add guile-lib to
googles with-extensions.
2023-01-14 22:59:17 +00:00
Mathieu Othacehe 72d8a62466
sysadmin: build-machines: Enable guix-daemon debug output.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Enable it.
2023-01-10 09:02:28 +01:00
Mathieu Othacehe 78e3791b13
sysadmin: build-machines: Enable substitute debug.
* hydra/modules/sysadmin/build-machines.scm (berlin-new-build-machine-os):
Enable it.
2023-01-09 17:22:34 +01:00
Mathieu Othacehe fa9b904b7b
sysadmin: services: Fix typo.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Fix a typo in the
manifest name.
2023-01-07 15:39:59 +01:00
Mathieu Othacehe d5a70911a3
sysadmin: services: Fix kernel-update specifications.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Use the
"kernel-updates" branch for the kernel-update specifications.
2023-01-05 18:43:08 +01:00
Mathieu Othacehe 0fad0d2cc4
sysadmin: services: Build kernel-update specifications.
* hydra/modules/sysadmin/services.scm (frontend-services): Add
"kernel-updates" to the default branches.
2023-01-05 18:28:15 +01:00
Ludovic Courtès 97cbea05bf
hydra: nginx: Add missing semicolons.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations): Add
missing semicolons.
2023-01-04 23:07:07 +01:00
Ludovic Courtès af5dab2543
hydra: nginx: Fix "if_modified_since" value.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations):
Change "if_modified_since" value to "exact".
2023-01-04 23:03:24 +01:00
Ludovic Courtès 5664984bdd
hydra: web: Add mcron job to build /packages.json and /sources.json.
Previously, these two files were built as part of the web site's build
process.

* hydra/modules/sysadmin/web.scm (%package-metadata-directory)
(guix-web-site-mcron-jobs, guix-web-site-activation): New variables.
(guix-web-site-service-type): Add extensions using them.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations): Add
locations for /packages.json and /sources.json.
2023-01-04 22:06:04 +01:00
Leo Famulari 7767aa4039
hydra: cuirass: Add jobsets for testing kernel updates.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add 'kernel-updates',
'kernel-updates-images', and 'kernel-updates-system-tests' jobsets.
2022-12-29 13:52:43 -05:00
Ludovic Courtès 84d4be1066
hydra: web: Build the stable manual from 'version-1.4.0'.
* hydra/modules/sysadmin/web.scm (guix-static-web-sites): Switch stable
manual to 'version-1.4.0'.
2022-12-18 22:13:02 +01:00
Ludovic Courtès c096a73620
hydra: Add two more childhurds to offload to.
* hydra/modules/sysadmin/build-machines.scm (childhurd-ip?): Add two
more IPs.
* hydra/machines-for-berlin.scm (childhurd-ip?): Likewise.
2022-12-18 22:13:02 +01:00
Maxim Cournoyer 7607878239
Replace execl with system* in mcron jobs.
Using execl causes the run-job mcron forked guile process to be
hijacked and the lost of some output annotation.

* doc/infra-handbook.org (Btrfs balance mcron job): Replace execl with
system* and drop first argument.
* hydra/berlin.scm (btrfs-balance-job): Likewise.
* hydra/deploy-node-129.scm (btrfs-balance-job): Likewise.
* hydra/milano-guix-1.scm (btrfs-balance-job): Likewise.
* hydra/modules/sysadmin/overdrive.scm (btrfs-balance-job): Likewise.
* hydra/monokuma.scm (btrfs-balance-job): Likewise.
2022-11-28 22:37:11 -05:00
Ludovic Courtès e97f78bd61
hydra: nginx: Redirect /packages to packages.guix.gnu.org.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-redirect-locations):
Add location blocks for /packages and /LANG/packages.
2022-11-25 19:07:38 +01:00
Christopher Baines 8e3b4aed0e
hydra: dns: Add entry for 'packages'.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add "packages".
(guix.gnu.org-zone): Bump 'serial'.
2022-11-19 10:34:21 +00:00
Ludovic Courtès 0fec776215
hydra: dns: Switch guix.gnu.org to bayfront.
This is a temporary switch while berlin goes under maintenance.

* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Change "A" record
for "@" to BAYFRONT-IP4.  Add "AAAA" record for "@".  Bump serial.
2022-11-18 11:58:02 +01:00
Ludovic Courtès 136af3a877
hydra: services: Map glibc-utf8-locales in the goggles-bot container.
* hydra/modules/sysadmin/services.scm (goggles-bot-shepherd-services)
[program/wrapped]: Add mapping for "/run/current-system/locale".
Adjust GUIX_LOCPATH.
2022-11-18 11:55:42 +01:00
Ludovic Courtès 464a4b35dd
hydra: nginx: Listen on IPv6 for guix.gnu.org.
* hydra/bayfront.scm (%guix.gnu.org-http-nginx-servers): Add IPv6
'lisetn' clause.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-nginx-server): Likewise.
2022-11-18 11:31:58 +01:00
Ludovic Courtès 81920f5117
hydra: services: Ensure 'goggles-bot' really runs in a UTF-8 locale.
* hydra/modules/sysadmin/services.scm (goggles-bot-shepherd-services):
Pass #:preserved-environment-variables to 'least-authority-wrapper'.
2022-11-18 11:31:57 +01:00
Ricardo Wurmus 9c49b7c10f
goggles: Do not make %goggles-irc-log-directory world-writable.
* hydra/modules/sysadmin/services.scm (%goggles-activation): Do not
create the IRC log directory, and don't make it world-writable; the
directory is created by goggles-bot-activation.
2022-11-09 12:37:24 +01:00
Mathieu Othacehe 44195a945b
hydra: build-machines: Add myself as a sysadmin.
hydra/modules/sysadmin/build-machines.scm (sysadmins): Add myself.
2022-11-08 12:30:03 +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
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
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
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 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
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 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
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
Christopher Baines 85d8e93821
hydra: dns: Add entry for 'qa'.
* hydra/modules/sysadmin/dns.scm (guix.gnu.org.zone): Add "qa".
(guix.gnu.org-zone): Bump 'serial'.
2022-09-06 09:44:53 +01:00