mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
7c3cb5948c
Summary: This adds a Drydock blueprint for preallocated, remote hosts. This will be used by the Harbormaster interface to allow users to specify remote hosts that builds can be run on. This adds a `canAllocateResource` method to Drydock blueprints; it is used to detect whether a blueprint can allocate a resource for the given type and attributes. Test Plan: Ran: ``` bin/drydock lease --type host --attributes remote=true,preallocated=true,host=192.168.56.101,port=22,user=james,keyfile=,path=C:\\Build\\,platform=windows ``` and saw the "C:\Build\<id>" folder appear on the remote Windows machine. Viewed the lease and resource in Drydock as well. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran, jamesr Maniphest Tasks: T4111 Differential Revision: https://secure.phabricator.com/D7593 |
||
---|---|---|
.. | ||
aphront | ||
cache | ||
calendar | ||
celerity | ||
daemon | ||
differential | ||
diviner | ||
drydock | ||
fact | ||
files | ||
fpm | ||
install | ||
lipsum | ||
profile | ||
repository | ||
search | ||
setup | ||
sql | ||
ssh | ||
symbols | ||
user | ||
util | ||
__init_script__.php | ||
celerity_mapper.php |