feat: add orchestration globally
This commit is contained in:
parent
b4ee82ac88
commit
a1f9019a3d
1 changed files with 1 additions and 1 deletions
|
@ -160,6 +160,7 @@ App::post('/v1/runtimes')
|
|||
$stderr = '';
|
||||
$startTime = \time();
|
||||
$endTime = 0;
|
||||
$orchestration = $orchestrationPool->get();
|
||||
|
||||
try {
|
||||
Console::info('Building container : ' . $runtimeId);
|
||||
|
@ -192,7 +193,6 @@ App::post('/v1/runtimes')
|
|||
/**
|
||||
* Create container
|
||||
*/
|
||||
$orchestration = $orchestrationPool->get();
|
||||
$secret = \bin2hex(\random_bytes(16));
|
||||
$vars = \array_merge($vars, [
|
||||
'INTERNAL_RUNTIME_KEY' => $secret,
|
||||
|
|
Loading…
Reference in a new issue