Girish Ramakrishnan
|
078e36f07f
|
turns out we cannot use sudo since it asks for password
|
2016-05-24 19:59:47 -07:00 |
|
Girish Ramakrishnan
|
3b8e15a61c
|
check for node in path
|
2016-05-24 18:32:15 -07:00 |
|
Girish Ramakrishnan
|
67682c5d27
|
check for test image
|
2016-05-24 17:44:19 -07:00 |
|
Girish Ramakrishnan
|
48e3b8ebf9
|
provide a dummy config for tests
|
2016-05-24 17:36:54 -07:00 |
|
Girish Ramakrishnan
|
2072dedf66
|
bump mail addon version
|
2016-05-24 16:46:54 -07:00 |
|
Girish Ramakrishnan
|
51f43ecc27
|
use infra_version.js in checkInstall
|
2016-05-24 16:46:27 -07:00 |
|
Girish Ramakrishnan
|
2347a7ced2
|
admin email is a platform property
|
2016-05-24 16:36:56 -07:00 |
|
Girish Ramakrishnan
|
b2cadaf95c
|
load vars files after the platform is created
|
2016-05-24 16:28:59 -07:00 |
|
Girish Ramakrishnan
|
957f787701
|
setup mail addon root credentials
|
2016-05-24 16:18:21 -07:00 |
|
Girish Ramakrishnan
|
ad48067bb2
|
setup_infra now uses infra_version.js
INFRA_VERSION is now removed. Note that DATA_DIR/INFRA_VERSION
still exists.
|
2016-05-24 16:16:03 -07:00 |
|
Girish Ramakrishnan
|
12b6c46558
|
use infra_version.js in splashpage
|
2016-05-24 13:31:45 -07:00 |
|
Girish Ramakrishnan
|
b4ba17c599
|
use the constant
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
7fb28662c1
|
remove old images in platform.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
4845db538a
|
use infra_version.js in platform.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
8429985253
|
use infra_version.js in addons.js
|
2016-05-24 13:23:41 -07:00 |
|
Girish Ramakrishnan
|
aff9ff47bc
|
use infra_version.js in baseimage script
|
2016-05-24 13:23:38 -07:00 |
|
Girish Ramakrishnan
|
9b3077eca3
|
add infra_version.js
|
2016-05-24 13:02:38 -07:00 |
|
Girish Ramakrishnan
|
39396cb3ab
|
call callback if provided
|
2016-05-24 11:39:05 -07:00 |
|
Girish Ramakrishnan
|
364f0ead51
|
debug out the cmd
|
2016-05-24 11:26:11 -07:00 |
|
Girish Ramakrishnan
|
5ac1d5575c
|
platform.js: minor refactor
|
2016-05-24 10:58:18 -07:00 |
|
Girish Ramakrishnan
|
e5a030baff
|
move platform cleanup bits to javascript
|
2016-05-24 10:52:55 -07:00 |
|
Girish Ramakrishnan
|
a100837e69
|
Add helpers to restore/reconfigure all apps
|
2016-05-24 10:44:45 -07:00 |
|
Girish Ramakrishnan
|
ffacf17a42
|
add paths.INFRA_VERSION_FILE
|
2016-05-24 10:26:08 -07:00 |
|
Girish Ramakrishnan
|
f5d37b6443
|
add ini module
|
2016-05-24 10:25:33 -07:00 |
|
Girish Ramakrishnan
|
d71d09c1ba
|
Add shell.execSync
|
2016-05-24 10:22:39 -07:00 |
|
Girish Ramakrishnan
|
c1a2444dfa
|
move container creation to platform.js
|
2016-05-24 09:40:26 -07:00 |
|
Girish Ramakrishnan
|
ef40aae3ba
|
set adminEmail to no-reply@localhost for tests
|
2016-05-24 00:54:38 -07:00 |
|
Girish Ramakrishnan
|
9570086c87
|
add config.smtpPort
|
2016-05-24 00:53:42 -07:00 |
|
Girish Ramakrishnan
|
57a823a698
|
make tests work
|
2016-05-24 00:44:01 -07:00 |
|
Girish Ramakrishnan
|
ec0ee07b17
|
test: email works now
|
2016-05-23 23:17:38 -07:00 |
|
Girish Ramakrishnan
|
3d7545133e
|
wait 30 secs in the beginning
|
2016-05-23 23:16:02 -07:00 |
|
Girish Ramakrishnan
|
bcc752469a
|
remove containers after the test
|
2016-05-23 22:47:40 -07:00 |
|
Girish Ramakrishnan
|
da85f4c096
|
stop ldap server in test
|
2016-05-23 21:59:06 -07:00 |
|
Girish Ramakrishnan
|
3b740a5651
|
make tests work
|
2016-05-23 20:41:00 -07:00 |
|
Girish Ramakrishnan
|
7eb202f19a
|
test: use the test-app instead of duplicating the checks in the tests
|
2016-05-23 20:17:11 -07:00 |
|
Girish Ramakrishnan
|
8dbd4c8527
|
use 1024 bit keys
Stacked error: error:04075070:rsa routines:RSA_sign:digest too big for rsa key
|
2016-05-23 19:31:57 -07:00 |
|
Girish Ramakrishnan
|
88f2ce554d
|
bump to mail 0.13.1 with the auth fix
|
2016-05-23 18:57:59 -07:00 |
|
Girish Ramakrishnan
|
57888659a6
|
Update test app version
|
2016-05-23 18:31:12 -07:00 |
|
Girish Ramakrishnan
|
ebdefa7f18
|
test: oauth addon
|
2016-05-23 17:34:25 -07:00 |
|
Girish Ramakrishnan
|
569150f602
|
tests: create a self-signed cert
|
2016-05-23 16:40:18 -07:00 |
|
Girish Ramakrishnan
|
6ccb806628
|
make apps-test pass
|
2016-05-23 16:31:02 -07:00 |
|
Girish Ramakrishnan
|
ae807b28b6
|
test: let server start the infra
otherwise, deps like dkim keys need to be setup in tests as well
|
2016-05-23 15:53:51 -07:00 |
|
Girish Ramakrishnan
|
00726b01e2
|
pass -no-run-if-empty instead
|
2016-05-23 15:50:36 -07:00 |
|
Girish Ramakrishnan
|
f5b777ab33
|
add route tests for username
|
2016-05-23 15:00:21 -07:00 |
|
Girish Ramakrishnan
|
d84e584222
|
add some username tests
|
2016-05-23 14:56:09 -07:00 |
|
Girish Ramakrishnan
|
31e452e1cc
|
test: mixed case reserved name
|
2016-05-23 14:52:29 -07:00 |
|
Girish Ramakrishnan
|
e015b9bd7a
|
0.14.1 changes
|
2016-05-23 12:29:49 -07:00 |
|
Girish Ramakrishnan
|
10e0cbcebc
|
do not set allowHalfOpen (otherwise we have to end socket ourself)
v0.14.1
|
2016-05-23 10:50:04 -07:00 |
|
Girish Ramakrishnan
|
2768c3a336
|
acme: configure prod based on caas or acme
|
2016-05-23 09:48:17 -07:00 |
|
Girish Ramakrishnan
|
37512c4cac
|
Wrap the stdin stream to indicate EOF
The docker exec protocol supports half-closing to signal that the stdin
is finished. The CLI tool tried to do this by closing it's half of the
socket when the stdin finished. Unfortunately, this does not work because
nginx immediately terminates a half-close :/ Node itself has no problem.
http://mailman.nginx.org/pipermail/nginx/2008-September/007388.html
seems to support the hypothesis. Basically, for HTTP and websockets
there is no notion of half-close.
Websocket protocol itself has no half-close as well:
http://www.lenholgate.com/blog/2011/07/websockets---i-miss-the-tcp-half-close.html
http://doc.akka.io/docs/akka/2.4.5/scala/http/client-side/websocket-support.html
The fix is to implement our own protocol that wrap stdin. We put a length
header for every payload. When we hit EOF, the length is set to 0. The server
sees this 0 length header and closes the exec container socket.
|
2016-05-22 22:27:49 -07:00 |
|