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

118 commits

Author SHA1 Message Date
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