Page MenuHomePhabricator

Update a few things in Drydock for policies
ClosedPublic

Authored by hach-que on Nov 17 2013, 6:02 AM.
Tags
None
Referenced Files
F14056496: D7595.id17314.diff
Sat, Nov 16, 8:43 PM
F14056495: D7595.id17243.diff
Sat, Nov 16, 8:43 PM
F14056494: D7595.id17137.diff
Sat, Nov 16, 8:43 PM
F14056493: D7595.id.diff
Sat, Nov 16, 8:42 PM
F14056492: D7595.diff
Sat, Nov 16, 8:42 PM
F13998002: D7595.diff
Thu, Oct 24, 7:11 AM
F13994112: D7595.id17314.diff
Wed, Oct 23, 3:52 AM
F13989494: D7595.diff
Mon, Oct 21, 8:54 PM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
Restricted Maniphest Task
T4111: Use Drydock to allocate build machines for Harbormaster
Commits
Restricted Diffusion Commit
rPd5715076513b: Update a few things in Drydock for policies
Summary

DrydockResource has been updated to be policy-aware (although there are no policy columns).

Test Plan

Clicked around in Drydock, viewed resources and leases, everything still seemed to work.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

The Drydock parts of this are fine to land if you want to split those out. The machine stuff I'd like to solidify all the ideas around a bit first, though. I don't currently imagine Harbormaster using specific build hosts, but rather build steps saying "Lease a <windows> machine with <some requirement> from Drydock".

src/applications/drydock/query/DrydockResourceQuery.php
25

Let's omit this method if it doesn't actually do anything?

In reality, now that we have the bin/drydock create-resource command, I'm not sure whether a UI is even needed. I'd imagine most scenarios will involve people hooking Drydock up to AWS EC2 and not running their own build machines in house.

(Also the UI ends up being really sketchy because you can only create new build machines; you can't edit them in Harbormaster and you can only view them in Drydock)

hach-que updated this revision to Unknown Object (????).Nov 23 2013, 4:33 AM

Removed Harbormaster UI for managing build machines and withAttribute method