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
Unknown Object (File)
Sat, Dec 14, 9:55 AM
Unknown Object (File)
Thu, Dec 12, 2:00 AM
Unknown Object (File)
Sat, Dec 7, 2:43 PM
Unknown Object (File)
Sat, Dec 7, 1:23 AM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:42 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