Commit Graph

742 Commits

Author SHA1 Message Date
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
Pablo Carranza Vélez
94e34ee990 Quickfix: use String .split instead of _.split
lodash 3 doesn't have the _.split function :S
2016-01-26 20:56:19 -03:00
Pablo Carranza Vélez
9c52149f0f Merge pull request #82 from resin-io/75-report-host-os-version
Report Host OS version to the API
2016-01-26 11:01:07 -03:00
Pablo Carranza Velez
8a4514ac00 Report Host OS version to the API 2016-01-26 10:20:04 -03:00
Pablo Carranza Vélez
686c40461e Merge pull request #85 from resin-io/72-use-defaults-not-extend-for-env
Ensure internal env vars are not overwritten
2016-01-22 13:01:00 -03:00
Pablo Carranza Velez
0f20251a8b Use _.defaults instead of _.extend to ensure internal env vars are not overwritten 2016-01-22 12:40:41 -03:00
Pablo Carranza Vélez
3e18a350f1 Merge pull request #86 from resin-io/18-expose-apikey-to-app
Expose resin API key to apps
2016-01-22 12:38:57 -03:00
Pablo Carranza Velez
11b5e0abc9 Expose resin API key to apps 2016-01-21 17:50:47 -03:00
Pablo Carranza Vélez
d6f70a38a4 Merge pull request #84 from resin-io/83-set-idle-after-download
Set status to Idle when download is over
2016-01-21 14:15:47 -03:00
Pablo Carranza Velez
5961be6ffb Set status to Idle when download is over 2016-01-21 10:52:36 -03:00
Pablo Carranza Vélez
c72ed80c77 Merge pull request #80 from resin-io/armv5-supervisor
Add build info for armv5
2016-01-20 10:02:51 -03:00
Pablo Carranza Velez
b17bd5bc27 Set GOARM separately for each architecture. Add changelog entries. 2016-01-20 00:45:05 -03:00
Praneeth
0a0d2ddd35 Merge pull request #81 from resin-io/psutils_name_match_bug
BugFix - OOMAdjust wrongly runs on all PIDs without a name match
2016-01-20 02:58:01 +05:30
Praneeth Bodduluri
6d391703e2 BugFix - OOMAdjust wrongly runs on all PIDs without a name match 2016-01-20 02:20:36 +05:30
James
0125e86a6b Add build info for armv5 2016-01-19 09:59:26 +07:00
Pablo Carranza Vélez
b674c2991e Merge pull request #78 from resin-io/77-set-download-progress-to-0
Set download_progress to 0 when beginning download
2016-01-15 14:35:59 -03:00
Pablo Carranza Velez
7d31ae9b24 Set download_progress to 0 when beginning download 2016-01-15 16:59:55 +00:00
Page-
1ad002d7f7 Merge pull request #76 from resin-io/update-pinejs-client
Update pinejs-client
2016-01-14 16:54:54 +00:00
Pagan Gazzard
2bbea08938 Update pinejs-client 2016-01-14 16:30:02 +00:00
Pablo Carranza Vélez
a99b323a76 Merge pull request #74 from resin-io/gitter-badge
Add Gitter badge
2016-01-12 10:26:58 -03:00
Praneeth Bodduluri
8acf819251 Add missing CHANGELOG for previous merge 2016-01-12 18:06:25 +05:30
Praneeth
22ded13326 Merge pull request #65 from resin-io/OOMADJ
Add OOM protection for resin_supervisor + openvpn and connmand
2016-01-12 18:03:18 +05:30
Praneeth Bodduluri
fb47f73907 Add missing container filtering + Address PR Comments by removing regexp and making more idiomatic choices 2016-01-12 17:58:07 +05:30
Pablo Carranza Vélez
ceaff19d6f Add Gitter badge 2016-01-11 16:07:13 -03:00
Praneeth Bodduluri
b28e6c7648 Change the openvpn and connmand OOM adjust to only happen if existing value is 0 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
1bc53ebc8d Add protection for connman and openvpn every 5 minutes 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
34dcae78de Fix formatting tests to exclude Godeps 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
7ac0323de3 Move the OOM protection code to a function 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
6231b952bc Use psutils to set OOM adj score for this container to -800 2016-01-08 18:30:14 +05:30