1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Merge branch 'feat-rename-tags' into feat-cleanup-collections

This commit is contained in:
Bradley Schofield 2022-01-25 16:51:22 +00:00
commit 4273ad4771
3 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,4 @@
Create a new function deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.
Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.
This endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](/docs/functions).

View file

@ -1 +1 @@
Update the function deployment ID using the unique function ID. Use this endpoint to switch the deployment that should be executed by the execution endpoint.
Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.

View file

@ -421,9 +421,7 @@ class WebhooksCustomServerTest extends Scope
$this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Id'] ?? '', $this->getProject()['webhookId']);
$this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Project-Id'] ?? '', $this->getProject()['$id']);
/**
* Test for FAILURE
*/
sleep(5);
return array_merge($data, ['deploymentId' => $deploymentId]);
}