@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Associate Harbormaster build target with leases

Summary: Ref T1049. This ensures the Harbormaster build target is associated with leases, so in the future we can query things and find out whether builds are still running with associated leases.

Test Plan: Leased a host, checked the DB and saw the field populated.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: joshuaspence, Korvin, epriestley

Maniphest Tasks: T1049

Differential Revision: https://secure.phabricator.com/D10870

+1
+1
src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php
··· 24 24 // Create the lease. 25 25 $lease = id(new DrydockLease()) 26 26 ->setResourceType('host') 27 + ->setOwnerPHID($build_target->getPHID()) 27 28 ->setAttributes( 28 29 array( 29 30 'platform' => $settings['platform'],