zuul/zuul/executor/sensors
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
..
__init__.py Refactor load sensors into drivers 2018-06-08 07:32:51 +02:00
cpu.py Refactor load sensors into drivers 2018-06-08 07:32:51 +02:00
hdd.py Add min_avail_hdd governor for zuul-executor 2018-06-27 14:49:22 -04:00
pause.py Add pause function to executor 2018-06-25 16:25:32 +02:00
ram.py Refactor load sensors into drivers 2018-06-08 07:32:51 +02:00
startingbuilds.py Support job pause 2018-08-09 10:07:34 +02:00