1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/harbormaster/worker
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
..
HarbormasterBuildWorker.php Split Harbormaster workers apart so build steps can run in parallel 2014-01-06 12:32:10 -08:00
HarbormasterTargetWorker.php Abort previous build targets when a build is restarted 2014-08-26 20:46:23 +10:00
HarbormasterWorker.php Split Harbormaster workers apart so build steps can run in parallel 2014-01-06 12:32:10 -08:00