1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 17:58:47 +02:00
phorge-phorge/src/applications/harbormaster
James Rhodes 51b34c0544 Abort previous build targets when a build is restarted
Summary: Ref T5936. This implements build implementations aborting early when the build has since been restarted.   Build steps now periodically poll to see if the build's current generation does not match their generation, and they throw a `HarbormasterBuildAbortedException` if that is the case.

Test Plan: Tested locally on my machine with the sleep build step.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5936

Differential Revision: https://secure.phabricator.com/D10322
2014-08-26 20:46:23 +10:00
..
application Rename policy capabilities 2014-07-25 08:20:39 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Rename Conduit classes 2014-07-25 10:54:15 +10:00
config Migrate "Run Command" to use Drydock hosts 2013-12-05 14:06:22 +11:00
controller Implement build generations in Harbormaster 2014-08-21 22:55:24 +10:00
customfield Allow Harbormaster build targets to wait for messages 2014-04-16 13:01:46 -07:00
editor Modularize mail tags 2014-08-12 12:28:41 -07:00
engine Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00
event Implement showing buildable status in Diffusion 2014-06-14 02:28:00 +10:00
exception Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00
interface Move build variables into HarbormasterBuildableInterface 2014-06-20 12:58:23 +10:00
management Give Buildables a status, populate it, and return it over Conduit 2014-04-17 16:01:16 -07:00
phid Implement build simulation; convert Harbormaster to be purely dependency based 2014-07-31 11:39:49 +10:00
query Implement build generations in Harbormaster 2014-08-21 22:55:24 +10:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
step Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00
storage Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00
typeahead Implement build simulation; convert Harbormaster to be purely dependency based 2014-07-31 11:39:49 +10:00
view Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
worker Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00