1
0
Fork 0
mirror of synced 2024-08-27 08:02:22 +12:00
Commit graph

251 commits

Author SHA1 Message Date
Bradley Schofield
bca326dc8d Improvements to executor
- Executor now loads runtimes from php-runtimes package
- Executor now handles timeouts correctly
- Executor can now shutdown and remove containers before shutting down itself preventing a `docker-compose stop` failure due to active network endpoints.
- Fixed a issue with JWT's not working
- Improved general executor reliability
- Tests now pass!
2021-09-06 01:37:20 +01:00
Torsten Dittmann
17d2a4bc0a
Merge pull request #1577 from TorstenDittmann/fix-functions-env-variable
fix(functions): environment variables
2021-09-03 14:06:23 +02:00
Torsten Dittmann
37c33c3c7b fix(functions): environment variables 2021-09-03 13:41:42 +02:00
Torsten Dittmann
be1e3acfca fix(functions): properly cast cpu counts variable 2021-09-02 20:59:58 +02:00
Torsten Dittmann
9bc3412649 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-09-02 09:44:36 +02:00
Torsten Dittmann
424e153b80 refactor(workers): refactor the workers 2021-09-01 11:09:04 +02:00
Torsten Dittmann
c85cfb66d2 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-09-01 09:33:50 +02:00
Torsten Dittmann
38e1624636 fix(functions): flag execution errors as failed 2021-08-31 20:52:47 +02:00
Bradley Schofield
f5e1ce01b7 More Changes 2021-08-27 11:55:22 +01:00
Bradley Schofield
48d57aa38e aaaaa 2021-08-27 10:21:28 +01:00
Bradley Schofield
82b7e18033 First Test 2021-08-24 10:32:27 +01:00
Torsten Dittmann
3efbad9659 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-16 11:10:48 +02:00
Bradley Schofield
fa15b37433 Add defaults for environment variables 2021-08-16 09:19:09 +01:00
Bradley Schofield
054eadc6f6 Implement Suggestions
+ Added documentation for environment variables
+ Added changelog
+ Changed how we handle a error while removing a container that may or may not exist during execution
2021-08-13 15:16:05 +01:00
Bradley Schofield
44ac60a70a Implement Suggestions 2021-08-13 10:00:20 +01:00
Damodar Lohani
56e3a2bd6c depricate worker.php, use init.php instead 2021-08-13 14:24:46 +05:45
Bradley Schofield
5080160f09 Revert "Update Tests"
This reverts commit bd537e6992.
2021-08-13 09:34:21 +01:00
Bradley Schofield
bd537e6992 Update Tests 2021-08-13 09:32:27 +01:00
Bradley Schofield
eb3db0ddae Update functions.php 2021-08-11 14:24:33 +01:00
Bradley Schofield
80fef728b4 Implement UNIX Exit Code suggestion 2021-08-11 14:23:37 +01:00
Bradley Schofield
1a8bed396a Fix env variable bug 2021-08-11 13:44:31 +01:00
Damodar Lohani
35394e5849 Merge branch 'feat-database-indexing' into feat-depricate-usage-worker 2021-08-08 12:18:31 +05:45
Damodar Lohani
fa46f14092 refactor the class 2021-08-08 12:16:20 +05:45
Damodar Lohani
ffe9c99157 new statsd class and implementation 2021-08-08 11:21:08 +05:45
Bradley Schofield
4c451c0835 Add Suggestions 2021-08-04 11:19:20 +01:00
Bradley Schofield
9676f34d93 Add suggestions 2021-08-03 11:17:22 +01:00
Damodar Lohani
23caa62550 remove unused params 2021-08-02 15:14:53 +05:45
Damodar Lohani
bc4fede216 refactor usage update and fix functions worker 2021-08-02 12:41:12 +05:45
Eldad Fux
95dacecf3a Removed the tasks service 2021-07-27 17:16:12 +03:00
Eldad A. Fux
f81227cad0
Merge pull request #1413 from appwrite/fix-retry-init-db-connection
fix(refactor-db): retry initial database connection on failure
2021-07-26 19:17:24 +03:00
kodumbeats
51449841bf Refactor db methods to worker class instead of worker script 2021-07-25 19:14:19 -04:00
Eldad Fux
f909b9da1c Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-25 14:11:23 +03:00
Bradley Schofield
01f375b17d Merge branch 'master' into orchestration-api-test 2021-07-23 10:28:32 +01:00
Bradley Schofield
a4875cfd22 Fix Native Labels 2021-07-23 10:05:59 +01:00
Bradley Schofield
b5ab777cad Implement new native filters 2021-07-23 09:48:51 +01:00
Bradley Schofield
e0ab558f90 Update functions.php 2021-07-22 14:54:23 +01:00
Bradley Schofield
4d2f5428a2 Update to use protected container class 2021-07-22 14:53:30 +01:00
Bradley Schofield
a9e7b617c0 First Iteration 2021-07-22 13:49:52 +01:00
Bradley Schofield
70d4c4d7be Update functions.php 2021-07-22 11:46:05 +01:00
Bradley Schofield
ca3d677596 Make untarring the code file a blocking task 2021-07-22 11:08:08 +01:00
Eldad A. Fux
48ad89ac27
Merge pull request #1412 from appwrite/feat-db-refactor-routes
Feat db refactor routes
2021-07-19 22:18:28 +03:00
Eldad Fux
bbc20dad10 Merge branch 'master' of github.com:appwrite/appwrite into fix-db-sync-with-master 2021-07-18 17:17:29 +03:00
Eldad Fux
b4a65c2c1a Removed TODOs, fixed comments 2021-07-16 07:39:31 +03:00
Torsten Dittmann
882686952e adapt to review 2021-07-13 17:18:02 +02:00
Torsten Dittmann
1bc3d61619 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-07-12 09:53:27 +02:00
Matej Baco
24f85cdc78 Added " to wrap environment name 2021-07-10 20:07:03 +02:00
Torsten Dittmann
e03ba70291 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-07-07 10:19:52 +02:00
kodumbeats
01555eb8ef Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-07-05 13:40:38 -04:00
Eldad A. Fux
ae8583f3a2
Merge pull request #1322 from appwrite/fix-functions-worker
Fix functions worker
2021-07-05 11:10:35 +03:00
Eldad Fux
14909a04f2 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-04 17:14:06 +03:00
kodumbeats
d68f7254be Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-07-01 12:51:07 -04:00
Torsten Dittmann
eaa3644f0f remove Realtime event class 2021-06-30 13:36:58 +02:00
Torsten Dittmann
a2d0c910c1 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-29 13:34:35 +02:00
Torsten Dittmann
49fa26b18c fix model for connections 2021-06-28 09:56:03 +02:00
Torsten Dittmann
44ba052fcb feat(db): improved connection pools 2021-06-28 09:19:33 +02:00
Eldad Fux
03ff844291 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-26 22:47:53 +03:00
Eldad Fux
862f6721e8 Merge branch 'master' of github.com:appwrite/appwrite into 0.9.x 2021-06-26 22:06:23 +03:00
Torsten Dittmann
e4be09ff19 fix audit 2021-06-23 23:31:58 +02:00
Christy Jacob
fdd389a17a feat: remove var_dump() 2021-06-24 01:55:27 +05:30
Christy Jacob
d5a7b58c48 feat: pass empty string instead of null in functions worker 2021-06-24 01:52:43 +05:30
Torsten Dittmann
c778f47195 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-23 17:12:48 +02:00
Eldad A. Fux
a2c4dac366
Merge pull request #1314 from PineappleIOnic/fix-runtime-parameter
Renamed `env` param on `/v1/functions` to `runtime`
2021-06-23 10:12:24 +03:00
Bradley Schofield
aa1e713b75 Fix tests 2021-06-22 16:56:05 +01:00
Eldad Fux
4a0b9e5e89 Removed duplicated cli command 2021-06-20 16:16:01 +03:00
Eldad Fux
579a24cf73 Updated sort method before cleanup 2021-06-14 22:18:43 +03:00
Torsten Dittmann
346b04b94b sync with 0.9.x 2021-06-14 16:54:16 +02:00
Torsten Dittmann
3d896af4bb Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-14 16:52:48 +02:00
Eldad Fux
f2b5956f30 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-12 13:08:48 +03:00
Torsten Dittmann
665d57106e feat(server): database connection pools 2021-06-11 18:09:46 +02:00
Torsten Dittmann
3f199e1232 refactor(workers): create abstract worker class 2021-06-11 16:20:18 +02:00
Eldad Fux
abd0bba8a4 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-27 01:31:29 +03:00
Torsten Dittmann
787931b45b Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-05-20 09:46:49 +02:00
Eldad Fux
63a92a768a Fixed functions webhooks trigger 2021-05-17 18:52:22 +03:00
Eldad Fux
a8cc398c85 Updated functions trigger 2021-05-17 14:32:37 +03:00
Eldad Fux
0a3c198e00 Removed boolean check on DB operation 2021-05-09 23:34:32 +03:00
Eldad Fux
f24ae683e6 Migrated functions worker 2021-05-05 00:45:41 +03:00
Torsten Dittmann
3d4c3741a2 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-05-04 17:21:10 +02:00
Torsten Dittmann
6a196716b3 fix: adapt to review 2021-04-29 17:08:59 +02:00
Torsten Dittmann
25b03c90f8 feat: introduce appwrite/php-runtimes 2021-04-21 13:02:54 +02:00
Torsten Dittmann
3b989cf6a7 fix: anonymous account tests 2021-04-16 18:50:16 +02:00
Torsten Dittmann
2f7f8ab03d test: disabling coroutine in functions worker 2021-04-16 17:53:36 +02:00
Torsten Dittmann
b7833a862b fix: disable co-routine hooks 2021-04-14 17:56:15 +02:00
Torsten Dittmann
74908f4965 fix: disable co-routine hooks 2021-04-14 17:55:08 +02:00
Torsten Dittmann
32587f9d80 tests: disable test 2021-04-14 17:09:36 +02:00
Torsten Dittmann
d97e1674aa tests: fix 2021-04-14 15:07:26 +02:00
Torsten Dittmann
e021b8795a fix: enable coroutine in functions worker 2021-04-14 12:40:55 +02:00
Torsten Dittmann
2e3d4fb616 Revert "Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime"
This reverts commit 137aa98e19, reversing
changes made to c5ad66839d.
2021-04-13 09:10:07 +02:00
Torsten Dittmann
69bd907729 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-04-12 09:42:46 +02:00
Torsten Dittmann
9dc206051f Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-upgrade-php-version 2021-04-10 16:25:04 +02:00
Eldad A. Fux
19e9582df2
Merge branch '0.7.x' into feat-upgrade-php-version 2021-04-05 14:56:45 +03:00
Torsten Dittmann
137aa98e19 Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-04-01 16:01:31 +02:00
kodumbeats
de47622d03 Remove sleep and pass expected vars to logs 2021-04-01 09:31:30 -04:00
kodumbeats
28dece1adf Investigate latency of exec 2021-03-31 15:41:35 -04:00
kodumbeats
1f4529d4e4 Start execution and get status code 2021-03-31 10:58:04 -04:00
kodumbeats
af6b90ba83 Testing if the exec must be started 2021-03-30 20:49:23 -04:00
kodumbeats
967d661a59 Pass Content-Length header 2021-03-30 18:13:44 -04:00
kodumbeats
c8f9bbc34b Outline calls to docker socket 2021-03-30 16:36:07 -04:00
kodumbeats
456793ebd8 Added space for styling and consistency 2021-03-30 07:42:58 -04:00
Torsten Dittmann
d5a3879ede clean up realtime even trigger in functions worker 2021-03-25 16:41:56 +01:00
Torsten Dittmann
373b2dfc13 add realtime event to functions worker 2021-03-24 17:53:44 +01:00