Include internal gearman server in docs
Change-Id: I668206d7a07f665309ca392a8e5f1702c278c47e
This commit is contained in:
parent
0e933c5a4c
commit
77cc7b847e
@ -38,10 +38,16 @@ distribute those jobs to any number of Jenkins systems (including
|
|||||||
multiple Jenkins masters).
|
multiple Jenkins masters).
|
||||||
|
|
||||||
In order for Zuul to run any jobs, you will need a running Gearman
|
In order for Zuul to run any jobs, you will need a running Gearman
|
||||||
server. The latest version of gearmand from gearman.org is required
|
server. Zuul includes a Gearman server, and it is recommended that it
|
||||||
in order to support canceling jobs while in the queue. The server is
|
be used as it supports the following features needed by Zuul:
|
||||||
easy to set up -- just make sure that it allows connections from Zuul
|
|
||||||
and any workers (e.g., Jenkins masters) on port 4730, and nowhere else
|
* Canceling jobs in the queue (admin protocol command "cancel job").
|
||||||
|
* Strict FIFO queue operation (gearmand's round-robin mode may be
|
||||||
|
sufficient, but is untested).
|
||||||
|
|
||||||
|
To enable the built-in server, see the ``gearman_server`` section of
|
||||||
|
``zuul.conf``. Be sure that the host allows connections from Zuul and
|
||||||
|
any workers (e.g., Jenkins masters) on TCP port 4730, and nowhere else
|
||||||
(as the Gearman protocol does not include any provision for
|
(as the Gearman protocol does not include any provision for
|
||||||
authentication.
|
authentication.
|
||||||
|
|
||||||
|
@ -49,6 +49,17 @@ gearman
|
|||||||
Port on which the Gearman server is listening
|
Port on which the Gearman server is listening
|
||||||
``port=4730``
|
``port=4730``
|
||||||
|
|
||||||
|
gearman_server
|
||||||
|
""""""""""""""
|
||||||
|
|
||||||
|
**start**
|
||||||
|
Whether to start the internal Gearman server (default: False).
|
||||||
|
``start=true``
|
||||||
|
|
||||||
|
**log_config**
|
||||||
|
Path to log config file for internal Gearman server.
|
||||||
|
``log_config=/etc/zuul/gearman-logging.yaml``
|
||||||
|
|
||||||
gerrit
|
gerrit
|
||||||
""""""
|
""""""
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
[jenkins]
|
[gearman]
|
||||||
server=https://jenkins.example.com
|
server=127.0.0.1
|
||||||
user=jenkins
|
|
||||||
apikey=1234567890abcdef1234567890abcdef
|
[gearman_server]
|
||||||
|
start=true
|
||||||
|
|
||||||
[gerrit]
|
[gerrit]
|
||||||
server=review.example.com
|
server=review.example.com
|
||||||
|
Loading…
Reference in New Issue
Block a user