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 |
|
Petros Angelatos
|
9fb62a0faa
|
Add missing utilities
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
a12ebf884b
|
Increase rsync timeout to 5 mins
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
dbb7a2382c
|
Use precomplied docker binary from resin github
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
83931a0915
|
Add timeout to prevent rsync from hanging
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
071ee3dcf4
|
Ignore output from dockersync.sh
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
79d638f4f5
|
Pass the --delete parameter to rsync
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
f6eafb7b96
|
Always send the final progress event
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
004286a07e
|
Tag the target image at the last step
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
595f80e031
|
Fix rsync stream resumption
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
0ad68b6e47
|
Add docker.io in apt deps
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
7eefee77d0
|
Fix config var typo
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
8c7964684a
|
Return the supervisor tag containing the git commit
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
d0b6ba1721
|
Switch to http default transport
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
8bab80d3d7
|
Add symlink for the host docker directory
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
bd2f31624b
|
Delete unused functions
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
10e166020e
|
Speed up rsync diff application
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
c13e16c96a
|
Remove fallback to docker pull
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
9adbd81bc0
|
Avoid shadowing the config variable
|
2016-01-28 11:08:42 -03:00 |
|
Petros Angelatos
|
11dfbd1687
|
Don't timeout while waiting for delta
|
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 |
|
Pablo Carranza Velez
|
3e3e2a8d99
|
Quickfix again: Cast buffer to string when getting OS version. (Sorry)
|
2016-01-27 17:17:53 +00:00 |
|
Pablo Carranza Vélez
|
8e4d5783e5
|
Merge pull request #89 from resin-io/fix-os-version-reporting
Quickfix: use String .split instead of _.split when getting Host OS version
|
2016-01-26 21:09:23 -03:00 |
|