1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 11:12:42 +01:00
phorge-phorge/src/applications/harbormaster/management
epriestley 0ef599e906 Give Buildables a status, populate it, and return it over Conduit
Summary:
Ref T4809. Currently, buildables have a status field but nothing populates it. Populate it:

  - When builds change state, update the Buildable state.
  - Use the new Buildable state on the web UI.
  - Return the new Buildable state from Conduit.

To make it easier to debug/test this:

  - Provide `bin/harbormaster update Bxxx ...` to force foreground update of a Buildable.

Test Plan:
  - Used `bin/harbormaster update Bxxx --force --trace` to update buildables.
  - Looked at buidlable list, saw statuses reported properly.
  - Used Conduit to read statuses.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4809

Differential Revision: https://secure.phabricator.com/D8799
2014-04-17 16:01:16 -07:00
..
HarbormasterManagementBuildWorkflow.php Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00
HarbormasterManagementUpdateWorkflow.php Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00
HarbormasterManagementWorkflow.php Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00