1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

PR review changes

This commit is contained in:
Matej Bačo 2023-08-11 16:45:36 +02:00
parent 897d299ae6
commit c6684ee7f8
6 changed files with 2 additions and 26 deletions

View file

@ -116,8 +116,6 @@ Server::setResource('reduce', function (Cache $cache, Registry $register, $pools
$executions = $dbForProject->getDocument('stats', md5(INFINITY_PERIOD . str_replace('{functionInternalId}', $document->getInternalId(), METRIC_FUNCTION_ID_EXECUTIONS)));
$executionsCompute = $dbForProject->getDocument('stats', md5(INFINITY_PERIOD . str_replace('{functionInternalId}', $document->getInternalId(), METRIC_FUNCTION_ID_EXECUTIONS_COMPUTE)));
\var_dump($deploymentsStorage);
if (!empty($deployments['value'])) {
$metrics[] = [
'key' => METRIC_DEPLOYMENTS,

View file

@ -82,10 +82,6 @@
{
"url": "https://github.com/appwrite/runtimes.git",
"type": "git"
},
{
"url": "https://github.com/utopia-php/vcs.git",
"type": "git"
}
],
"require-dev": {

View file

@ -17,8 +17,6 @@ services:
image: traefik:2.9
<<: *x-logging
container_name: appwrite-traefik
environment:
- DO_AUTH_TOKEN=$_APP_DOMAIN_DO_TOKEN
command:
- --log.level=DEBUG
- --api.insecure=true
@ -30,10 +28,6 @@ services:
- --entrypoints.appwrite_web.address=:80
- --entrypoints.appwrite_websecure.address=:443
- --accesslog=true
- --certificatesresolvers.digitalocean.acme.dnschallenge=true
- --certificatesresolvers.digitalocean.acme.dnschallenge.provider=digitalocean
- --certificatesresolvers.digitalocean.acme.email=$_APP_SYSTEM_SECURITY_EMAIL_ADDRESS
- --certificatesresolvers.digitalocean.acme.storage=/storage/certificates/digitalocean.json
ports:
- 80:80
- 8080:80

View file

@ -1 +1 @@
Delete a proxyrule by its unique ID.
Delete a proxy rule by its unique ID.

View file

@ -1,3 +1,3 @@
The VCS (Version Control System) service in Appwrite provides a way to interact with VCS providers like Git, GitHub etc. and manage your code repositories. You can use it to install the VCS app or to create, list, and delete repositories. You can also use the VCS service to clone, push, and pull code from your repositories.
The VCS service helps you to either link an existing code repository to your Appwrite Function or to create a new repository from scratch using one of the available templates. If you link a repository to an Appwrite Function, it automatically creates a new deployment for every `push` event.
The VCS service helps you to either link an existing code repository to your Appwrite Function or to create a new repository from scratch using one of the available templates. If you link a repository to an Appwrite Function, it automatically creates a new deployment when you push changes.

View file

@ -55,18 +55,6 @@ class Delete extends Event
return $this;
}
/**
* set Function
*
* @param Document $function
* @return self
*/
public function setFunction(Document $function): self
{
$this->function = $function;
return $this;
}
/**
* Sets datetime for 1h interval.
*