In order to support testing new policy on a development branch, the _POST /host/online_ hook now accepts an optional `branch` parameter. The value of this parameter is passed to the host provisioner via the host info message published on the message queue. In this way, new machines can request a specific branch of the policy, providing a method for automated testing prior to merging the branch in to the main development line. How hosts themselves know what branch to request is of course another matter, and will depend on how they are provisioned, whether they are physical or virtual, etc. |
||
---|---|---|
.dockerignore | ||
.gitignore | ||
Containerfile | ||
dch_webhooks.py | ||
pyproject.toml |