Girish Ramakrishnan
236032b4a6
Remove supererror setup in oauthproxy and apphealthmonitor
2015-09-14 16:49:10 -07:00
Girish Ramakrishnan
5fcba59b3e
set memory limits for addons
...
mysql, postgresql, mongodb - 100m each
mail, graphite, redis (each instance) - 75m
For reference, in yellowtent:
mongo - 5m
postgresql - 33m
mysql - 3.5m
mail: 26m
graphite - 26m
redis - 32m
2015-09-14 13:47:45 -07:00
Girish Ramakrishnan
6efd8fddeb
fix require paths
2015-09-14 13:00:03 -07:00
Girish Ramakrishnan
fbae432b98
merge oauthproxy server into box server
2015-09-14 11:58:28 -07:00
Girish Ramakrishnan
ea47c26d3f
apphealthmonitor is not a executable anymore
2015-09-14 11:09:58 -07:00
Girish Ramakrishnan
f57aae9545
Fix typo in assert
2015-09-14 11:09:41 -07:00
Girish Ramakrishnan
cdeb830706
Add apphealthmonitor.stop
2015-09-14 11:02:06 -07:00
Girish Ramakrishnan
0c9618f19a
Add ldap.stop
2015-09-14 11:01:35 -07:00
Girish Ramakrishnan
1cd9d07d8c
Merge apphealthtask into box server
...
We used to run this as a separate process but no amount of node/v8 tweaking
makes them run as standalone with 50M RSS.
Three solutions were considered for the memory issue:
1. Use systemd timer. apphealthtask needs to run quiet frequently (10 sec)
for the ui to get the app health update immediately after install.
2. Merge into box server (this commit)
3. Increase memory to 80M. This seems to make apphealthtask run as-is.
2015-09-14 10:52:11 -07:00
Johannes Zellner
d57236959a
choose aws subdomain backend for test purpose
2015-09-13 22:02:04 +02:00
Johannes Zellner
ebe975f463
Also send data with the domain deletion
2015-09-13 22:02:04 +02:00
Johannes Zellner
a94267fc98
Use caas.js for subdomain business
2015-09-13 22:02:04 +02:00
Johannes Zellner
f186ea7cc3
Add initial caas.js
2015-09-13 22:02:04 +02:00
Girish Ramakrishnan
28b768b146
Fix app autoupdater logic
...
The main issue was that app.portBindings is never null but { }
2015-09-10 11:39:29 -07:00
Girish Ramakrishnan
c1e4dceb01
ssh is now on port 919
2015-09-10 10:08:40 -07:00
Girish Ramakrishnan
c88591489d
make apps test work
2015-09-09 15:51:56 -07:00
Girish Ramakrishnan
719404b6cf
lint
2015-09-09 15:03:43 -07:00
Girish Ramakrishnan
f2c27489c8
test: make unregister subdomain test work
2015-09-09 14:36:09 -07:00
Girish Ramakrishnan
d6a0c93f2f
test: make register subdomain work
2015-09-09 14:32:05 -07:00
Girish Ramakrishnan
c64d5fd2e3
error is already Error
2015-09-09 14:26:53 -07:00
Girish Ramakrishnan
5b62aeb73a
make aws endpoint configurable for tests
2015-09-09 12:03:47 -07:00
Girish Ramakrishnan
7e83f2dd4a
intercept delete calls to test image
2015-09-09 11:32:09 -07:00
Girish Ramakrishnan
ed48f84355
give taskmanager couple of seconds to kill all processes
2015-09-09 10:39:38 -07:00
Girish Ramakrishnan
f3d15cd4a5
fix initialization of apps-test
2015-09-09 10:22:17 -07:00
Girish Ramakrishnan
8c270269db
remove dead code
2015-09-09 09:28:06 -07:00
Johannes Zellner
553a6347e6
Actually hand the backupKey over in an update
2015-09-09 12:37:09 +02:00
Girish Ramakrishnan
a35ebd57f9
call iteratorDone when finished
2015-09-09 00:43:42 -07:00
Girish Ramakrishnan
97174d7af0
make cloudron-test pass
2015-09-08 22:13:50 -07:00
Girish Ramakrishnan
659268c04a
provide default backupPrefix for tests
2015-09-08 21:16:50 -07:00
Girish Ramakrishnan
67d06c5efa
better debug messages
2015-09-08 21:11:46 -07:00
Girish Ramakrishnan
6e6d8c0bc5
awscredentials is now POST
2015-09-08 21:02:21 -07:00
Girish Ramakrishnan
658af3edcf
disable failing subdomains test
...
This needs aws mock
2015-09-08 20:38:52 -07:00
Girish Ramakrishnan
9753d9dc7e
removeUser takes a userId and not username
2015-09-08 16:38:02 -07:00
Girish Ramakrishnan
4e331cfb35
retry registering and unregistering subdomain
2015-09-08 12:51:25 -07:00
Girish Ramakrishnan
a1fa94707b
Remove ununsed error codes
2015-09-08 11:28:29 -07:00
Girish Ramakrishnan
88f1107ed6
Remove unused AWSError
2015-09-08 11:26:35 -07:00
Girish Ramakrishnan
e97b9fcc60
Do not start apptask for apps that are installed and running
2015-09-08 10:24:39 -07:00
Girish Ramakrishnan
71fe643099
Check if we have reached concurrency limit before locking
2015-09-08 10:20:34 -07:00
Johannes Zellner
7c5fc17500
Cleanup linter issues in updatechecker.js
2015-09-08 10:03:37 +02:00
Girish Ramakrishnan
edfe8f1ad0
disable pager when collecting logs
2015-09-07 20:27:27 -07:00
Girish Ramakrishnan
e76584b0da
Move from supervisor to systemd
...
This removes logrotate as well since we use systemd logging
2015-09-07 14:31:25 -07:00
Girish Ramakrishnan
b3816615db
run upto 5 apptasks in parallel
...
fixes #482
2015-09-05 09:17:46 -07:00
Johannes Zellner
212d0bd55a
Revert "Add hack for broken app backup tarballs"
...
This reverts commit 9723951bfc .
2015-08-31 21:44:24 -07:00
Girish Ramakrishnan
712ada940e
Add hack for broken app backup tarballs
2015-08-31 18:58:38 -07:00
Johannes Zellner
ba690c6346
Add missing records argument
2015-08-30 23:00:01 -07:00
Johannes Zellner
e910e19f57
Fix debug tag
2015-08-30 22:54:52 -07:00
Johannes Zellner
0c2532b0b5
Give default value to config.dnsInSync
2015-08-30 22:35:44 -07:00
Johannes Zellner
9c9b17a5f0
Remove cloudron.config prior to every test run
2015-08-30 22:35:44 -07:00
Johannes Zellner
816dea91ec
Assert for dns record values
2015-08-30 22:35:44 -07:00
Johannes Zellner
c228f8d4d5
Merge admin dns and mail dns setup
...
This now also checks if the mail records are in sync
2015-08-30 22:35:43 -07:00