zuul/releasenotes/notes/nodepool-slot-2061128253e50580.yaml
James E. Blair b0783a8f7d Expose nodepool slot attribute
Nodepool now exposes a slot attribute which is set by the static
and metastatic drivers to provide a stable id for which "slot"
is occupied by a node on a host with max-parallel-jobs > 1.

Expose this as a variable to Ansible so that jobs can use it
to provide stable but non-conflicting workspace paths.

This also documents all of the current "nodepool" host vars.

Change-Id: I07cea423df7811c1de7763ff48b8308768246810
2022-11-30 13:27:02 -08:00

8 lines
280 B
YAML

---
features:
- |
The :var:`nodepool.slot` variable has been added to host vars.
This is supplied by the nodepool static and metastatic drivers
starting with version 8.0.0. It may be used to avoid build
directory collisions on nodes that run more than one job.