diff --git a/app/config/environments.php b/app/config/environments.php index df225a826..9f1c5638e 100644 --- a/app/config/environments.php +++ b/app/config/environments.php @@ -7,7 +7,7 @@ use Utopia\System\System; * List of Appwrite Cloud Functions supported environments */ $environments = [ - /*'node-14.5' => [ + 'node-14.5' => [ 'name' => 'Node.js', 'version' => '14.5', 'base' => 'node:14.5-alpine', @@ -96,7 +96,7 @@ $environments = [ 'build' => '/usr/src/code/docker/environments/deno-1.6', 'logo' => 'deno.png', 'supports' => [System::X86, System::PPC, System::ARM], - ],*/ + ], 'dart-2.10' => [ 'name' => 'Dart', 'version' => '2.10', @@ -106,7 +106,7 @@ $environments = [ 'logo' => 'dart.png', 'supports' => [System::X86], ], - /*'dotnet-3.1' => [ + 'dotnet-3.1' => [ 'name' => '.NET', 'version' => '3.1', 'base' => 'mcr.microsoft.com/dotnet/runtime:3.1-alpine', @@ -123,7 +123,7 @@ $environments = [ 'build' => '/usr/src/code/docker/environments/dotnet-5.0', 'logo' => 'dotnet.png', 'supports' => [System::X86, System::ARM], - ],*/ + ], ]; $allowList = empty(App::getEnv('_APP_FUNCTIONS_ENVS', null)) ? false : \explode(',', App::getEnv('_APP_FUNCTIONS_ENVS', null)); diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 5b292506e..1111b3786 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -463,7 +463,7 @@ class FunctionsCustomServerTest extends Scope * bash tests/resources/functions/package-*.sh */ $envs = [ - /*[ + [ 'language' => 'PHP', 'version' => '7.4', 'name' => 'php-7.4', @@ -534,7 +534,7 @@ class FunctionsCustomServerTest extends Scope 'code' => $functions.'/deno.tar.gz', 'command' => 'deno run --allow-env index.ts', 'timeout' => 15, - ],*/ + ], [ 'language' => 'Dart', 'version' => '2.10', @@ -543,7 +543,7 @@ class FunctionsCustomServerTest extends Scope 'command' => 'dart main.dart', 'timeout' => 15, ], - /*[ + [ 'language' => '.NET', 'version' => '3.1', 'name' => 'dotnet-3.1', @@ -558,7 +558,7 @@ class FunctionsCustomServerTest extends Scope 'code' => $functions.'/dotnet-5.0.tar.gz', 'command' => 'dotnet dotnet.dll', 'timeout' => 15, - ],*/ + ], ]; sleep(count($envs) * 30);