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 | |
David Shrewsbury | ffab07a | 2017-07-24 12:45:07 -0400 | [diff] [blame^] | 25 | Autohold |
| 26 | ^^^^^^^^ |
| 27 | .. program-output:: zuul autohold --help |
| 28 | |
| 29 | Example:: |
| 30 | |
| 31 | zuul autohold --tenant openstack --project example_project --job example_job ---count 1 |
| 32 | |
James E. Blair | 4ce47da | 2013-12-05 14:06:08 -0800 | [diff] [blame] | 33 | Enqueue |
| 34 | ^^^^^^^ |
| 35 | .. program-output:: zuul enqueue --help |
| 36 | |
| 37 | Example:: |
| 38 | |
Paul Belanger | baca313 | 2016-11-04 12:49:54 -0400 | [diff] [blame] | 39 | 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] | 40 | |
| 41 | Note that the format of change id is <number>,<patchset>. |
Antoine Musso | 6aa8984 | 2014-06-30 21:35:26 +0200 | [diff] [blame] | 42 | |
| 43 | Promote |
| 44 | ^^^^^^^ |
| 45 | .. program-output:: zuul promote --help |
| 46 | |
| 47 | Example:: |
| 48 | |
Paul Belanger | baca313 | 2016-11-04 12:49:54 -0400 | [diff] [blame] | 49 | zuul promote --tenant openstack --pipeline check --changes 12345,1 13336,3 |
Antoine Musso | 6aa8984 | 2014-06-30 21:35:26 +0200 | [diff] [blame] | 50 | |
| 51 | Note that the format of changes id is <number>,<patchset>. |
| 52 | |
| 53 | Show |
| 54 | ^^^^ |
| 55 | .. program-output:: zuul show --help |
| 56 | |
| 57 | Example:: |
| 58 | |
| 59 | zuul show running-jobs |