Commit Graph

554 Commits

Author SHA1 Message Date
Pagan Gazzard
e28eff6eeb Save space by not installing recommended apt packages 2015-10-13 13:36:13 -03:00
Pagan Gazzard
0d0ca4deda Switch to using resin/rpi-node and node images, making use of package.json caching. 2015-10-13 13:36:13 -03:00
Eugene Mirotin
433d0bc0f0 shorter defaults setting, also allows manual timestamps should someone need them 2015-10-13 13:36:13 -03:00
Eugene Mirotin
d47fdf8a3c log compound messages with timestamp and proper system flag 2015-10-13 13:36:13 -03:00
Pagan Gazzard
25e7afe4aa Add node_modules to the .dockerignore 2015-10-13 13:36:13 -03:00
Pagan Gazzard
3d83c03868 The SUPERVISOR_IMAGE is now the fully qualified image (since it can be on another registry) - update to work with this and stop attempting to delete the actual supervisor image. 2015-10-13 13:36:13 -03:00
Praneeth Bodduluri
5b7fa87cd6 Change i386 Dockerfile to use debian Jessie instead 2015-10-13 13:36:13 -03:00
Pagan Gazzard
16dea4efcc Download the new version of an application before stopping/deleting the old. 2015-10-13 13:36:13 -03:00
Pagan Gazzard
177823c2f9 Add a make target to build and deploy the image. 2015-10-13 13:36:13 -03:00
Pagan Gazzard
0d8e9e0627 Remove rpi hardcoding in supervisor-accelerated. 2015-10-13 13:36:12 -03:00
Aleksis Brezas
af89179886 reset provisioning progress to null when supervisor starts 2015-10-13 13:36:12 -03:00
Petros Angelatos
798b146f44 Bump version 2015-10-13 13:36:12 -03:00
Petros Angelatos
e522387718 Use the right container engine depending on host image 2015-10-13 13:36:12 -03:00
Pagan Gazzard
2d5dca2171 Make sure the supervisor version update is also retried until succeeding. 2015-10-13 13:36:12 -03:00
Pagan Gazzard
1784c75c57 Add secret/apikey based authentication to the supervisor. 2015-10-13 13:36:12 -03:00
Pagan Gazzard
fafef6cc6f Post the supervisor api port to the resin api. 2015-10-13 13:36:12 -03:00
Pagan Gazzard
c8023e0780 Add a config var to determine what port for the api to listen on. 2015-10-13 13:36:12 -03:00
Pagan Gazzard
644ad14295 Use the api to do the filtering, avoiding fetching unnecessary data. 2015-10-13 13:36:12 -03:00
Pagan Gazzard
03f7b11c8b Update lodash to v3.0.0 2015-10-13 13:36:12 -03:00
Eugene Mirotin
3c9be7e2ed update Open terminal button styles 2015-10-13 13:36:12 -03:00
Aleksis Brezas
f17402753f version 0.0.4 2015-10-13 13:36:12 -03:00
Aleksis Brezas
7161c04123 update config.json on device registration 2015-10-13 13:36:12 -03:00
Pagan Gazzard
3f94b353f5 Remove VPN from the supervisor 2015-10-13 13:36:12 -03:00
Aleksis Brezas
c667b55025 move uncaught exception to the top of app.coffee 2015-10-13 13:36:12 -03:00
Aleksis Brezas
a9b909acaf fix make file mounts 2015-10-13 13:36:06 -03:00
Aleksis Brezas
0665054a79 no updates 2015-10-13 13:34:23 -03:00
Pagan Gazzard
d98c9ae180 Have to force tag with docker >= 1.4.0 2015-10-13 13:29:42 -03:00
Pagan Gazzard
ac07a030e9 0.0.3 2015-10-13 13:29:42 -03:00
Pagan Gazzard
1024af0f48 Remove module benchmarks to save space (~9MB) 2015-10-13 13:29:42 -03:00
Pagan Gazzard
9197272632 Remove local npm after installing since we no longer need it (saves ~4MB). 2015-10-13 13:29:42 -03:00
Pagan Gazzard
f216a691a1 Add missing import to logger module. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
8ae6946fa1 Update to the latest knex and sqlite3. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
ab44c79f62 Switch to using a separate module for network checking. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
f0682b162a Switch to using a separate module for blinking. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
6c81066796 Use ^ dependencies for request and bluebird. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
f552afd7b8 Update coffeescript 2015-10-13 13:29:42 -03:00
Pagan Gazzard
0bd92fd5a5 Remove an unused dependency. 2015-10-13 13:29:42 -03:00
Pagan Gazzard
9c8eecfab8 0.0.2 2015-10-13 13:29:42 -03:00
Pagan Gazzard
b1d16da9fa Separate out the pubnub logging functionality. 2015-10-13 13:29:40 -03:00
Pagan Gazzard
56f54331a5 Fix TypeError: Cannot read property 'Running' of undefined 2015-10-13 13:28:00 -03:00
Pagan Gazzard
848aa66494 Fix reference error. 2015-10-13 13:28:00 -03:00
Praneeth Bodduluri
d300ec6baf User Supervisord for logging 2015-10-13 13:28:00 -03:00
Praneeth Bodduluri
497ecc90a8 Log Supervisor to file and mount the /var/log from host to the supervisor 2015-10-13 13:28:00 -03:00
Aleksis Brezas
b584c6b705 improve code flow 2015-10-13 13:28:00 -03:00
Aleksis Brezas
528bf39a66 use docker inspect output 2015-10-13 13:28:00 -03:00
Aleksis Brezas
85626a4157 Exited containers do not have empty status 2015-10-13 13:28:00 -03:00
Pagan Gazzard
df536f672f Update to pinejs-client-js v0.3.1 2015-10-13 13:28:00 -03:00
Pagan Gazzard
fe05824429 Extract out a duplicate function. 2015-10-13 13:28:00 -03:00
Pagan Gazzard
9673ae40d9 Remove some unneeded dependencies. 2015-10-13 13:28:00 -03:00
Pagan Gazzard
c5506d4566 Separate vpn connecting. 2015-10-13 13:28:00 -03:00