1
0
Fork 0
mirror of synced 2024-05-19 04:02:34 +12:00

revert changes

This commit is contained in:
Torsten Dittmann 2021-01-27 18:25:52 +01:00
parent 065986a7a0
commit de15b5ad5f
2 changed files with 8 additions and 8 deletions

View file

@ -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));

View file

@ -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);