Commit Graph

1085 Commits

Author SHA1 Message Date
Petros Angelatos
ff97ecb756 bump node-docker-delta version to 0.0.10
this version fixes the issue where failed attempts to apply the delta
result in a lot of docker images on the disk, which could also
potentially lead to out of space issues

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-06-16 08:42:36 +00:00
Pablo Carranza Velez
d88e7d7d36 1.11.3 2016-06-11 12:22:51 -03:00
Pablo Carranza Velez
a8677a4401 Add listener for container events and reattach on restart 2016-06-11 11:55:22 -03:00
Pablo Carranza Velez
f69e635196 1.11.2 2016-06-10 16:45:13 -03:00
Petros Angelatos
573cf31514 fix delta error handling by listening for the 'error' event
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-06-10 19:19:23 +00:00
Pablo Carranza Velez
1b7c91a791 1.11.1 2016-06-09 11:17:07 -03:00
Pablo Carranza Vélez
d069ce35e6 Merge pull request #161 from resin-io/fix-alpine-postinstall-sh
Use sh for postinstall as alpine has no bash
2016-06-09 11:11:32 -03:00
Petros Angelatos
d906786d58 update docker-delta to latest version
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-06-09 06:58:40 +00:00
Pablo Carranza Velez
1a1e1b5e8b Use sh for postinstall as alpine has no bash
Remove pipefail from postinstall.sh and use POSIX comparison
2016-06-07 15:44:28 -03:00
Pablo Carranza Velez
30457c0e0f 1.11.0 2016-06-07 13:01:38 -03:00
Pablo Carranza Velez
a6466b93aa 1.10.1 2016-06-07 11:30:44 -03:00
Petros Angelatos
20419bee3b Switch to docker-delta library to use deltas v2
This npm library implements the new delta format and also works with
docker 1.10.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-06-04 01:04:34 +00:00
Alexios Theodoros Brezas
932af53913 1.10.0 2016-05-26 17:49:40 +03:00
Alexios Theodoros Brezas
cba5f1c651 update docker progress to fix progress bars in docker v1.10 2016-05-26 17:46:37 +03:00
Pablo Carranza Velez
fa33cd72e1 1.9.0 2016-05-24 00:06:36 -03:00
Pablo Carranza Velez
ed7b936fee Use buffer-equal-constant-time to evaluate apikey 2016-05-23 23:59:45 -03:00
Trong Nghia Nguyen
7ff638585c Add alpine supervisor build info 2016-05-17 11:59:39 +07:00
Kostas Lekkas
efa7d7b93c 1.8.0 2016-04-25 16:39:42 +03:00
Pagan Gazzard
135365cf37 Remove the old terminal code, since it has been replaced by v2 which does not require supervisor support. 2016-04-15 23:36:28 +01:00
Alexios Theodoros Brezas
1b76b8ae45 1.7.0 2016-03-28 10:30:30 +01:00
Pablo Carranza Velez
eb301cc4c7 1.6.1 2016-03-08 15:31:48 +00:00
Pablo Carranza Velez
1f89f01a23 1.6.0 2016-02-22 14:38:15 -03:00
Pablo Carranza Velez
9965bfeca1 1.5.0 2016-02-09 10:28:11 -03:00
Pablo Carranza Velez
27e8e3c027 Update docker-progress and drop default port from repo tag 2016-01-28 11:08:42 -03:00
Pablo Carranza Velez
78f0df281b Replace dockersync.sh with node and dockerode stuff. Don't install docker. Add Dockerfile changes for armel. 2016-01-28 11:08:42 -03:00
Petros Angelatos
cbde944565 Implement rsync diff fetching method 2016-01-28 11:08:42 -03:00
Pablo Carranza Velez
0472ba1401 1.4.0 2016-01-28 11:04:36 -03:00
Pagan Gazzard
2bbea08938 Update pinejs-client 2016-01-14 16:30:02 +00:00
Pablo Carranza Velez
50b28b1102 1.3.2 2015-12-17 11:44:11 -08:00
Pablo Carranza Velez
3c8dce9bf4 1.3.1 2015-12-07 10:13:58 -08:00
Pablo Carranza Velez
b54087aec2 1.3.0 2015-12-01 10:10:40 -08:00
Pagan Gazzard
16a9cfa365 Switch to docker-progress for pull progress. 2015-11-10 17:29:22 +00:00
Pablo Carranza Vélez
2827719d9a 1.2.1 2015-11-04 13:28:06 -03:00
Pablo Carranza Vélez
605d72cbdc 1.2.0 2015-10-16 15:37:49 +00:00
Lorenzo Stoakes
91b6c1b808 1.1.1 2015-10-15 19:40:55 +01:00
Pablo Carranza Vélez
c1703ce97a 1.1.0 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
98c9ee2c21 1.0.2 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
3d82ea8249 1.0.1 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
858d1097fe 1.0.0 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
933af97faf 0.0.18 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
6062658933 0.0.17 2015-10-13 13:45:06 -03:00
Pablo Carranza Vélez
8de173f6c3 Use crypto.randomBytes for API secret 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
909e193cea Update resin-register-device to 2.0.0 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
0bfd329ebc change the bootstrap process 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
6f42fc2036 Try to do systemd calls in gosuper 2015-10-13 13:45:04 -03:00
Pablo Carranza Vélez
3da4dae190 Add systemd interface and reboot/shutdown endpoints 2015-10-13 13:45:04 -03:00
Pablo Carranza Vélez
c52c2c0bd9 First attempt at locking updates with files 2015-10-13 13:45:03 -03:00
Pagan Gazzard
fdf4f50691 0.0.16 2015-10-13 13:43:37 -03:00
Praneeth Bodduluri
a57c723e8a Remove inotify and lint changes 2015-10-13 13:43:37 -03:00
Praneeth Bodduluri
8642371094 Pause TCP Pings on VPN connection 2015-10-13 13:43:37 -03:00
Praneeth Bodduluri
03299d77f5 API to pause TCP checks 2015-10-13 13:43:37 -03:00
Pablo Carranza Vélez
6d54e6663e Lock app restart, cleanup and better testing 2015-10-13 13:43:36 -03:00
Pagan Gazzard
397fd6872b 0.0.15 2015-10-13 13:43:35 -03:00
Pagan Gazzard
4fa84b1108 Update pubnub (latest version doesn't seem to have the heartbeat unnecessarily) 2015-10-13 13:43:35 -03:00
Pagan Gazzard
3ad47adce4 Fix an issue where an image would not be cleaned up if it was tagged in multiple repos. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
d65f329cd5 Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
Juan Cruz Viotti
aead4c7531 Make use of resin-register-device 2015-10-13 13:42:25 -03:00
Pagan Gazzard
f03df0b4ad 0.0.14 2015-10-13 13:39:39 -03:00
Pagan Gazzard
1ee3072c75 Force a newer bluebird so that we can rely on error properties also being available on the root error. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
12542bf7d4 Update knexjs to 0.8.3 2015-10-13 13:39:39 -03:00
Pagan Gazzard
7bc0a7d869 0.0.13 2015-10-13 13:39:38 -03:00
Pagan Gazzard
c03658528c 0.0.12 2015-10-13 13:39:38 -03:00
Pagan Gazzard
099c13446a Switch to using the dockerode pull progress mechanism. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
75e5a8302b 0.0.11 2015-10-13 13:39:38 -03:00
Pagan Gazzard
1787aa2a0f Update network-checker for a bugfix. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
1400dae1e8 0.0.10 2015-10-13 13:39:38 -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
Petros Angelatos
169df24ebf Bump version 2015-10-13 13:39:37 -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
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
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
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
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
0d0ca4deda Switch to using resin/rpi-node and node images, making use of package.json caching. 2015-10-13 13:36:13 -03:00
Petros Angelatos
798b146f44 Bump version 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
03f7b11c8b Update lodash to v3.0.0 2015-10-13 13:36:12 -03:00
Aleksis Brezas
f17402753f version 0.0.4 2015-10-13 13:36:12 -03:00
Pagan Gazzard
ac07a030e9 0.0.3 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
df536f672f Update to pinejs-client-js v0.3.1 2015-10-13 13:28:00 -03:00
Pagan Gazzard
0b93c1ce2c Use typed-error for the disconnected error. 2015-10-13 13:27:59 -03:00
Pagan Gazzard
7f5052f274 Update resin-platform-api to v0.2.7
* now correctly returns rejected promises for non-2xx responses
* now defaults compression to on
2015-10-13 13:27:58 -03:00
Pagan Gazzard
271719708c Update resin-platform-api to v0.2.5
This fixes a load of `Cannot read property 'd' of undefined` errors I had whilst staging was down for update.
2015-10-13 13:27:57 -03:00
Pagan Gazzard
0630d8051b Only try to copy the enter.sh if there is a /data directory. 2015-10-13 13:10:12 -03:00
Pagan Gazzard
1b0e364322 Enable spawning a tty.js tunnel. 2015-10-13 13:10:12 -03:00
Praneeth Bodduluri
e7216618ad Make Blinkable LED configurable + Move blink to utils + Check connectivity before bootstrap + Blink LED on loss of connection 2015-10-13 13:10:11 -03:00
Pagan Gazzard
ba5e186ebc Order the packages according to npm install --save 2015-10-13 13:08:23 -03:00
Pagan Gazzard
bf8922e2d9 Update bluebird to v2.2.2 2015-10-13 13:08:23 -03:00
Praneeth Bodduluri
be5a32187a User local accelerator if available 2015-10-13 13:06:43 -03:00
Praneeth Bodduluri
d5c9735525 club all removes into one line 2015-10-13 13:06:43 -03:00
Praneeth Bodduluri
f8e8acfe35 Properly remove the deployment key 2015-10-13 13:06:43 -03:00
Praneeth Bodduluri
53f3303abc Use the buildstep pushed to staging & Remove deploy_key 2015-10-13 13:06:42 -03:00
Petros Angelatos
1501cf3122 Integrate mixpanel 2015-10-13 13:06:42 -03:00
Page
a0f9219cb3 Initial version of self-updates, adds an "/v1/update-supervisor" endpoint that can be posted to in order to trigger a supervisor update, which it then fetches as the resin/rpi-supervisor repo of the registry endpoint. 2015-10-13 13:06:41 -03:00
Petros Angelatos
5caace400f Send logs through pubnub 2015-10-13 13:04:25 -03:00
Petros Angelatos
9325b258ae Combine scripts 2015-10-13 13:03:16 -03:00
Petros Angelatos
272daea89c Make supervisor deployable with resin 2015-10-13 13:03:16 -03:00
Page
1c209fa827 Compile all the coffee-script files once after installing, rather than on each run. 2015-10-13 13:01:25 -03:00
Page
bc0d981610 Use an app object throughout, rather than relying upon just the imageId, this is very useful for adding extra properties to the app when starting/etc (eg env vars/ports/etc) 2015-10-13 12:58:58 -03:00
Page
a5aaee107d Use the resin-platform-api to access the platform. 2015-10-13 12:58:57 -03:00
Page
2d6f0a7e6d Update bluebird and use the delay helper. 2015-10-13 12:58:57 -03:00
Page
e8e6490dd2 Update to coffee-script 1.7.1 2015-10-13 12:58:57 -03:00
Petros Aggelatos
ace3e45371 Use package.json to install native dependencies 2015-10-13 12:58:57 -03:00
Petros Aggelatos
e4de1453ce Correct engine syntax in package.json 2015-10-13 12:58:57 -03:00
Petros Aggelatos
cfe52ba7ec Use latest arm prebuilt node binary 2015-10-13 12:58:57 -03:00
Petros Aggelatos
0d50132702 Missing dependency 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
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 Angelatos
6df6feb5ef Application now emits events on status changes 2013-07-21 15:33:46 +01:00
Petros Angelatos
999a0361a1 added the express server listening for blink requests 2013-07-20 03:57:51 +01:00
Spyros Ligouras
a3517c3516 now using node-posix 2013-07-19 03:45:02 +03:00
Spyros Ligouras
6ef6a77036 added getuid to dependencies 2013-07-19 02:28:48 +03:00
Petros Aggelatos
c7245f392d Add request to package.json 2013-07-18 14:34:45 +03:00
Petros Aggelatos
1cfb90a122 Add async to package.json 2013-07-18 14:31:40 +03:00
Petros Aggelatos
6e006a8915 Change the name to Haki 2013-07-16 22:56:43 +03:00
ligouras
ebe036e02a Reinit commit 2013-06-01 19:57:36 +01:00
Spyros Ligouras
e1622813aa Initial commit 2013-06-01 21:34:38 +03:00