Commit Graph

843 Commits

Author SHA1 Message Date
Alexios Theodoros Brezas
1b76b8ae45 1.7.0 2016-03-28 10:30:30 +01:00
Pablo Carranza Vélez
3adc752bc2 Merge pull request #113 from resin-io/107-log-to-display-var
Host config improvements
2016-03-24 16:59:29 +02:00
Pablo Carranza Velez
d0f748379e Fix log message for setLogToDisplay 2016-03-23 17:59:44 -03:00
Pablo Carranza Velez
adb7ef1140 Omit host config also when formatting local apps 2016-03-23 17:36:04 -03:00
Pablo Carranza Velez
9fea0a729b Use json to print boot config 2016-03-23 17:24:03 -03:00
Pablo Carranza Velez
8771307c39 Lodash 3 has no omitBy 2016-03-23 16:48:23 -03:00
Pablo Carranza Velez
9ae6b07b74 Changelog for config vars improvements 2016-03-23 12:23:19 -03:00
Pablo Carranza Velez
c9968f7bbc Improve logging, plus some style fixes 2016-03-23 12:21:15 -03:00
Pablo Carranza Velez
eddc58ee86 Finish log to display setting. Add logging to host config. Save host config before rebooting. Allow applying boot config to RPi3. 2016-03-23 12:21:15 -03:00
Pablo Carranza Velez
2c5bc8b90a Add nodejs side of enabling/disabling log to display 2016-03-23 12:21:14 -03:00
Aleksis Brezas
a8df4c0021 Merge pull request #116 from resin-io/bind-mount-connman
Bind mount /var/lib/connman to application containers.
2016-03-23 06:15:42 +02:00
Alexios Theodoros Brezas
3d082aaaa8 mount to /host dir 2016-03-23 04:15:02 +00:00
Alexios Theodoros Brezas
84d42ca6de Bind mount /var/lib/connman to application containers.
This allows application containers to interface with host connman.

Host /var/lib/connman is bind mounted to /host_var/lib/connman to avoid
collisions with connman installations inside the container.
2016-03-23 04:15:01 +00:00
Pablo Carranza Vélez
06d2fa1afd Merge pull request #105 from resin-io/103-dont-restart-on-delta-change
Add RESIN_SUPERVISOR_DELTA to vars that don't restart the app
2016-03-23 00:09:11 +02:00
Pablo Carranza Velez
f29bab0b9d Add RESIN_SUPERVISOR_DELTA to special list so that app is not restarted when it changes 2016-03-09 10:53:48 -03:00
Pablo Carranza Velez
eb301cc4c7 1.6.1 2016-03-08 15:31:48 +00:00
Kostas Lekkas
cefadc0d53 Merge pull request #102 from resin-io/101-reduce-noise-in-logs
Reduce noise in logs
2016-03-07 16:29:12 +02:00
Kostas Lekkas
fcaafd9033 Reduce noise in logs 2016-03-07 13:16:38 +02:00
Kostas Lekkas
ac0e510416 Merge pull request #99 from lekkas/add-resin-supervisor-host-socket-service
Add resin-supervisor-host-socket.service for webterminal
2016-02-29 08:28:43 +02:00
Kostas Lekkas
b55a2c5539 Add resin-supervisor-host-socket.service for webterminal 2016-02-26 19:36:12 +02:00
Pablo Carranza Velez
1f89f01a23 1.6.0 2016-02-22 14:38:15 -03:00
Pablo Carranza Vélez
a2fa396b9f Merge pull request #97 from resin-io/32-endpoint-for-device-state
Add endpoint to get device state
2016-02-18 15:17:46 -03:00
Pablo Carranza Velez
d6dcaa3ac5 Document that commit is also present in the device state endpoint 2016-02-18 16:53:16 +00:00
Pablo Carranza Velez
a4b08e389e Add more update-related fields to the GET /v1/device endpoint 2016-02-18 16:53:15 +00:00
Pablo Carranza Velez
d0c76aec0f Use a closure for device state and also report in GET /v1/device whether there's a pending update 2016-02-18 16:53:15 +00:00
Pablo Carranza Velez
670f318c39 Add endpoint to get device state 2016-02-18 16:53:15 +00:00
Pablo Carranza Vélez
38fb0c6257 Merge pull request #94 from resin-io/91-fix-getting-default-config
Check for valid strings or ints in all config values
2016-02-18 13:50:58 -03:00
Pablo Carranza Velez
b088612ddd Check for valid strings or ints in all config values 2016-02-18 12:52:00 -03:00
Pablo Carranza Vélez
a151e95036 Merge pull request #96 from resin-io/95-remove-quotes-in-os-version
Remove quotes in OS version
2016-02-17 11:26:17 -03:00
Pablo Carranza Velez
71bd742dfe Remove quotes in OS version 2016-02-15 19:03:06 +00:00
Pablo Carranza Velez
9965bfeca1 1.5.0 2016-02-09 10:28:11 -03:00
Pablo Carranza Vélez
5597ab0a85 Merge pull request #1 from resin-io/rsync-deltas
Rsync deltas
2016-01-28 15:40:01 -03:00
Pablo Carranza Velez
6dcee245fd Changelog entry for deltas 2016-01-28 11:10:15 -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
Pablo Carranza Velez
676f6699fe Nicer use of spawn 2016-01-28 11:08:42 -03:00
Pablo Carranza Velez
9dd1fa2408 Catch out of sync errors falling back to scratch. Make update retries more dependent on number of failures 2016-01-28 11:08:42 -03:00
Pablo Carranza Velez
d3fea26c11 Send both source tag and Id to delta server 2016-01-28 11:08:42 -03:00
Pablo Carranza Velez
b9eb6836be Better check for source image.
Don't use config.supervisorImage, and use image Id's instead of tags.

Also, change the RESIN_DELTA var into the RESIN_SUPERVISOR_ namespace.
2016-01-28 11:08:42 -03:00
Pablo Carranza Vélez
5b48856c9a Bring back request - and show an error when talking to delta server fails 2016-01-28 11:08:42 -03:00
Pablo Carranza Vélez
1a5a9b0e23 findSimilarImage should always return an array, and test the repoTag[0] 2016-01-28 11:08:42 -03:00
Pablo Carranza Vélez
8e4e844cfa JSON.parse env before checking for delta, and use progress.percentage 2016-01-28 11:08:42 -03:00
Petros Angelatos
1bc149866d deltas: sync() after running rsync on the new subvolume 2016-01-28 11:08:42 -03:00
Petros Angelatos
5aa643aba4 Fix Dockerfile dependencies on all platforms 2016-01-28 11:08:42 -03:00
Petros Angelatos
7deab91368 Add ca-certificates
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-01-28 11:08:42 -03:00
Petros Angelatos
607bfdf698 Fix armv7 build
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-01-28 11:08:42 -03:00
Petros Angelatos
f7a2668c4f config: change default delta endpoint to https and production
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-01-28 11:08:42 -03:00
Petros Angelatos
f6f88941eb delta: only use deltas when RESIN_DELTA is set
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-01-28 11:08:42 -03:00
Petros Angelatos
582e3322ec Set a 5 min timeout to delta requests 2016-01-28 11:08:42 -03:00
Petros Angelatos
88f0e4e229 Fix typo 2016-01-28 11:08:42 -03:00