feat: decouple storage

This commit is contained in:
Christy Jacob
2022-02-13 05:42:22 +04:00
parent 24c1467e68
commit a665def876
2 changed files with 15 additions and 18 deletions
+2
View File
@@ -4,6 +4,7 @@ namespace Executor;
use Exception;
use Utopia\App;
use Utopia\Storage\Storage;
class Executor
{
@@ -48,6 +49,7 @@ class Executor
$params = [
'runtimeId' => "$projectId-$deploymentId",
'source' => $source,
'destination' => APP_STORAGE_BUILDS . "/app-$projectId",
'vars' => $vars,
'runtime' => $runtime,
'baseImage' => $baseImage