gds/gnu-guix/guix/scripts/offload.scm, branch release_2 This repository contains snapshots of GNU Guix, to be used by the govuk-guix project. http://git.cbaines.net/gds/gnu-guix/atom?h=release_2 2016-12-31T00:44:04Z Add (guix ssh) module. 2016-12-31T00:44:04Z Ludovic Courtès ludo@gnu.org 2016-12-30T22:22:27Z urn:sha1:987a29ba43cc8a2751eafe392906d240713c724e * guix/scripts/offload.scm (connect-to-remote-daemon) (store-import-channel, store-export-channel, send-files) (retrieve-files): Move to (guix ssh). (nonce): Add optional 'name' parameter and use it. (retrieve-files*): New procedure. (transfer-and-offload): Use it instead of 'retrieve-files', and add first parameter to 'send-files'. (assert-node-can-import): Likewise. (assert-node-can-export): Use 'retrieve-files' instead of 'store-export-channel'. * guix/ssh.scm: New file. * configure.ac: Use 'GUIX_CHECK_GUILE_SSH' and define 'HAVE_GUILE_SSH' Automake conditional. * Makefile.am (MODULES) [HAVE_GUILE_SSH]: Add guix/ssh.scm. offload: Allow testing machines that match a regexp. 2016-12-09T22:12:06Z Ludovic Courtès ludo@gnu.org 2016-12-09T22:12:06Z urn:sha1:27991c97e64c95be4cae7f2b0a843565df329215 * guix/scripts/offload.scm (check-machine-availability): Add 'pred' parameter and honor it. (guix-offload): for the "test" sub-command, accept an extra 'regexp' parameter. Pass a second argument to 'check-machine-availability'. offload: Test each machine only once. 2016-12-09T22:02:02Z Ludovic Courtès ludo@gnu.org 2016-12-09T22:00:08Z urn:sha1:2b513387cd63f82afc8fb6a076674b323e964b7f * guix/scripts/offload.scm (check-machine-availability)[build-machine=?]: New procedure. Add call to 'delete-duplicates'. offload: Do not read ~/.ssh/known_hosts. 2016-12-09T22:02:01Z Ludovic Courtès ludo@gnu.org 2016-12-09T13:54:42Z urn:sha1:bd8345777f5a48ee61656248655ebac71a09e926 * guix/scripts/offload.scm (open-ssh-session): Pass #:knownhosts to 'make-session'. offload: Increase the connection timeout. 2016-12-06T00:00:11Z Ludovic Courtès ludo@gnu.org 2016-12-06T00:00:11Z urn:sha1:8d125cfc2e5cb0825bb40893ec3e940f85f1b235 * guix/scripts/offload.scm (open-ssh-session): Set #:timeout to 10. offload: Send the build log to the right file descriptor. 2016-12-05T23:50:08Z Ludovic Courtès ludo@gnu.org 2016-12-05T23:50:08Z urn:sha1:0237d7971742ccfe5670455debb1feca9a491a0f This fixes a regression introduced in 21531add3205e400707c8fbfd841845f9a71863a whereby the build log would no longer be sent to FD 4, thereby leading the daemon to not see the build log. * guix/scripts/offload.scm (transfer-and-offload): Parameterize CURRENT-BUILD-OUTPUT-PORT. offload: Fix plural of some messages. 2016-12-05T22:26:38Z Ludovic Courtès ludo@gnu.org 2016-12-05T22:25:29Z urn:sha1:e11c42f297a4e128aa5abd11f379a250146f5cab * guix/scripts/offload.scm (send-files): Use 'N_' for possibly plural message. Write "store item" instead of "store file". (retrieve-files): Likewise. offload: Make the compression methods configurable. 2016-12-05T22:19:38Z Ludovic Courtès ludo@gnu.org 2016-12-05T22:15:17Z urn:sha1:1d48cf948cfb825a5b080d5cbe3ba3cb69beb7c8 * guix/scripts/offload.scm (<build-machine>)[compression] [compression-level]: New fields. (open-ssh-session): Honor them. * doc/guix.texi (Daemon Offload Setup): Document them. offload: Add "test" sub-command. 2016-12-05T17:18:10Z Ludovic Courtès ludo@gnu.org 2016-12-05T17:16:04Z urn:sha1:aebaee95cc26d404a8d7b62aece77dfbddb75836 * guix/scripts/offload.scm (assert-node-repl, assert-node-has-guix) (nonce, assert-node-can-import, assert-node-can-export) (check-machine-availability): New procedures. (%random-state): New variable. (guix-offload): Add case for "test". * doc/guix.texi (Daemon Offload Setup): Document it. Remove obsolete bit about remote invocation of 'guix build'. offload: Do not abort when a machine is unreachable. 2016-12-01T22:35:11Z Ludovic Courtès ludo@gnu.org 2016-12-01T22:21:15Z urn:sha1:463fb7d0c86fb9957c527272e6cec5ee23585366 * guix/scripts/offload.scm (machine-load): Wrap 'open-ssh-session' call in 'false-if-exception'; return +inf.0 if it returns #f.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>gds/gnu-guix/guix/scripts/offload.scm, branch release_2</title>
<subtitle>This repository contains snapshots of GNU Guix, to be used by the govuk-guix project.</subtitle>
<id>http://git.cbaines.net/gds/gnu-guix/atom?h=release_2</id>
<link rel="self" href="http://git.cbaines.net/gds/gnu-guix/atom?h=release_2"/>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/"/>
<updated>2016-12-31T00:44:04Z</updated>
<entry>
<title>Add (guix ssh) module.</title>
<updated>2016-12-31T00:44:04Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-30T22:22:27Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=987a29ba43cc8a2751eafe392906d240713c724e"/>
<id>urn:sha1:987a29ba43cc8a2751eafe392906d240713c724e</id>
<content type="text"> * guix/scripts/offload.scm (connect-to-remote-daemon) (store-import-channel, store-export-channel, send-files) (retrieve-files): Move to (guix ssh). (nonce): Add optional 'name' parameter and use it. (retrieve-files*): New procedure. (transfer-and-offload): Use it instead of 'retrieve-files', and add first parameter to 'send-files'. (assert-node-can-import): Likewise. (assert-node-can-export): Use 'retrieve-files' instead of 'store-export-channel'. * guix/ssh.scm: New file. * configure.ac: Use 'GUIX_CHECK_GUILE_SSH' and define 'HAVE_GUILE_SSH' Automake conditional. * Makefile.am (MODULES) [HAVE_GUILE_SSH]: Add guix/ssh.scm. </content>
</entry>
<entry>
<title>offload: Allow testing machines that match a regexp.</title>
<updated>2016-12-09T22:12:06Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-09T22:12:06Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=27991c97e64c95be4cae7f2b0a843565df329215"/>
<id>urn:sha1:27991c97e64c95be4cae7f2b0a843565df329215</id>
<content type="text"> * guix/scripts/offload.scm (check-machine-availability): Add 'pred' parameter and honor it. (guix-offload): for the "test" sub-command, accept an extra 'regexp' parameter. Pass a second argument to 'check-machine-availability'. </content>
</entry>
<entry>
<title>offload: Test each machine only once.</title>
<updated>2016-12-09T22:02:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-09T22:00:08Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=2b513387cd63f82afc8fb6a076674b323e964b7f"/>
<id>urn:sha1:2b513387cd63f82afc8fb6a076674b323e964b7f</id>
<content type="text"> * guix/scripts/offload.scm (check-machine-availability)[build-machine=?]: New procedure. Add call to 'delete-duplicates'. </content>
</entry>
<entry>
<title>offload: Do not read ~/.ssh/known_hosts.</title>
<updated>2016-12-09T22:02:01Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-09T13:54:42Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=bd8345777f5a48ee61656248655ebac71a09e926"/>
<id>urn:sha1:bd8345777f5a48ee61656248655ebac71a09e926</id>
<content type="text"> * guix/scripts/offload.scm (open-ssh-session): Pass #:knownhosts to 'make-session'. </content>
</entry>
<entry>
<title>offload: Increase the connection timeout.</title>
<updated>2016-12-06T00:00:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-06T00:00:11Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=8d125cfc2e5cb0825bb40893ec3e940f85f1b235"/>
<id>urn:sha1:8d125cfc2e5cb0825bb40893ec3e940f85f1b235</id>
<content type="text"> * guix/scripts/offload.scm (open-ssh-session): Set #:timeout to 10. </content>
</entry>
<entry>
<title>offload: Send the build log to the right file descriptor.</title>
<updated>2016-12-05T23:50:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-05T23:50:08Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=0237d7971742ccfe5670455debb1feca9a491a0f"/>
<id>urn:sha1:0237d7971742ccfe5670455debb1feca9a491a0f</id>
<content type="text"> This fixes a regression introduced in 21531add3205e400707c8fbfd841845f9a71863a whereby the build log would no longer be sent to FD 4, thereby leading the daemon to not see the build log. * guix/scripts/offload.scm (transfer-and-offload): Parameterize CURRENT-BUILD-OUTPUT-PORT. </content>
</entry>
<entry>
<title>offload: Fix plural of some messages.</title>
<updated>2016-12-05T22:26:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-05T22:25:29Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=e11c42f297a4e128aa5abd11f379a250146f5cab"/>
<id>urn:sha1:e11c42f297a4e128aa5abd11f379a250146f5cab</id>
<content type="text"> * guix/scripts/offload.scm (send-files): Use 'N_' for possibly plural message. Write "store item" instead of "store file". (retrieve-files): Likewise. </content>
</entry>
<entry>
<title>offload: Make the compression methods configurable.</title>
<updated>2016-12-05T22:19:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-05T22:15:17Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=1d48cf948cfb825a5b080d5cbe3ba3cb69beb7c8"/>
<id>urn:sha1:1d48cf948cfb825a5b080d5cbe3ba3cb69beb7c8</id>
<content type="text"> * guix/scripts/offload.scm (<build-machine>)[compression] [compression-level]: New fields. (open-ssh-session): Honor them. * doc/guix.texi (Daemon Offload Setup): Document them. </content>
</entry>
<entry>
<title>offload: Add "test" sub-command.</title>
<updated>2016-12-05T17:18:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-05T17:16:04Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=aebaee95cc26d404a8d7b62aece77dfbddb75836"/>
<id>urn:sha1:aebaee95cc26d404a8d7b62aece77dfbddb75836</id>
<content type="text"> * guix/scripts/offload.scm (assert-node-repl, assert-node-has-guix) (nonce, assert-node-can-import, assert-node-can-export) (check-machine-availability): New procedures. (%random-state): New variable. (guix-offload): Add case for "test". * doc/guix.texi (Daemon Offload Setup): Document it. Remove obsolete bit about remote invocation of 'guix build'. </content>
</entry>
<entry>
<title>offload: Do not abort when a machine is unreachable.</title>
<updated>2016-12-01T22:35:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-12-01T22:21:15Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/gds/gnu-guix/commit/?id=463fb7d0c86fb9957c527272e6cec5ee23585366"/>
<id>urn:sha1:463fb7d0c86fb9957c527272e6cec5ee23585366</id>
<content type="text"> * guix/scripts/offload.scm (machine-load): Wrap 'open-ssh-session' call in 'false-if-exception'; return +inf.0 if it returns #f. </content>
</entry>
</feed>