Commit Graph

1031 Commits

Author SHA1 Message Date
4369ad31b0 Quickfix: Use yaml to render json with comments in README 2015-10-13 14:50:32 -03:00
6495b4f436 Use apps.json to determine the preloaded image to pull to dind 2015-10-13 13:45:09 -03:00
2ea336dec9 Don't duplicate 01_nodoc, and fix grammar in README 2015-10-13 13:45:08 -03:00
0a893aaa36 Make dind use debian instead of resin-base 2015-10-13 13:45:08 -03:00
c67f2be88f Refactor README for open source, and make Makefile use DockerHub by default 2015-10-13 13:45:08 -03:00
c1703ce97a 1.1.0 v1.1.0 2015-10-13 13:45:08 -03:00
3404b4f45b Use ENTRYPOINT to start the supervisor 2015-10-13 13:45:08 -03:00
25198409b1 Switch back to using arch-based node images 2015-10-13 13:45:08 -03:00
7eb17bd79b Don't let the bootstrap delete apiSecret from DB 2015-10-13 13:45:08 -03:00
b57dd10e81 Add API endpoint to expire and create new API key 2015-10-13 13:45:08 -03:00
4130df7771 Add Changelog and switch to using RESIN variables 2015-10-13 13:45:08 -03:00
96d4aebb76 Refactor api.go to use abstracted sendResponse and sendError - Also fix most go doc complaints 2015-10-13 13:45:08 -03:00
fd012c35b4 Match resin-supervisor-dind dbus export to the one used on real devices 2015-10-13 13:45:08 -03:00
4413397103 Abstract update polling function and fix wrong comment for disabling logging 2015-10-13 13:45:08 -03:00
1890c0bc0d Refactor api.go and systemd.go based on PR comments 2015-10-13 13:45:08 -03:00
8fe516253a Modify the earlier logic of Interval instead of a timeout 2015-10-13 13:45:08 -03:00
50a804683d Use Promises for requests+ Add better console logs 2015-10-13 13:45:08 -03:00
9efcc59252 Reorganize callbacks to utils and check for status accepted from go supervisor 2015-10-13 13:45:08 -03:00
e43e11b3c1 Enable control of API poll interval through Device Variables 2015-10-13 13:45:08 -03:00
f7c81f987f Mount resin-supervisor src into the emulated device + add socat to help test gosuper 2015-10-13 13:45:07 -03:00
b91cb78eea Allow control of VPN + TCP check + Pub nub logs with Device Environment variables 2015-10-13 13:45:07 -03:00
d6154b802d Adapt VPN service to mimic that of our devices + mount systemd in the supervisor 2015-10-13 13:45:07 -03:00
cd9daa8a8b Add GO api for openvpn control 2015-10-13 13:45:07 -03:00
98c9ee2c21 1.0.2 v1.0.2 2015-10-13 13:45:07 -03:00
3d7f5f3ced Fix getting API key from DB by returning its .value 2015-10-13 13:45:07 -03:00
3d82ea8249 1.0.1 v1.0.1 2015-10-13 13:45:07 -03:00
e975f0f69f Do auth for localhost too 2015-10-13 13:45:07 -03:00
ec6fd6eb03 Pass api key to app, and keep it saved in the DB (do not regenerate on startup) 2015-10-13 13:45:07 -03:00
3f3a26965e Use raspberrypi2 base image for armv7hf 2015-10-13 13:45:07 -03:00
6ed2fddd37 Wrap all update errors as Errors 2015-10-13 13:45:07 -03:00
2d891262a7 wait 5s after sending SIGTERM and before sending SIGKILL
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2015-10-13 13:45:07 -03:00
858d1097fe 1.0.0 v1.0.0 2015-10-13 13:45:07 -03:00
0fd03054e8 Expose supervisor API to app by allowing all requests from 127.0.0.1 and passing address and port as env vars 2015-10-13 13:45:07 -03:00
7f7a550363 Only apply boot config or special actions when env vars have changed and within lock, and persist the new env to the DB 2015-10-13 13:45:07 -03:00
933af97faf 0.0.18 v0.0.18 2015-10-13 13:45:07 -03:00
8da8092104 Use a function in utils to extend env vars 2015-10-13 13:45:06 -03:00
65df89aab6 Give extra environment variables to preloaded apps. Ensures the app is not unnecessarily restarted as soon as we gain connectivity. 2015-10-13 13:45:06 -03:00
6062658933 0.0.17 v0.0.17 2015-10-13 13:45:06 -03:00
d25447d539 Promisify executeSpecialActionsAndBootConfig and remount /boot rw 2015-10-13 13:45:06 -03:00
c136793cdd Blacklist certain config.txt entries, Update node to 0.10.40 everywhere
Use board-specific images until we have new arch based ones
2015-10-13 13:45:06 -03:00
9895cdccf2 Changelog for config.txt changes 2015-10-13 13:45:06 -03:00
39a07b8cd4 Remove the RPi /boot bind mount 2015-10-13 13:45:06 -03:00
0e283e8e72 Actually apply config.txt changes and reboot
Keep the original statements where possible. (to ensure same config keys under different filters are not overwritten with always the same value)
2015-10-13 13:45:06 -03:00
8b4d1e9f75 Ensure special env vars are persistent and add placeholder for device.setBootConfig 2015-10-13 13:45:06 -03:00
38df4651cb Change to using _.has 2015-10-13 13:45:06 -03:00
c62db0867e Add changelog 2015-10-13 13:45:06 -03:00
173d5ee651 Execute the callback function associated with the specialActionVars only once and remove unused parts 2015-10-13 13:45:06 -03:00
941d3b15af Allow special env vars with a callback which don't cause an app restart 2015-10-13 13:45:06 -03:00
66a4bf4ab3 Remove unused config.supervisorContainer in config.coffee 2015-10-13 13:45:06 -03:00
bd889e06a1 Bind mount /boot in RPi 2015-10-13 13:45:06 -03:00