1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/harbormaster/conduit
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
..
ConduitAPI_harbormaster_Method.php Allow external systems to send messages to build targets 2014-03-25 16:11:28 -07:00
ConduitAPI_harbormaster_querybuildables_Method.php Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00
ConduitAPI_harbormaster_querybuilds_Method.php Add "harbormaster.querybuilds" Conduit API 2014-04-17 16:00:58 -07:00
ConduitAPI_harbormaster_sendmessage_Method.php Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00