guix/gnu/tests
Mathieu Othacehe bebcf97600
services: cuirass: Improve simple-cuirass-services.
Instead of returning multiple services in simple-cuirass-services, rely on the
instantiate-missing-services procedure to instantiate postgresql and
postgresql-role-service-type when missing.

Turn simple-cuirass-services procedure into
simple-cuirass-configuration->specs, that takes a simple-cuirass-configuration
record and returns a Cuirass specification.

Suggested-by: Ludovic Courtès <ludo@gnu.org>

* gnu/services/cuirass.scm (%default-cuirass-config): Remove it.
(simple-cuirass-services): Rename it to ...
(simple-cuirass-configuration->specs): ... this procedure.
* gnu/tests/cuirass.scm (cuirass-services): Remove postgresql and
postgresql-role services that are automatically instantiated.
(simple-cuirass-service): New variable.
(%cuirass-simple-test): Adapt it to use simple-cuirass-configuration->specs
instead of simple-cuirass-services.
* doc/guix.texi (Simple Cuirass): Update it.
2021-02-23 09:45:09 +01:00
..
audio.scm
base.scm
cuirass.scm services: cuirass: Improve simple-cuirass-services. 2021-02-23 09:45:09 +01:00
cups.scm
databases.scm services: postgresql: Add postgresql-role-service-type. 2021-01-28 12:57:27 +01:00
desktop.scm
dict.scm
docker.scm
ganeti.scm
guix.scm services: postgresql: Add socket directory support. 2021-01-28 12:57:26 +01:00
install.scm system: tests: Add a Btrfs RAID system test. 2021-01-27 11:38:44 -05:00
ldap.scm
linux-modules.scm
mail.scm
messaging.scm
monitoring.scm Merge branch 'staging' 2021-02-01 14:18:38 -05:00
networking.scm
nfs.scm
package-management.scm
reconfigure.scm
rsync.scm
security-token.scm
singularity.scm
ssh.scm
version-control.scm
virtualization.scm
web.scm services: postgresql: Add socket directory support. 2021-01-28 12:57:26 +01:00