fix: cloud functions environment
This commit is contained in:
parent
f102e43704
commit
dd5d5f59e0
|
@ -95,7 +95,7 @@ $environments = [
|
|||
'image' => 'appwrite/env-deno-1.5:1.0.0',
|
||||
'build' => '/usr/src/code/docker/environments/deno-1.5',
|
||||
'logo' => 'deno.png',
|
||||
'supports' => [System::X86],
|
||||
'supports' => [System::X86, System::PPC, System::ARM],
|
||||
],
|
||||
'deno-1.6' => [
|
||||
'name' => 'Deno',
|
||||
|
@ -104,7 +104,7 @@ $environments = [
|
|||
'image' => 'appwrite/env-deno-1.6:1.0.0',
|
||||
'build' => '/usr/src/code/docker/environments/deno-1.6',
|
||||
'logo' => 'deno.png',
|
||||
'supports' => [System::X86],
|
||||
'supports' => [System::X86, System::PPC, System::ARM],
|
||||
],
|
||||
'deno-1.8' => [
|
||||
'name' => 'Deno',
|
||||
|
@ -113,7 +113,7 @@ $environments = [
|
|||
'image' => 'appwrite/env-deno-1.8:1.0.0',
|
||||
'build' => '/usr/src/code/docker/environments/deno-1.8',
|
||||
'logo' => 'deno.png',
|
||||
'supports' => [System::X86, System::PPC, System::ARM],
|
||||
'supports' => [System::X86],
|
||||
],
|
||||
'dart-2.10' => [
|
||||
'name' => 'Dart',
|
||||
|
|
|
@ -518,6 +518,11 @@ class FunctionsCustomServerTest extends Scope
|
|||
'command' => 'deno run --allow-env index.ts',
|
||||
'timeout' => 15,
|
||||
],
|
||||
'deno-1.8' => [
|
||||
'code' => $functionsDir.'/deno.tar.gz',
|
||||
'command' => 'deno run --allow-env index.ts',
|
||||
'timeout' => 15,
|
||||
],
|
||||
'dart-2.10' => [
|
||||
'code' => $functionsDir.'/dart.tar.gz',
|
||||
'command' => 'dart main.dart',
|
||||
|
@ -539,7 +544,7 @@ class FunctionsCustomServerTest extends Scope
|
|||
'timeout' => 15,
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
foreach ($envs as $key => $env) {
|
||||
$envs[$key] = array_merge($env, $functions[$key]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue