zuul/tests/nodepool
Felix Edel ba7f81be2d Provide statsd client to Nodepool and make scheduler optional
To lock/unlock the nodes directly in the executor server, we have to
make the Nodepool API work without a scheduler instance.

To keep the stats emitting intact, we provide a statsd client directly
to the Nodepool instance.

This leaves only one place where the scheduler is used in the Nodepool
class, which is the onNodesProvisioned() callback.
This callback won't be necessary anymore when the nodes are locked on
the executor and thus this function call and the scheduler parameter
itself can be removed.

Change-Id: I3f3e4bfff08e244f68a9be7c6a4efcc194a23332
2021-04-30 12:12:28 +02:00
..
__init__.py Add nodepool integration test 2017-01-24 13:37:21 -08:00
test_nodepool_integration.py Provide statsd client to Nodepool and make scheduler optional 2021-04-30 12:12:28 +02:00