Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14055250
D13932.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13932.diff
View Options
diff --git a/src/applications/harbormaster/step/HarbormasterUploadArtifactBuildStepImplementation.php b/src/applications/harbormaster/step/HarbormasterUploadArtifactBuildStepImplementation.php
--- a/src/applications/harbormaster/step/HarbormasterUploadArtifactBuildStepImplementation.php
+++ b/src/applications/harbormaster/step/HarbormasterUploadArtifactBuildStepImplementation.php
@@ -25,6 +25,7 @@
public function execute(
HarbormasterBuild $build,
HarbormasterBuildTarget $build_target) {
+ $viewer = PhabricatorUser::getOmnipotentUser();
$settings = $this->getSettings();
$variables = $build_target->getVariables();
@@ -35,7 +36,8 @@
$variables);
$artifact = $build_target->loadArtifact($settings['hostartifact']);
- $lease = $artifact->loadDrydockLease();
+ $impl = $artifact->getArtifactImplementation();
+ $lease = $impl->loadArtifactLease($viewer);
$interface = $lease->getInterface('filesystem');
@@ -44,7 +46,7 @@
// Insert the artifact record.
$artifact = $build_target->createArtifact(
- PhabricatorUser::getOmnipotentUser(),
+ $viewer,
$settings['name'],
HarbormasterFileArtifact::ARTIFACTCONST,
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:50 AM (2 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710582
Default Alt Text
D13932.diff (1 KB)
Attached To
Mode
D13932: Remove call to loadDrydockLease
Attached
Detach File
Event Timeline
Log In to Comment