Commit Graph

1687 Commits

Author SHA1 Message Date
Petros Aggelatos
742c6222c9 Base the image on rpi-buildstep 2015-10-13 12:58:56 -03:00
Petros Aggelatos
94395c7e12 Bugfix. .then() expects a function 2015-10-13 12:58:56 -03:00
Petros Aggelatos
117251bbc1 Only start an application when there is a commit 2015-10-13 12:58:56 -03:00
Petros Aggelatos
0d50132702 Missing dependency 2015-10-13 12:58:56 -03:00
Petros Aggelatos
57e8b10928 Make all applications privileged 2015-10-13 12:58:56 -03:00
Petros Aggelatos
cec5347c6c Print the application Id 2015-10-13 12:58:56 -03:00
Petros Aggelatos
637d68921f Application management code in its own module 2015-10-13 12:58:56 -03:00
Petros Aggelatos
614b24c796 Fix output format of VPN logs 2015-10-13 12:58:56 -03:00
Petros Aggelatos
12b3e194b5 Run application when supervisor starts 2015-10-13 12:58:56 -03:00
Petros Aggelatos
563df5386d On update get application info from the API 2015-10-13 12:58:56 -03:00
Petros Aggelatos
f10fb532c6 Use versioned API endpoints 2015-10-13 12:58:56 -03:00
Petros Aggelatos
91b59abd42 Save parameters in SQLite on successful bootstrapping 2015-10-13 12:58:56 -03:00
Petros Aggelatos
1dc26396a2 Elegant require calls 2015-10-13 12:58:56 -03:00
Petros Aggelatos
469777c232 Don't crash on uncaught exceptions 2015-10-13 12:58:56 -03:00
Petros Aggelatos
dc3708d14f Wait for db initialisation before starting app 2015-10-13 12:58:56 -03:00
Petros Aggelatos
e5684a1c3a Promisify blink 2015-10-13 12:58:56 -03:00
Petros Aggelatos
a8846b37b6 Minor log change 2015-10-13 12:58:56 -03:00
Petros Aggelatos
ef970712a8 Table config should have key as primary key 2015-10-13 12:58:56 -03:00
Petros Aggelatos
c98a274bde Fixed syntax errors 2015-10-13 12:58:55 -03:00
Petros Aggelatos
48c5766f3d Cleanup unneeded files 2015-10-13 12:58:55 -03:00
Petros Aggelatos
309da94028 OCD 2015-10-13 12:58:55 -03:00
Petros Aggelatos
de342a9209 Revamp/rewrite of supervisor as a docker application 2015-10-13 12:58:55 -03:00
Petros Aggelatos
5a071b35c9 Change the name to resin-supervisor 2015-10-13 12:58:55 -03:00
Petros Aggelatos
022b8fe903 http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/ 2015-10-13 12:58:37 -03:00
Petros Angelatos
9791c3e036 Handle forced updates and empty repos 2013-07-23 11:20:47 +01:00
Petros Angelatos
81dc5233da Disable the memory card indicator on the ACT led 2013-07-21 17:09:40 +01:00
Petros Angelatos
b8099372dd Use sudo to build the correct running enviroment for the app 2013-07-21 16:55:17 +01:00
Petros Angelatos
6df6feb5ef Application now emits events on status changes 2013-07-21 15:33:46 +01:00
Petros Angelatos
a2e4bd6634 New API endpoint 2013-07-21 15:20:45 +01:00
Petros Angelatos
6a3b9d45c7 More logging 2013-07-21 14:32:46 +01:00
Petros Angelatos
fff9148a83 Missing arguments in async callback 2013-07-21 14:32:06 +01:00
Petros Angelatos
3c49f64dbc Bug fix: async's callback was called twice 2013-07-21 14:31:14 +01:00
Petros Angelatos
cb434292bf Implemented the update repo endpoint 2013-07-21 02:31:54 +01:00
Petros Angelatos
f5760ffd09 Make sure the led is off after blinking 2013-07-21 02:31:21 +01:00
Petros Angelatos
2525241669 Unused method 2013-07-21 02:30:47 +01:00
Petros Angelatos
b7504843e9 Lots of logging and some bug fixing. Moved client.conf to client.conf.template 2013-07-21 02:30:12 +01:00
Petros Angelatos
eee7df97eb Moved state.json. Conflict with filenames 2013-07-21 02:27:45 +01:00
Petros Aggelatos
309a1d2036 Massive rearchitecture 2013-07-21 03:42:13 +03:00
Spyros Ligouras
331cc4d754 corrected typo in Environment entry 2013-07-20 13:23:32 +03:00
Spyros Ligouras
5f8da8ac16 added Environment & logfile path 2013-07-20 12:47:04 +03:00
Spyros Ligouras
f47a497c7a added user haki to audio group 2013-07-20 12:47:04 +03:00
Petros Angelatos
b62f640a13 changed 'stop' to 'stop-start' for openvpn 2013-07-20 10:44:05 +01:00
Petros Angelatos
999a0361a1 added the express server listening for blink requests 2013-07-20 03:57:51 +01:00
Spyros Ligouras
ca71bff06b prettier output for JSON.stringify 2013-07-19 22:32:36 +03:00
Spyros Ligouras
6390dd714a fixed path typos for HAKI_PATH/hakiapp 2013-07-19 22:29:43 +03:00
Spyros Ligouras
627ecc7888 Wrapped haki user exec() calls into hakiExec, got rid of hakisetEnv 2013-07-19 22:23:56 +03:00
Spyros Ligouras
a4e284fd93 Writing down state after succesfull bootstrappingw 2013-07-19 21:08:32 +03:00
Spyros Ligouras
f6d09c958d set the absolute path of state.json in STATE_FILE 2013-07-19 21:03:42 +03:00
Petros Angelatos
7bb3d4b9eb Added logs and changed exec to spawn 2013-07-19 17:40:18 +01:00
Petros Aggelatos
4587b232fc Moved timeout to the end of tasks. Fixed git pull command 2013-07-19 18:53:13 +03:00