guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ludovic Courtès
Date: Thu, 13 Jul 2023 19:45:56 -0400 (EDT)

branch: master
commit ecac94d9d98df20f992cc402e559b4e9f47b7724
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jul 14 00:17:06 2023 +0200

    README: Add test instructions for 'remote-server' and 'remote-worker'.
    
    * README (Database connection): Add example with 'remote-server' and
    'remote-worker'.
---
 README | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README b/README
index d29e80a..a77fb31 100644
--- a/README
+++ b/README
@@ -85,6 +85,19 @@ For a test run, instead of running a full-blown PostgreSQL, 
you can use the
   ./pre-inst-env cuirass web --database=$DB
 #+end_example
 
+Or, if you want to test the ZeroMQ-based remote build mechanism, you can run:
+
+#+begin_example
+  DB=$(pg_tmp)
+  ./pre-inst-env cuirass register -S examples/cuirass.scm --database=$DB \
+     --build-remote &
+  ./pre-inst-env cuirass web --database=$DB &
+  ./pre-inst-env cuirass remote-server --database=$DB \
+     --public-key=tests/signing-key.pub --private-key=tests/signing-key.sec &
+  ./pre-inst-env cuirass remote-worker \
+     --public-key=tests/signing-key.pub --private-key=tests/signing-key.sec &
+#+end_example
+
 * Run tests
 
 Cuirass tests also require an access to a PostgreSQL database, provided by the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]