1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/harbormaster/step
epriestley 996930da2a Improve several exception behaviors for Harbormaster workers
Summary:
Ref T2015. Several fixes:

  - `checkForCancellation()` no longer exists, and isn't relevant for resumable stops. Throw it away for now.
  - Fix an issue where a build could pass even if the final step failed.
  - `phlog()` exceptions so they show up in `bin/harbormaster` and the daemon logs.
  - Write an exception log if a step fails.
  - Add a "throw an exception" step to debug this stuff more easily.

Test Plan:
  - Grepped for `checkForCancellation()`.
  - Ran a failing build where the final step caused the failure.
  - Observed `phlog()` in `bin/harbormaster` output.
  - Observed log in web UI:

{F101168}

Reviewers: btrahan, hach-que

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2015

Differential Revision: https://secure.phabricator.com/D7935
2014-01-13 12:21:49 -08:00
..
BuildStepImplementation.php Implement "Wait for Previous Builds" build step 2013-12-10 11:02:34 +11:00
CommandBuildStepImplementation.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00
HarbormasterHTTPRequestBuildStepImplementation.php Introduce HarbormasterBuildTarget to snapshot build steps through a build 2013-12-05 12:01:12 +11:00
HarbormasterThrowExceptionBuildStep.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00
LeaseHostBuildStepImplementation.php Make Drydock more broadly aware of policies 2013-12-27 13:15:19 -08:00
PublishFragmentBuildStepImplementation.php Implement step for publishing files as fragments to Phragment in Harbormaster 2013-12-09 09:34:09 +11:00
SleepBuildStepImplementation.php Introduce HarbormasterBuildTarget to snapshot build steps through a build 2013-12-05 12:01:12 +11:00
UploadArtifactBuildStepImplementation.php Implement step for publishing files as fragments to Phragment in Harbormaster 2013-12-09 09:34:09 +11:00
VariableBuildStepImplementation.php Migrate "Run Command" to use Drydock hosts 2013-12-05 14:06:22 +11:00
WaitForPreviousBuildStepImplementation.php Improve several exception behaviors for Harbormaster workers 2014-01-13 12:21:49 -08:00