Commit graph

56 commits

Author SHA1 Message Date
Matej Bačo
8e3fbfc00d Fix missing build logs 2024-08-07 10:53:40 +02:00
Matej Bačo
75db8946a6 Fix function redeployments 2024-07-25 08:36:11 +00:00
Khushboo Verma
e6686bd3dd Add APPWRITE_REGION in env var 2024-07-15 12:40:11 +05:30
Khushboo Verma
0a335ed8ac Add appwrite version 2024-06-27 18:13:15 +05:30
Christy Jacob
fdf44c7bab Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-20 15:26:17 +00:00
loks0n
7559c9af68 chore: us spelling of canceled 2024-06-12 11:21:48 +01:00
Khushboo Verma
97786a05ff Updated cancelled build duration 2024-06-07 20:29:24 +05:30
Khushboo Verma
2643202c97 Replaced build1 with build 2024-06-02 23:04:49 +05:30
Khushboo Verma
0eabff5faf Refactor builds document creation 2024-05-31 01:53:29 +05:30
Khushboo Verma
edafeece9b Add console info before return 2024-05-29 14:39:57 +05:30
Khushboo Verma
a465b23716 Merge branch '1.6.x' into feat-cancel-build-deployment 2024-05-28 19:06:09 +05:30
Khushboo Verma
0b3c188bbf Add metrics for successful and failed builds 2024-05-28 18:29:28 +05:30
Khushboo Verma
93b4bfe4df Add one more cancel check 2024-05-27 18:31:35 +05:30
Khushboo Verma
f0de4c6eac Resolved merge conflict 2024-05-23 18:34:48 +05:30
Christy Jacob
aa76862692 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-1.5.x 2024-05-22 19:43:31 +00:00
Matej Bačo
8cc2530210 PR review changes 2024-05-09 13:40:31 +00:00
Matej Bačo
7d42db82a0 Fix python failing logs 2024-05-06 15:05:13 +00:00
Khushboo Verma
ea9c71757c Fix tests 2024-04-30 00:19:14 +05:30
Khushboo Verma
e2b2df1e31 Fix formatting 2024-04-29 21:18:36 +05:30
Khushboo Verma
0dd908b14c Fix formatting 2024-04-29 19:47:29 +05:30
Khushboo Verma
3123bf6b72 Fix formatting 2024-04-29 19:16:17 +05:30
Khushboo Verma
564fe96eec Resolve merge conflicts 2024-04-29 19:05:51 +05:30
Luke B. Silver
4b338d3740
Merge branch '1.5.x' into fix-templates-copy-hidden-files 2024-04-29 11:58:43 +01:00
Eldad Fux
beda5293b4 Fix format 2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Steven Nguyen
7273d0e117
Escape function build command
The extra trim is neded to because the extra quotes interfere with
additional operations in the executor/orchestration library.
2024-03-13 10:17:37 +01:00
Steven Nguyen
b9b891a90b
fix(builds): fix float to int warning
Implicit conversion of float to int is deprecated and emits:

Deprecated: Implicit conversion from float N to int loses precision

Use floor to truncate.
2024-03-10 23:16:29 +01:00
Steven Nguyen
b7be370a53
fix(builds): use standard Exception 2024-03-10 23:13:55 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Khushboo Verma
974104f8b0 address PR comments 2024-03-04 21:30:06 +01:00
Khushboo Verma
727fe2c9a9 Update newBuild condition 2024-02-26 12:33:54 +05:30
Khushboo Verma
353092ba00 Remove create build endpoint 2024-02-26 00:05:00 +05:30
Khushboo Verma
0e3a354f1f Create build document in API instead of worker 2024-02-25 19:13:55 +05:30
Khushboo Verma
a02a03e322 Fetch build document from DB 2024-02-24 00:13:11 +05:30
Luke B. Silver
0f09fd5ade
Merge branch '1.5.x' into fix-templates-copy-hidden-files 2024-02-22 13:41:16 +00:00
Jake Barnby
379c79dae9
Consistent naming for device resources 2024-02-21 03:10:51 +13:00
Jake Barnby
2f711c84ed
Remove callback resources from workers 2024-02-21 00:40:55 +13:00
loks0n
050f501186 fix: templates copy hidden files 2024-02-19 09:11:15 +00:00
Khushboo Verma
6ebca949c0 Fixed composer error 2024-02-18 18:04:16 +05:30
Khushboo Verma
ed3d598f2e Added cancel build endpoint 2024-02-18 18:01:25 +05:30
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Torsten Dittmann
62e459c581 fix: workers 2024-01-24 12:29:36 +01:00
Torsten Dittmann
e148617d3e fix: builds worker 2024-01-24 12:20:13 +01:00
Torsten Dittmann
9f5a0312cf Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-01-24 11:24:59 +01:00
Matej Bačo
92c4c52a81 QA changes 2024-01-02 13:02:11 +00:00
Matej Bačo
9fb6525063 Add new tags from worker, fix queue name 2023-11-22 14:50:57 +01:00
shimon
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
shimon
9a6d88a819 addressing some comments 2023-10-17 06:44:36 +03:00
shimon
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
shimon
6d60b0bd8c sync with 1.4 2023-10-03 11:40:34 +03:00