zuul/zuul
Tobias Henkel b2451becaf
Support job pause
There are some use cases where it would be very useful to have some
resources that stay during the livetime of the buildset. E.g.:

* Spinning up a docker registry for child jobs that automatically gets
  cleaned up after a test run.

* Efficiently caching intermediate build results that are needed in
  child jobs without needing and overloading a central system for
  this.

In order to provide this functionality a job now can pause itself
after the run phase and let its children run. After all children are
finished it will be resumed. This can be easily triggered in a job by
using the zuul_return module together with the ability to forward any
data via ansible variables to the children.

 - name: Pause job
   zuul_return:
     data:
       zuul:
         pause: true
       registry_ip: "{{ hostvars[groups.all[0]].ansible_host }}"

Change-Id: I1a078bf22b9d3f9a33bd1517e73234749932e1bf
2018-08-09 10:07:34 +02:00
..
ansible Fix delegate_to for ansible synchronize 2018-07-23 09:47:13 -04:00
cmd Add a dequeue command to zuul client 2018-07-27 04:21:07 +00:00
connection Cleanup unused connection.getWebController info param 2018-06-01 15:52:53 -07:00
driver Add support for line comment ranges 2018-07-27 19:18:09 -07:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Support job pause 2018-08-09 10:07:34 +02:00
lib Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
manager Support job pause 2018-08-09 10:07:34 +02:00
merger Fix logging of clone url 2018-07-04 07:09:42 +00:00
reporter Report config errors as line comments 2018-07-27 19:18:04 -07:00
source Limit search scope of getChangesDependingOn to tenant 2018-05-24 00:15:51 +00:00
sphinx Add zuul-sphinx as a requirement 2017-08-07 14:56:17 -07:00
trigger Remove use of six library 2017-06-19 10:34:57 -05:00
web Merge "zuul-web: jobs list endpoint: Add test and fix tenant not found 500 error" 2018-07-15 17:32:35 +00:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
_setup_hook.py Use yarn and webpack to manage zuul-web javascript 2018-03-04 07:20:40 -06:00
change_matcher.py Fix implied branch matchers and tags 2017-12-01 15:54:24 -08:00
configloader.py Report config errors as line comments 2018-07-27 19:18:04 -07:00
exceptions.py mqtt: add basic reporter 2018-05-02 07:20:46 +00:00
model.py Support job pause 2018-08-09 10:07:34 +02:00
nodepool.py zuul autohold: allow operator to specify nodes TTL 2018-03-26 10:32:18 +02:00
rpcclient.py Add a dequeue command to zuul client 2018-07-27 04:21:07 +00:00
rpclistener.py Add a dequeue command to zuul client 2018-07-27 04:21:07 +00:00
scheduler.py Support job pause 2018-08-09 10:07:34 +02:00
version.py Report git sha in status page version 2018-04-27 10:21:43 -07:00
zk.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00