Commit Graph

610 Commits

Author SHA1 Message Date
Pagan Gazzard
b4306e85db Fix reporting errors without a "cause" 2015-10-13 13:39:37 -03:00
James
6c6f7e2af5 Add Jenkins Build Script 2015-10-13 13:39:37 -03:00
Pagan Gazzard
e0b8b4f05f Update to the latest tty.js 2015-10-13 13:39:37 -03:00
Pagan Gazzard
d0b48b7043 0.0.9 2015-10-13 13:39:37 -03:00
Pagan Gazzard
473337da63 0.0.8 2015-10-13 13:39:37 -03:00
Pagan Gazzard
d02883c013 Fix tty.js version, an updated version was released (with improvements), but then one of it's dependencies (by the same author) deleted from npm - so it can no longer be installed.. 2015-10-13 13:39:37 -03:00
Pagan Gazzard
1b0cdfe094 Remove some logging from supervisor that wasn't that useful (and caused a lot of noise when looking for issues). 2015-10-13 13:39:37 -03:00
Eugene Mirotin
0cb3316ad9 use pinejs request for env vars retrieval 2015-10-13 13:39:37 -03:00
Eugene Mirotin
c18556a8db dockerignore for editorconfig and coffeelint.json 2015-10-13 13:39:37 -03:00
Eugene Mirotin
6af414a114 add coffeelint 2015-10-13 13:39:37 -03:00
Eugene Mirotin
7555a7258d add editor config 2015-10-13 13:39:37 -03:00
Eugene Mirotin
9b14babc78 use API endpoint to get merged env vars 2015-10-13 13:39:37 -03:00
Petros Angelatos
169df24ebf Bump version 2015-10-13 13:39:37 -03:00
Pagan Gazzard
98ae03cf67 Add success/failure messages for better user info when there are issues. 2015-10-13 13:39:09 -03:00
Pagan Gazzard
368a23b823 Centralise the logging logic. 2015-10-13 13:39:09 -03:00
Pagan Gazzard
7a3d5b06c2 Report failures to start the container (eg bad CMD in a Dockerfile) 2015-10-13 13:39:09 -03:00
Pagan Gazzard
84b5746111 Share request settings between request and pinejs-client, and make sure a 30s timeout is used. 2015-10-13 13:39:09 -03:00
Pagan Gazzard
c29e0720c6 Switch to monitoring if the host is reachable via tcp, rather than a using a full http request. 2015-10-13 13:39:09 -03:00
Pagan Gazzard
a97cd40b44 Close the tty.js server as well as the ngrok listener. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
5f5b6f5be1 Fix stopping a tty session via the api using the wrong app id. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
cd6dbedfa2 Be very careful about marking an update attempt finished 2015-10-13 13:39:08 -03:00
Pagan Gazzard
c8df0b2f9e Make use of the new cache feature of the request backend for pinejs-client 1.2.0 to make use of an ETags based cache for requests to the api. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
82873d2ef2 Add a comment about updateDeviceState 2015-10-13 13:39:08 -03:00
Pagan Gazzard
48c21e9275 Keep track of target and actual device state, and make sure we keep updating the api with any differences until the two match. 2015-10-13 13:39:08 -03:00
Praneeth Bodduluri
e5d6235d89 Add armv7hf support 2015-10-13 13:39:08 -03:00
Pagan Gazzard
7765bc6a59 Just consume the stream for publish, avoiding any chance of it returning a value and getting stored up in the stream. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
2c94ea57a2 Only load ngrok/tty on demand. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
d578bbfba3 Use the new status/send/sendStatus style. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
6144ea3aeb Update to express ^4.0.0 2015-10-13 13:39:08 -03:00
Pagan Gazzard
e7335104f1 Remove unused dependency. 2015-10-13 13:39:08 -03:00
Pagan Gazzard
a91b5d10db Remove binutils which is automatically installed with the other packages but not automatically removed. 2015-10-13 13:39:08 -03:00
Praneeth Bodduluri
b8923c82c5 Remove unused deploy_key and ssh_config 2015-10-13 13:39:06 -03:00
Pagan Gazzard
e7b5fce5f5 Merge some command to reduce the number of layers created (writing each layer takes quite a long time on my rpi, so this speeds up the dev cycle a bit) 2015-10-13 13:37:56 -03:00
Pagan Gazzard
a5fa19cafe Remove git+ssh as they're no longer needed for npm install. 2015-10-13 13:37:56 -03:00
Pagan Gazzard
933cbdedad Be more frugal with the bandwidth used for device updates. 2015-10-13 13:37:56 -03:00
Pagan Gazzard
5b82667b3b Remove unused require. 2015-10-13 13:37:56 -03:00
Petros Angelatos
7e81016b6f Bump version 2015-10-13 13:37:56 -03:00
Pagan Gazzard
62016866bc Update coffee-script to ~1.9.1 2015-10-13 13:37:56 -03:00
Pagan Gazzard
f20770d435 Update lodash to use ^ 2015-10-13 13:37:56 -03:00
Pagan Gazzard
a0495a2e20 Update JSONStream and event-stream. 2015-10-13 13:37:56 -03:00
Pagan Gazzard
73c7f29c65 Update pinejs-client to ^1.0.0 2015-10-13 13:37:53 -03:00
Pagan Gazzard
fb4bd203be Keep the / in the DEPLOY_REGISTRY, so we can just set it empty to use the default docker registry. 2015-10-13 13:37:10 -03:00
Praneeth Bodduluri
8f43fb0c36 Fix the missing enterContainer and Coffeescript compilation process in i386 and x86_64 Dockerfiles 2015-10-13 13:37:10 -03:00
Pagan Gazzard
d31febee41 Fix dep name 2015-10-13 13:37:10 -03:00
Pagan Gazzard
8ca8f96f46 Switch to npm deps for blinking and network-checker 2015-10-13 13:37:08 -03:00
Pagan Gazzard
1f6d3acb0c Add an npm dedupe call to reduce image size. 2015-10-13 13:36:14 -03:00
Pagan Gazzard
7bf0637347 Link the entry to /start to work with the hardcoded /start in old docker/rce-run-supervisor scripts. 2015-10-13 13:36:14 -03:00
Pagan Gazzard
ce2c4c8eaa Add .dockerignore and Dockerfile to the .dockerignore, this stops the temporary Dockerfile from invalidating the docker cache. 2015-10-13 13:36:14 -03:00
Pagan Gazzard
5936e51676 Ignore errors removing the temporary Dockerfile. 2015-10-13 13:36:14 -03:00
Pagan Gazzard
dfb96b07bd Remove unused files to save more space. 2015-10-13 13:36:13 -03:00