<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/tests/databases.scm, branch wip-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=wip-deploy</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2018-10-17T23:12:22Z</updated>
<entry>
<title>services: dhcp-client: Deprecate 'dhcp-client-service' procedure.</title>
<updated>2018-10-17T23:12:22Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-17T22:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=39d7fdce453b0ca23ecbed72048647debbaa58a6'/>
<id>urn:sha1:39d7fdce453b0ca23ecbed72048647debbaa58a6</id>
<content type='text'>
* gnu/services/networking.scm (dhcp-client-service-type): Add default
value.
* gnu/system/examples/bare-bones.tmpl: Use (service
dhcp-client-service-type) instead of (dhcp-client-service).
* gnu/system/examples/beaglebone-black.tmpl: Likewise.
* gnu/tests/base.scm (%avahi-os): Likewise.
* gnu/tests/databases.scm (%memcached-os): Likewise.
(%mongodb-os): Likewise.
* gnu/tests/dict.scm (%dicod-os): Likewise.
* gnu/tests/mail.scm (%opensmtpd-os): Likewise.
(%exim-os): Likewise.
(%dovecot-os): Likewise.
* gnu/tests/messaging.scm (run-xmpp-test): Likewise.
(run-bitlbee-test): Likewise.
* gnu/tests/monitoring.scm (%prometheus-node-exporter-os): Likewise.
* gnu/tests/networking.scm (%inetd-os): Likewise.
(run-iptables-test): Likewise.
* gnu/tests/nfs.scm (%base-os): Likewise.
* gnu/tests/rsync.scm (%rsync-os): Likewise.
* gnu/tests/ssh.scm (run-ssh-test): Likewise.
* gnu/tests/version-control.scm (%cgit-os): Likewise.
(%git-http-os): Likewise.
(%gitolite-os): Likewise.
* gnu/tests/virtualization.scm (%libvirt-os): Likewise.
* gnu/tests/web.scm (%httpd-os): Likewise.
(%nginx-os): Likewise.
(%varnish-os): Likewise.
(%php-fpm-os): Likewise.
(%hpcguix-web-os): Likewise.
(%tailon-os): Likewise.
* tests/guix-system.sh: Likewise.
* doc/guix.texi (Networking Services): Document
'dhcp-client-service-type' and remove 'dhcp-client-service'.
</content>
</entry>
<entry>
<title>tests: databases: Add a system test for PostgreSQL.</title>
<updated>2018-03-10T16:20:55Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2018-02-09T08:17:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=69f7cf2bf4ca3ab792438a9e7fb46f78ef0f227a'/>
<id>urn:sha1:69f7cf2bf4ca3ab792438a9e7fb46f78ef0f227a</id>
<content type='text'>
* gnu/tests/databases.scm (%postgresql-os, %test-postgresql): New variables.
(run-postgresql-test): New procedure.
</content>
</entry>
<entry>
<title>tests: databases: Add a simple test for MySQL.</title>
<updated>2017-10-08T16:31:49Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-09-09T14:31:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=02bc41c4cedd15c6a76ecd5218f9b5848de8baea'/>
<id>urn:sha1:02bc41c4cedd15c6a76ecd5218f9b5848de8baea</id>
<content type='text'>
Previously, the activation phase for this service caused some systems using it
to not boot. This test checks that it's possible to boot a system using it,
and at least start the service.

* gnu/tests/databases.scm (%mysql-os, %test-mysql): New variables.
  (run-mysql-test): New procedure.
</content>
</entry>
<entry>
<title>services: Add MongoDB.</title>
<updated>2017-10-06T20:24:30Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-10-06T20:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5266ff719e274056cb3e2b9740183f0063177255'/>
<id>urn:sha1:5266ff719e274056cb3e2b9740183f0063177255</id>
<content type='text'>
* gnu/services/databases.scm (%default-mongodb-configuration-file,
  %mongodb-accounts, mongodb-service-type): New variables.
  (&lt;mongodb-configuration&gt;): New record type.
  (mongodb-activation, mongodb-shepherd-service): New procedures.
* gnu/tests/databases.scm (%test-mongodb): New variable.
* doc/guix.texi (Database Services): Add MongoDB documentation.
</content>
</entry>
<entry>
<title>gnu: Fix memcached service startup.</title>
<updated>2017-08-15T21:24:15Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-08-05T21:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6230e155afd8c43c12ee3f03032aac34433db11a'/>
<id>urn:sha1:6230e155afd8c43c12ee3f03032aac34433db11a</id>
<content type='text'>
Memcached changes to the memcached user from root before writing the PID
file. This means that it must be able to write the PID file as the memcached
user.

To make this work, create the /var/run/memcached directory when the service
starts, make it owned by memcached, and change memcached to write the PID file
to /var/run/memcached/pid.

This wasn't picked up by the system test as the "service running" part was too
permissive, and only failed on an error. Instead, test the response from
calling start-service and check that the PID is a number.

* gnu/services/databases.scm (memcached-activation): New variable.
  (memcached-shepherd-service): Change PID file location.
  (memcached-service-type): Extend the activation-service-type.
* gnu/tests/databases.scm (run-memcached-test)[test]: Change the "service
  running" test to check the response from the shepherd.
</content>
</entry>
<entry>
<title>services: Add memcached.</title>
<updated>2017-07-30T08:08:30Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-07-27T16:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=119fdd0d0e33492ef2b563295fe9564258d51401'/>
<id>urn:sha1:119fdd0d0e33492ef2b563295fe9564258d51401</id>
<content type='text'>
* gnu/services/databases.scm (memcached-service-type, %memcached-accounts):
  New variables.
  (&lt;memcached-configuration&gt;): New record type.
  (memcached-service-type): New procedures.
* gnu/tests/databases.scm: New file.
* doc/guix.texi (Database Services): Document the new memcached service.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add entry for tests/databases.scm.
</content>
</entry>
</feed>
