revert changes
This commit is contained in:
parent
065986a7a0
commit
de15b5ad5f
|
@ -7,7 +7,7 @@ use Utopia\System\System;
|
||||||
* List of Appwrite Cloud Functions supported environments
|
* List of Appwrite Cloud Functions supported environments
|
||||||
*/
|
*/
|
||||||
$environments = [
|
$environments = [
|
||||||
/*'node-14.5' => [
|
'node-14.5' => [
|
||||||
'name' => 'Node.js',
|
'name' => 'Node.js',
|
||||||
'version' => '14.5',
|
'version' => '14.5',
|
||||||
'base' => 'node:14.5-alpine',
|
'base' => 'node:14.5-alpine',
|
||||||
|
@ -96,7 +96,7 @@ $environments = [
|
||||||
'build' => '/usr/src/code/docker/environments/deno-1.6',
|
'build' => '/usr/src/code/docker/environments/deno-1.6',
|
||||||
'logo' => 'deno.png',
|
'logo' => 'deno.png',
|
||||||
'supports' => [System::X86, System::PPC, System::ARM],
|
'supports' => [System::X86, System::PPC, System::ARM],
|
||||||
],*/
|
],
|
||||||
'dart-2.10' => [
|
'dart-2.10' => [
|
||||||
'name' => 'Dart',
|
'name' => 'Dart',
|
||||||
'version' => '2.10',
|
'version' => '2.10',
|
||||||
|
@ -106,7 +106,7 @@ $environments = [
|
||||||
'logo' => 'dart.png',
|
'logo' => 'dart.png',
|
||||||
'supports' => [System::X86],
|
'supports' => [System::X86],
|
||||||
],
|
],
|
||||||
/*'dotnet-3.1' => [
|
'dotnet-3.1' => [
|
||||||
'name' => '.NET',
|
'name' => '.NET',
|
||||||
'version' => '3.1',
|
'version' => '3.1',
|
||||||
'base' => 'mcr.microsoft.com/dotnet/runtime:3.1-alpine',
|
'base' => 'mcr.microsoft.com/dotnet/runtime:3.1-alpine',
|
||||||
|
@ -123,7 +123,7 @@ $environments = [
|
||||||
'build' => '/usr/src/code/docker/environments/dotnet-5.0',
|
'build' => '/usr/src/code/docker/environments/dotnet-5.0',
|
||||||
'logo' => 'dotnet.png',
|
'logo' => 'dotnet.png',
|
||||||
'supports' => [System::X86, System::ARM],
|
'supports' => [System::X86, System::ARM],
|
||||||
],*/
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
$allowList = empty(App::getEnv('_APP_FUNCTIONS_ENVS', null)) ? false : \explode(',', App::getEnv('_APP_FUNCTIONS_ENVS', null));
|
$allowList = empty(App::getEnv('_APP_FUNCTIONS_ENVS', null)) ? false : \explode(',', App::getEnv('_APP_FUNCTIONS_ENVS', null));
|
||||||
|
|
|
@ -463,7 +463,7 @@ class FunctionsCustomServerTest extends Scope
|
||||||
* bash tests/resources/functions/package-*.sh
|
* bash tests/resources/functions/package-*.sh
|
||||||
*/
|
*/
|
||||||
$envs = [
|
$envs = [
|
||||||
/*[
|
[
|
||||||
'language' => 'PHP',
|
'language' => 'PHP',
|
||||||
'version' => '7.4',
|
'version' => '7.4',
|
||||||
'name' => 'php-7.4',
|
'name' => 'php-7.4',
|
||||||
|
@ -534,7 +534,7 @@ class FunctionsCustomServerTest extends Scope
|
||||||
'code' => $functions.'/deno.tar.gz',
|
'code' => $functions.'/deno.tar.gz',
|
||||||
'command' => 'deno run --allow-env index.ts',
|
'command' => 'deno run --allow-env index.ts',
|
||||||
'timeout' => 15,
|
'timeout' => 15,
|
||||||
],*/
|
],
|
||||||
[
|
[
|
||||||
'language' => 'Dart',
|
'language' => 'Dart',
|
||||||
'version' => '2.10',
|
'version' => '2.10',
|
||||||
|
@ -543,7 +543,7 @@ class FunctionsCustomServerTest extends Scope
|
||||||
'command' => 'dart main.dart',
|
'command' => 'dart main.dart',
|
||||||
'timeout' => 15,
|
'timeout' => 15,
|
||||||
],
|
],
|
||||||
/*[
|
[
|
||||||
'language' => '.NET',
|
'language' => '.NET',
|
||||||
'version' => '3.1',
|
'version' => '3.1',
|
||||||
'name' => 'dotnet-3.1',
|
'name' => 'dotnet-3.1',
|
||||||
|
@ -558,7 +558,7 @@ class FunctionsCustomServerTest extends Scope
|
||||||
'code' => $functions.'/dotnet-5.0.tar.gz',
|
'code' => $functions.'/dotnet-5.0.tar.gz',
|
||||||
'command' => 'dotnet dotnet.dll',
|
'command' => 'dotnet dotnet.dll',
|
||||||
'timeout' => 15,
|
'timeout' => 15,
|
||||||
],*/
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
sleep(count($envs) * 30);
|
sleep(count($envs) * 30);
|
||||||
|
|
Loading…
Reference in a new issue