Commit Graph

681 Commits

Author SHA1 Message Date
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
Pablo Carranza Vélez
dc7973e085 Add license and reorganize README headings 2015-10-27 11:07:46 -03:00
Pablo Carranza Vélez
605d72cbdc 1.2.0 2015-10-16 15:37:49 +00:00
Pablo Carranza Vélez
964f935c3f Merge pull request #5 from resin-io/RES-1334-dont-mount-docker-sock
Don't bind mount docker.sock
2015-10-16 11:37:58 -03:00
Pablo Carranza Vélez
811e929955 Don't bind mount docker.sock. It doesn't exist on devices that use rce 2015-10-16 13:56:06 +00:00
Pablo Carranza Vélez
84fca22485 Merge pull request #6 from resin-io/RES-1335-expose-version-as-env-var
Expose a RESIN_SUPERVISOR_VERSION env var to app
2015-10-16 10:53:49 -03:00
Pablo Carranza Vélez
ee273f1ec7 Expose a RESIN_SUPERVISOR_VERSION env var to app 2015-10-15 23:08:21 +00:00
Lorenzo Stoakes
91b6c1b808 1.1.1 2015-10-15 19:40:55 +01:00
Lorenzo Stoakes
d90c3f0414 Merge pull request #4 from resin-io/RES-1304-investigate-use-of-logfatal-and
Prevent non-fatal errors from closing the supervisor.
2015-10-15 18:43:37 +01:00
Lorenzo Stoakes
849a8c848b Prevent non-fatal errors from closing the supervisor.
This patch fixes a couple of cases where `log.Fatalf` would cause the supervisor
to exit immediately when it's inappropriate to do so. `log.Fatalf` and
co. should not be used unless the supervisor utterly cannot run without
whatever's being checked being in place.

This patch also adjusts the code that relied on the module's values being
created here being available, they now check and send an appropriate error
message if they're not there.
2015-10-15 18:14:42 +01:00
Pablo Carranza Vélez
584d0b54cc Merge pull request #3 from resin-io/RES-1323-keys-in-makefile
Default PubNub and Mixpanel keys are now passed at build time
2015-10-15 11:14:34 -03:00
Pablo Carranza Vélez
4bcba5adf6 Refactor to use a different name for the env vars (otherwise resin-vars overrides it with a null value) 2015-10-14 18:50:26 -03:00
Pablo Carranza Vélez
33d402c3c0 Default PubNub and Mixpanel keys are now passed at build time 2015-10-14 16:53:33 -03:00
Pablo Carranza Vélez
ae6b042318 Merge pull request #2 from resin-io/docs
Document API and update locking
2015-10-14 12:27:36 -03:00
Pablo Carranza Vélez
dbbca98689 Document API and update locking 2015-10-14 12:15:46 -03:00
Pablo Carranza Vélez
8453e703fe Quickfix: link to Gosuper branch in README 2015-10-13 15:05:10 -03:00