Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration
This commit is contained in:
commit
efb3205830
|
@ -29,7 +29,7 @@ ENV VITE_APPWRITE_GROWTH_ENDPOINT=$VITE_APPWRITE_GROWTH_ENDPOINT
|
|||
RUN npm ci
|
||||
RUN npm run build
|
||||
|
||||
FROM appwrite/base:0.4.2 as final
|
||||
FROM appwrite/base:0.4.3 as final
|
||||
|
||||
LABEL maintainer="team@appwrite.io"
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ class Executor
|
|||
array $headers,
|
||||
string $runtimeEntrypoint = null,
|
||||
) {
|
||||
if(empty($headers['host'])) {
|
||||
if (empty($headers['host'])) {
|
||||
$headers['host'] = App::getEnv('_APP_DOMAIN', '');
|
||||
}
|
||||
|
||||
|
|
|
@ -1368,8 +1368,7 @@ trait Base
|
|||
total
|
||||
deployments {
|
||||
_id
|
||||
buildStdout
|
||||
buildStderr
|
||||
buildLogs
|
||||
}
|
||||
}
|
||||
}';
|
||||
|
@ -1378,8 +1377,7 @@ trait Base
|
|||
functionsGetDeployment(functionId: $functionId, deploymentId: $deploymentId) {
|
||||
_id
|
||||
buildId
|
||||
buildStdout
|
||||
buildStderr
|
||||
buildLogs
|
||||
}
|
||||
}';
|
||||
case self::$CREATE_FUNCTION:
|
||||
|
@ -1392,8 +1390,8 @@ trait Base
|
|||
}
|
||||
}';
|
||||
case self::$UPDATE_FUNCTION:
|
||||
return 'mutation updateFunction($functionId: String!, $name: String!, $execute: [String!]!, $events: [String], $schedule: String, $timeout: Int) {
|
||||
functionsUpdate(functionId: $functionId, name: $name, execute: $execute, events: $events, schedule: $schedule, timeout: $timeout) {
|
||||
return 'mutation updateFunction($functionId: String!, $name: String!, $execute: [String!]!, $runtime: String!, $entrypoint: String!, $events: [String], $schedule: String, $timeout: Int) {
|
||||
functionsUpdate(functionId: $functionId, name: $name, execute: $execute, runtime: $runtime, entrypoint: $entrypoint, events: $events, schedule: $schedule, timeout: $timeout) {
|
||||
_id
|
||||
name
|
||||
runtime
|
||||
|
|
|
@ -382,6 +382,8 @@ class FunctionsServerTest extends Scope
|
|||
'functionId' => $function['_id'],
|
||||
'name' => 'Test Function Updated',
|
||||
'execute' => [Role::any()->toString()],
|
||||
'entrypoint' => 'index.php',
|
||||
'runtime' => 'php-8.0',
|
||||
'vars' => [
|
||||
'name' => 'John Doe',
|
||||
'age' => 42,
|
||||
|
|
Loading…
Reference in a new issue