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

31 commits

Author SHA1 Message Date
Ludovic Courtès 4b01f03282
hydra: services: Add missing module to 'cleanup-cuirass-roots'.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots): Add (guix
derivations).
2020-04-24 12:08:37 +02:00
Ludovic Courtès aff8df6bf3
hydra: services: "cleanup-cuirass-roots" deletes roots for referrers.
* hydra/modules/sysadmin/services.scm (not-config?): New procedure.
(cleanup-cuirass-roots): Wrap gexp in 'with-extensions' and
'with-imported-modules'.
[root-target, derivation-referrers, delete-gc-root-for-derivation]: New
procedures.  Delete GC roots for the referrers of DELETED.
Arguments to 'file-system-fold' now preserve RESULT.
2020-04-24 11:55:21 +02:00
Ludovic Courtès 60aba43012
hydra: services: Accumulate the list of deleted files.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots)[handle-gc-root]:
Rename last argument to 'deleted'.  Cons FILE to DELETED when it's
actually deleted.
[deleted]: New variable.
Iterate over it to create "/gnu/big-stuff".
2020-04-24 10:56:29 +02:00
Ricardo Wurmus 224fedbef7
hydra/services: Remove roots for system tests and VM launch scripts.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots): Remove
roots ending on "-test" and "-run-vm.sh".
2020-04-23 08:10:26 +02:00
Ricardo Wurmus 8670d16e7d
hydra/services: Remove rottlog-service-type.
* hydra/modules/sysadmin/services.scm (frontend-services): Remove
rottlog-service-type as it is now included in the defaults.
2020-04-22 15:24:54 +02:00
Ricardo Wurmus 9356e3c940
hydra/services: cleanup-cuirass-roots: Collect file names.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots): Write
collected files to /gnu/big-stuff.
2020-04-22 15:24:16 +02:00
Ricardo Wurmus 8f484aa24c
hydra/services: cleanup-cuirass-roots: Delete more large files.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots): Delete
more images and opaque archives.
2020-04-22 15:24:16 +02:00
Ricardo Wurmus 1d8c25fdf7
sysadmin/services: Use cuirass with disabled fibers tests.
* hydra/modules/sysadmin/services.scm (cuirass-without-fiber-tests):
New variable.
(frontend-services)[services]: Use it.
2020-03-06 17:30:48 +01:00
Ludovic Courtès 4a2cd81ff8
hydra: services: Remove GC roots for *-installation.
Reported by Christopher Baines <mail@cbaines.net>.

* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots):
Remove *-installation in addition to *-disk-image.
2020-02-11 16:53:47 +01:00
Ludovic Courtès 14034ebaff
hydra: services: Double the number of build accounts.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Set
'build-accounts' to 4 times MAX-JOBS.  Bayfront without offloading was
hitting its max number of build users.
2020-01-27 11:20:37 +01:00
Ludovic Courtès 398bb88128
hydra: services: Increase the TTL for Cuirass.
* hydra/modules/sysadmin/services.scm (frontend-services)[cuirass-configuration]:
Increase TTL.
2019-08-16 11:33:10 +02:00
Ludovic Courtès f45766df83
hydra: services: Keep fewer disk images, and increase GC threshold.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots)[old?]:
Change to 5 days.
(%gc-jobs): Change to 800G free per day.
2019-08-16 11:33:10 +02:00
Ludovic Courtès a314075dc0
hydra: services: Fix typo in mcron job.
* hydra/modules/sysadmin/services.scm (%gc-jobs): Add missing quote.
2019-06-17 00:23:50 +02:00
Ludovic Courtès 9304c110af
hydra: services: Add 'cleanup-cuirass-roots' job.
* hydra/modules/sysadmin/services.scm (cleanup-cuirass-roots): New
variable.
(%gc-jobs): Use it.
2019-06-16 17:58:32 +02:00
Ludovic Courtès 993d33d7e9
hydra: Enable lzip support for 'guix publish'.
* hydra/modules/sysadmin/services.scm (frontend-services)
<guix-publish-configuration>: Add 'compression' field.
* hydra/berlin.scm: Pass #:publish-workers to 'frontend-services'.
2019-06-11 10:12:22 +02:00
Ludovic Courtès 49c30276eb
hydra: berlin: Remove unused nginx config files.
These were unused since commit
a94e1be874.

* hydra/nginx/berlin-locations.conf,
hydra/nginx/berlin.conf: Remove.
* hydra/modules/sysadmin/services.scm (frontend-services): Add
NGINX-SERVICE-TYPE only when NGINX-CONFIG-FILE is true.
* hydra/berlin.scm (services): Remove #:nginx-config-file argument to
'frontend-services'.
2019-05-01 18:00:24 +02:00
Ludovic Courtès 4354565ae6
hydra: Update Cuirass config to latest Guix changes.
This is a followup to Guix commit
b5f8c2c88543158e8aca76aa98f9009f6b9e743a.  Since evaluation now takes
place in an inferior, it's important that the Guix that builds that
inferior has no interference from the Guix-to-build; IOW, we must not
add the Guix-to-build to the load path.  Failing to do that can lead to
errors such as patches not found, due to a faulty %PATCH-PATH that
refers to the Guix-to-build.

* hydra/modules/sysadmin/services.scm (cuirass-specs): Set
 #:load-path-inputs to the empty list for all the job sets.
2019-01-14 10:33:04 +01:00
Ludovic Courtès e33d3fdc92
hydra: services: Reduce daemon build timeouts.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Reduce
'max-silent-time' and 'timeout'.
2018-12-28 22:32:09 +01:00
Ludovic Courtès 213556aef7
hydra: services: Use a 90-day TTL for 'guix publish'.
* hydra/modules/sysadmin/services.scm (frontend-services): Increase
default NAR-TTL to 90 days.  See Cuirass 'ttl' to a third of NAR-TTL.
* hydra/bayfront.scm: Pass #:nar-ttl to 'frontend-services'.
2018-11-17 18:05:49 +01:00
Ludovic Courtès a2682788c0
hydra: services: Keep Cuirass GC roots for 20 days.
* hydra/modules/sysadmin/services.scm (frontend-services): Specify a
20-day TTL for Cuirass GC roots.
2018-11-07 16:17:34 +01:00
Ludovic Courtès 36f5b0a92b
hydra: services: Add a second GC job after 12 hours.
* hydra/modules/sysadmin/services.scm (%gc-job): Rename to...
(%gc-jobs): ... this.  Add a job at 4PM.
(frontend-services): Adjust accordingly.
2018-11-07 16:17:28 +01:00
Ludovic Courtès 72bbee89c9
hydra: services: Fix "guix-modular-master" spec.
"build-aux/cuirass/guix-modular.scm" is designed to *not* rely on the
latest Guix modules.  Adding those to its load path led it to require
guile-gcrypt, which would fail if the host system did not have it
installed.

* hydra/modules/sysadmin/services.scm (cuirass-specs): For
"guix-modular-master", keep #:load-path-inputs empty.
2018-09-05 12:17:24 +02:00
Clément Lassieur 641b9750c3
hydra: services: Fix Cuirass configuration.
* hydra/modules/sysadmin/services.scm (guix-input): Take a NAME argument.
(cuirass-specs): Use the correct input names.  Rename '#:proc-arguments' to
'#:proc-args'.  Add specifications for the "staging" and "core-updates"
branches.  Add missing '#:load-path-inputs' and '#:package-path-inputs'
fields.
2018-07-20 20:10:28 +02:00
Ludovic Courtès ff4f32ae2e
hydra: services: Another typo.
* hydra/modules/sysadmin/services.scm (guix-input): #:optional, not #:key.
2018-07-20 18:41:33 +02:00
Ludovic Courtès aa78d83711
hydra: services: Fix typo.
* hydra/modules/sysadmin/services.scm (cuirass-specs): ungexp call to
'gexp-input'.
2018-07-20 18:39:54 +02:00
Ludovic Courtès 02f99dbaf2
hydra: services: Adjust Cuirass config to latest Cuirass.
* hydra/modules/sysadmin/services.scm (guix-input): New procedure.
(cuirass-specs): Adjust accordingly.
2018-07-20 18:32:53 +02:00
Clément Lassieur 59bd04c0ae
hydra: berlin: Fix the 'no-compile?' specification field.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Replace the
'#:no-compile?' pair with a dotted pair.
2018-06-26 15:11:05 +02:00
Ludovic Courtès 4e199181bc
hydra: berlin: Add the "guix-modular" jobset.
* hydra/modules/sysadmin/services.scm (cuirass-specs): Add
"guix-modular".
2018-06-07 12:12:28 +02:00
Ludovic Courtès 039b1832aa
hydra: Use the build job specification from Guix.
This was possible since Guix commit
66bc1d2aaf74fc7eb4ef9b3519c69bd37142ffb3.

* hydra/modules/sysadmin/services.scm (%cuirass-specs): Rename to...
(cuirass-specs): ... this.  Make it a procedure.  Change the
configuration to use "build-aux/cuirass/gnu-system.scm" and pass
'systems' in #:arguments.
(frontend-services): Add #:systems and adjust accordingly.
* hydra/berlin-new.scm <top level>: Pass #:systems to
'frontend-services'.
2018-02-18 01:25:58 +01:00
Ludovic Courtès 8137597187
hydra: berlin: Set max-jobs to 20.
* hydra/modules/sysadmin/services.scm (guix-daemon-config): Add
'build-accounts' field.
* hydra/berlin-new.scm <top level>: Pass #:max-jobs.
2018-01-22 16:22:24 +01:00
Ludovic Courtès d3de8c34b4
hydra: Factorize front-end config in (sysadmin services).
* hydra/modules/sysadmin/services.scm: New file.
* hydra/bayfront.scm: Use it.
(%gc-jobs, %certbot-job, %guix-daemon-config, start-firewall)
(firewall-service, %nginx-mime-types, %nginx-cache-activation)
(%cuirass-specs): Remove.
<top level>: Trim 'services' list and use 'frontend-services'.
* hydra/berlin.scm: Likewise.
* hydra/berlin-new.scm: Likewise.
2018-01-19 10:56:00 +01:00