Files
phabricator/scripts
James Rhodes 7c3cb5948c Drydock blueprint for preallocated remote hosts
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
2013-11-22 14:34:10 -08:00
..
2012-11-05 11:16:51 -08:00
2013-11-21 12:36:00 -08:00
2013-01-03 05:45:08 -08:00
2013-10-12 19:15:38 -07:00
2013-01-07 14:04:23 -08:00
2012-11-05 11:16:51 -08:00
2013-05-29 06:28:57 -07:00
2012-11-05 11:16:51 -08:00
2013-04-12 14:07:16 -07:00
2012-11-05 11:16:51 -08:00
2013-10-01 16:01:15 -07:00
2013-07-14 16:06:23 -07:00
2013-11-17 20:19:49 -08:00
2013-11-13 11:24:56 -08:00
2013-10-11 07:53:56 -07:00