Commit Graph

696 Commits

Author SHA1 Message Date
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
Praneeth Bodduluri
396fe7d619 Initialize DOCKER_SOCKET in entry.sh 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
53ebc1ef7f Use OOM Score Adjust 2016-01-08 18:30:14 +05:30
Praneeth Bodduluri
b0001c049f Initial helper functions for adjusting OOM adj value of process' and Docker containers 2016-01-08 18:30:14 +05:30
Page-
47474e1e14 Merge pull request #71 from resin-io/ignore-godeps-diffs
Ignore all godeps workspace diffs
2016-01-08 12:56:48 +00:00
Pagan Gazzard
4a829b851f Ignore all godeps workspace diffs 2016-01-08 12:45:11 +00:00
Pablo Carranza Vélez
2ae6a44a12 Merge pull request #70 from resin-io/revert-64-63-write-configjson-atomically
Revert "Make config.json writes atomic"
2016-01-07 21:03:39 -03:00
Pablo Carranza Vélez
17deb53c7c Revert "Make config.json writes atomic" 2016-01-07 21:01:12 -03:00
Pablo Carranza Vélez
07faa4ca34 Merge pull request #15 from resin-io/RES-1524-push-to-resin-registry
Deploy supervisor to the Resin registry too
2016-01-06 15:57:37 -03:00
Pablo Carranza Vélez
6d3abe1e34 Merge pull request #64 from resin-io/63-write-configjson-atomically
Make config.json writes atomic
2016-01-06 12:15:38 -03:00
Pablo Carranza Velez
6c8c8a86bd Deploy supervisor to the Resin registry too 2016-01-06 11:16:18 -03:00
Pablo Carranza Velez
c29f54b08c Make config.json writes atomic 2015-12-19 02:14:07 +00:00
Pablo Carranza Velez
50b28b1102 1.3.2 2015-12-17 11:44:11 -08:00
Praneeth
a8aa3ebd4f Merge pull request #49 from resin-io/github-34
Do not report the tun addresses to API
2015-12-10 22:38:24 +05:30
Praneeth Bodduluri
1bab2c6a83 Do not report the tun addresses to API 2015-12-10 22:21:40 +05:30
Praneeth
c25d4035ad Merge pull request #47 from resin-io/github-33
Issue 33: Duplicated exports.connectivityCheck in utils.coffee
2015-12-10 20:42:36 +05:30
Praneeth Bodduluri
89abff57f6 Fix: Duplicated exports.connectivityCheck in utils.coffee 2015-12-10 20:30:04 +05:30
Pablo Carranza Velez
3c8dce9bf4 1.3.1 2015-12-07 10:13:58 -08:00
Pablo Carranza Vélez
7f9683182e Merge pull request #40 from resin-io/assign-containerid-before-logger-attach
Bugfix: assign app.containerId before attaching logger
2015-12-07 10:11:04 -08:00
Pablo Carranza Velez
50137c163d Bugfix: assign app.containerId before attaching logger 2015-12-04 23:27:45 +00:00
Pablo Carranza Vélez
02d981a604 Merge pull request #36 from resin-io/waffle-badge
Add badge and link to waffle.io board
2015-12-03 09:22:09 -08:00
Pablo Carranza Vélez
d0ddfd8532 Merge pull request #38 from resin-io/37-save-after-starting
Only save the app if starting the container was successful
2015-12-03 09:21:56 -08:00
Pablo Carranza Velez
f0afdb9b2a Only save the app if starting the container was successful 2015-12-02 11:37:47 -08:00
Pablo Carranza Velez
b54087aec2 1.3.0 2015-12-01 10:10:40 -08:00
Pablo Carranza Velez
ac0917b114 Quick-fix: knex.select doesn't have .get() 2015-12-01 09:51:06 -08:00
Pablo Carranza Vélez
5eb225e701 Merge pull request #17 from resin-io/remove-volumes-when-killing
Remove volumes when removing a container
2015-11-30 09:59:57 -08:00
Pablo Carranza Vélez
fc04eab837 Add badge and link to waffle.io board 2015-11-30 09:02:34 -08:00
Pablo Carranza Velez
10350c3d4a Remove volumes when removing a container 2015-11-25 15:00:45 -08:00
Pablo Carranza Vélez
e03858d483 Merge pull request #8 from resin-io/RES-979-configurable-update-behaviour
Implement several update strategies
2015-11-24 10:11:06 -08:00
Pablo Carranza Velez
f31bbd10b4 Fake timestamp for 01_nodoc to avoid cache invalidation 2015-11-23 10:02:20 -08:00
Pablo Carranza Vélez
cbb3e2f461 Improve the update strategies:
* On handover, fetch old app from DB before starting the new app (and overwriting the DB record)
* Tidy up the logging
* Fix waitToKill so that it actually works
* Several other fixups
2015-11-23 10:02:19 -08:00
Pablo Carranza Vélez
1d6811a423 Implement waitToKill, keep RESIN_OVERRIDE_LOCK, and changelog for update strategies 2015-11-16 19:03:37 +00:00
Pablo Carranza Vélez
13dce75a21 Implement several update strategies
* Break up the update function into manageable parts
* Refactor the special variables into the RESIN_SUPERVISOR_ namespace
* Use three update strategies: normal, kill before download, hand over

TO-DO: implement waitToKill in the hand over case.
2015-11-16 19:03:36 +00:00
Praneeth
f483f93211 Merge pull request #13 from resin-io/RES-1384-if-no-ip-addresses-are-returned
Fix the error that comes up when no ip addresses are returned by gosuper
2015-11-16 21:05:07 +05:30
Praneeth Bodduluri
51ee79b7a2 Fix the error that comes up when no ip addresses are returned by gosuper 2015-11-12 20:33:18 +05:30
Page-
e7ef7e86ef Merge pull request #10 from resin-io/RES-1468-docker-progress
Switch to docker-progress for pull progress.
2015-11-10 17:30:10 +00:00
Pagan Gazzard
16a9cfa365 Switch to docker-progress for pull progress. 2015-11-10 17:29:22 +00:00
Praneeth Bodduluri
a5dbbc3cdd Add missed Changelog 2015-11-10 17:32:24 +05:30
Praneeth
bce3dc6df7 Merge pull request #11 from resin-io/RES-1389-wrong-endpoint-for-tcp-ping
Fix semvar versioning in tcp-ping endpoint
2015-11-10 17:28:00 +05:30
Pablo Carranza Vélez
1219b3c2a1 Merge pull request #12 from resin-io/build-status-badge
Add build status badge
2015-11-10 06:03:28 -03:00
Pablo Carranza Vélez
a2a5606522 Add build status badge 2015-11-10 06:01:37 -03:00
Pablo Carranza Vélez
35e8368a73 Merge pull request #7 from resin-io/add-license
Add license and reorganize README headings
2015-11-09 17:20:31 -03:00
Praneeth Bodduluri
6bc92b4276 Fix semvar versioning in tcp-ping endpoint 2015-11-09 19:50:49 +05:30
Pablo Carranza Vélez
2827719d9a 1.2.1 2015-11-04 13:28:06 -03:00
Pablo Carranza Vélez
4ac0feeca3 Merge pull request #9 from resin-io/RES-1396-random-logs-channel
Use random secret for logs channel
2015-11-04 11:43:34 -03:00
Pablo Carranza Vélez
0605a9f4ee Use generic config.forceSecret[name] and allow forcing logsChannel 2015-11-03 13:49:24 -03:00
Pablo Carranza Vélez
b08a028d69 Use random secret for logs channel 2015-10-28 20:02:00 -03:00