Commit Graph

659 Commits

Author SHA1 Message Date
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
Pablo Carranza Vélez
4369ad31b0 Quickfix: Use yaml to render json with comments in README 2015-10-13 14:50:32 -03:00
Pablo Carranza Vélez
6495b4f436 Use apps.json to determine the preloaded image to pull to dind 2015-10-13 13:45:09 -03:00
Pablo Carranza Vélez
2ea336dec9 Don't duplicate 01_nodoc, and fix grammar in README 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
0a893aaa36 Make dind use debian instead of resin-base 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
c67f2be88f Refactor README for open source, and make Makefile use DockerHub by default 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
c1703ce97a 1.1.0 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
3404b4f45b Use ENTRYPOINT to start the supervisor 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
25198409b1 Switch back to using arch-based node images 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
7eb17bd79b Don't let the bootstrap delete apiSecret from DB 2015-10-13 13:45:08 -03:00
Pablo Carranza Vélez
b57dd10e81 Add API endpoint to expire and create new API key 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
4130df7771 Add Changelog and switch to using RESIN variables 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
96d4aebb76 Refactor api.go to use abstracted sendResponse and sendError - Also fix most go doc complaints 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
fd012c35b4 Match resin-supervisor-dind dbus export to the one used on real devices 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
4413397103 Abstract update polling function and fix wrong comment for disabling logging 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
1890c0bc0d Refactor api.go and systemd.go based on PR comments 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
8fe516253a Modify the earlier logic of Interval instead of a timeout 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
50a804683d Use Promises for requests+ Add better console logs 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
9efcc59252 Reorganize callbacks to utils and check for status accepted from go supervisor 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
e43e11b3c1 Enable control of API poll interval through Device Variables 2015-10-13 13:45:08 -03:00
Praneeth Bodduluri
f7c81f987f Mount resin-supervisor src into the emulated device + add socat to help test gosuper 2015-10-13 13:45:07 -03:00
Praneeth Bodduluri
b91cb78eea Allow control of VPN + TCP check + Pub nub logs with Device Environment variables 2015-10-13 13:45:07 -03:00
Praneeth Bodduluri
d6154b802d Adapt VPN service to mimic that of our devices + mount systemd in the supervisor 2015-10-13 13:45:07 -03:00