James E. Blair | 4ce47da | 2013-12-05 14:06:08 -0800 | [diff] [blame] | 1 | :title: Zuul Client |
| 2 | |
| 3 | Zuul Client |
| 4 | =========== |
| 5 | |
| 6 | Zuul includes a simple command line client that may be used by |
| 7 | administrators to affect Zuul's behavior while running. It must be |
| 8 | run on a host that has access to the Gearman server (e.g., locally on |
| 9 | the Zuul host). |
| 10 | |
| 11 | Configuration |
| 12 | ------------- |
| 13 | |
| 14 | The client uses the same zuul.conf file as the server, and will look |
| 15 | for it in the same locations if not specified on the command line. |
| 16 | |
| 17 | Usage |
| 18 | ----- |
| 19 | The general options that apply to all subcommands are: |
| 20 | |
| 21 | .. program-output:: zuul --help |
| 22 | |
| 23 | The following subcommands are supported: |
| 24 | |
| 25 | Enqueue |
| 26 | ^^^^^^^ |
| 27 | .. program-output:: zuul enqueue --help |
| 28 | |
| 29 | Example:: |
| 30 | |
Paul Belanger | baca313 | 2016-11-04 12:49:54 -0400 | [diff] [blame] | 31 | zuul enqueue --tenant openstack --trigger gerrit --pipeline check --project example_project --change 12345,1 |
Akihiro Motoki | 7109dc6 | 2014-02-10 19:09:28 +0900 | [diff] [blame] | 32 | |
| 33 | Note that the format of change id is <number>,<patchset>. |
Antoine Musso | 6aa8984 | 2014-06-30 21:35:26 +0200 | [diff] [blame] | 34 | |
| 35 | Promote |
| 36 | ^^^^^^^ |
| 37 | .. program-output:: zuul promote --help |
| 38 | |
| 39 | Example:: |
| 40 | |
Paul Belanger | baca313 | 2016-11-04 12:49:54 -0400 | [diff] [blame] | 41 | zuul promote --tenant openstack --pipeline check --changes 12345,1 13336,3 |
Antoine Musso | 6aa8984 | 2014-06-30 21:35:26 +0200 | [diff] [blame] | 42 | |
| 43 | Note that the format of changes id is <number>,<patchset>. |
| 44 | |
| 45 | Show |
| 46 | ^^^^ |
| 47 | .. program-output:: zuul show --help |
| 48 | |
| 49 | Example:: |
| 50 | |
| 51 | zuul show running-jobs |