<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/tests/web.scm, branch merge-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=merge-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=merge-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-05-31T19:22:23Z</updated>
<entry>
<title>services: Add patchwork.</title>
<updated>2019-05-31T19:22:23Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-05-03T18:55:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2177d9222f8c228fe5cd4e9c98d96f97e9601b86'/>
<id>urn:sha1:2177d9222f8c228fe5cd4e9c98d96f97e9601b86</id>
<content type='text'>
* gnu/service/web.scm (&lt;patchwork-database-configuration&gt;
&lt;patchwork-settings-module&gt;, &lt;patchwork-configuration&gt;): New record types.
(patchwork-virtualhost): New procedure.
(patchwork-service-type): New variable.
* gnu/tests/web.scm (%test-patchwork): New variable.
* doc/guix.text (Web Services): Document it.
</content>
</entry>
<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://www.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: Add missing copyright statement.</title>
<updated>2018-09-28T16:23:00Z</updated>
<author>
<name>Marius Bakke</name>
<email>mbakke@fastmail.com</email>
</author>
<published>2018-09-25T23:45:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4353981eb095459c47a9e12950745ac0304162ae'/>
<id>urn:sha1:4353981eb095459c47a9e12950745ac0304162ae</id>
<content type='text'>
This is a follow-up to commit 3b97a1779f3b65d582b8edc8c154b6414314b946.

* gnu/tests/web.scm: Update copyright header.
</content>
</entry>
<entry>
<title>services: Add Varnish service.</title>
<updated>2018-09-25T22:33:01Z</updated>
<author>
<name>Marius Bakke</name>
<email>mbakke@fastmail.com</email>
</author>
<published>2018-08-26T21:33:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3b97a1779f3b65d582b8edc8c154b6414314b946'/>
<id>urn:sha1:3b97a1779f3b65d582b8edc8c154b6414314b946</id>
<content type='text'>
* gnu/services/web.scm (&lt;varnish-configuration&gt;): New record type.
(%varnish-accounts, %varnish-service-type): New variables.
(varnish-shepherd-service): New procedure.
* gnu/tests/web.scm (%varnish-vcl, %varnish-os): New variables.
(%test-varnish): New test.
* doc/guix.texi (Web Services): Document it.
</content>
</entry>
<entry>
<title>services: tailon: Move to (gnu services web).</title>
<updated>2018-09-10T10:12:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-07T20:29:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=19de8273eefceac1ba6ddc8d7e374a13f57c678b'/>
<id>urn:sha1:19de8273eefceac1ba6ddc8d7e374a13f57c678b</id>
<content type='text'>
This allows (gnu services admin) to remain deeper in the module graph
and to be used by (gnu services web).

* gnu/services/admin.scm (&lt;tailon-configuration-file&gt;)
(tailon-configuration-files-string)
(tailon-configuration-file-compiler, &lt;tailon-configuration&gt;)
(tailon-shepherd-service, %tailon-accounts)
(tailon-service-type): Move to...
* gnu/services/web.scm: ... here.
* gnu/tests/admin.scm: Remove.  Move test to...
* gnu/tests/web.scm (%tailon-os)
(run-tailon-test, %test-tailon): ... here.
</content>
</entry>
<entry>
<title>tests: Honor the return value of 'start-service'.</title>
<updated>2018-06-13T07:11:45Z</updated>
<author>
<name>Clément Lassieur</name>
<email>clement@lassieur.org</email>
</author>
<published>2018-06-11T19:07:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c24b15472baaa7ec67d48cbf296bbe5ab727b78f'/>
<id>urn:sha1:c24b15472baaa7ec67d48cbf296bbe5ab727b78f</id>
<content type='text'>
Since commit dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f, 'start-service' returns
the Shepherd's representation of the service as a sexp, and '#f' if the
service fails to start.  Also, it doesn't throw an exception when the service
fails to start, so relying on an exception instead of relying on its return
value is a false positive.

* gnu/tests/base.scm (run-nss-mdns-test): Split tests so to check the return
value of 'start-service'.
(run-mcron-test, run-nss-mdns-test): Use 'test-assert' with the return value
of 'start-service'.
* gnu/tests/admin.scm (run-tailon-test): Idem.
* gnu/tests/dict.scm (run-dicod-test): Idem.
* gnu/tests/mail.scm (run-opensmtpd-test, run-exim-test, run-dovecot-test):
Idem.
* gnu/tests/messaging.scm (run-xmpp-test, run-bitlbee-test): Idem.
* gnu/tests/nfs.scm (run-nfs-test): Idem.
* gnu/tests/rsync.scm (run-rsync-test): Idem.
* gnu/tests/ssh.scm (run-ssh-test): Idem.
* gnu/tests/version-control.scm (run-cgit-test, run-git-http-test): Idem.
* gnu/tests/web.scm (run-php-fpm-test): Idem.
</content>
</entry>
<entry>
<title>services: Add hpcguix-web.</title>
<updated>2018-06-01T11:50:26Z</updated>
<author>
<name>Rouby Pierre-Antoine</name>
<email>pierre-antoine.rouby@inria.fr</email>
</author>
<published>2018-05-30T09:47:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=93b83eb31e35aedaafcc40cfbb9a8743e0f6352d'/>
<id>urn:sha1:93b83eb31e35aedaafcc40cfbb9a8743e0f6352d</id>
<content type='text'>
* gnu/service/web.scm (&lt;hpcguix-web-configuration&gt;): New record-type.
  (%hpcguix-web-accounts): New variable.
  (%hpcguix-web-activation,hpcguix-web-shepherd-service,
  hpcguix-web-service-type): New procedures.
* gnu/tests/web.scm (run-hpcguix-web-server-test): New procedure.
  (%hpcguix-web-specs, %hpcguix-web-os, %test-hpcguix-web): New variable.
* doc/guix.texi (Web Services): Add 'hpcguix-web'.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>gnu: services: web: Add service for httpd.</title>
<updated>2018-01-17T08:43:47Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-12-12T06:48:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=d067e4badcaa705d8cb68d81c534ba69c3fa6e13'/>
<id>urn:sha1:d067e4badcaa705d8cb68d81c534ba69c3fa6e13</id>
<content type='text'>
* gnu/services/web.scm (&lt;httpd-module&gt;,
  &lt;httpd-config-file&gt;, &lt;httpd-virtualhost&gt;
  &lt;httpd-configuration&gt;): New record types.
  (%default-httpd-modules, %httpd-accounts,
  httpd-service-type): New variables.
  (httpd-shepherd-services, httpd-activation,
  httpd-process-extensions): New procedures.
* gnu/tests/web.scm (run-httpd-test): New procedure.
  (%httpd-os, %tests-httpd): New variables.
* doc/guix.texi (Web Services): Document the Apache HTTP Server.
</content>
</entry>
<entry>
<title>gnu: tests: web: Generalise the nginx test.</title>
<updated>2018-01-17T08:43:41Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-12-16T19:47:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=d9b530813f6d90d4aec320fd2f362d46b11a0125'/>
<id>urn:sha1:d9b530813f6d90d4aec320fd2f362d46b11a0125</id>
<content type='text'>
So that it can also be used for other web servers.

* gnu/tests/web.scm (%index.html-contents): Change nginx to guix.
  (%make-http-root): Move the index.html file from /srv to /srv/http.
  (%nginx-servers): Remove the setting of root.
  (run-nginx-test, run-webserver-test): Rename run-nginx-test to
  run-webserver-test and generalise its behaviour
  (%test-nginx): Change to use run-webserver-test, rather than run-nginx-test.
</content>
</entry>
<entry>
<title>tests: Adjust php-fpm test to new nginx API.</title>
<updated>2017-12-19T08:53:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-12-19T08:52:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a1ac7bf361dd5d10dd84e4666a0c2d7b07970e25'/>
<id>urn:sha1:a1ac7bf361dd5d10dd84e4666a0c2d7b07970e25</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/29769&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

This is a followup to 8b223ceac4ff0781e95d69362875f87cff03f4d6.

* gnu/tests/web.scm (%php-fpm-nginx-server-blocks): Turn 'listen' into a
list.
</content>
</entry>
</feed>
