Commit Graph

617 Commits

Author SHA1 Message Date
Praneeth Bodduluri
1bab2c6a83 Do not report the tun addresses to API 2015-12-10 22:21:40 +05:30
Pablo Carranza Velez
3c8dce9bf4 1.3.1 2015-12-07 10:13:58 -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
10350c3d4a Remove volumes when removing a container 2015-11-25 15:00:45 -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
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
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
Pablo Carranza Vélez
2827719d9a 1.2.1 2015-11-04 13:28:06 -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
605d72cbdc 1.2.0 2015-10-16 15:37:49 +00: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
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
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
c1703ce97a 1.1.0 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
Pablo Carranza Vélez
98c9ee2c21 1.0.2 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
3d7f5f3ced Fix getting API key from DB by returning its .value 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
3d82ea8249 1.0.1 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
e975f0f69f Do auth for localhost too 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
3f3a26965e Use raspberrypi2 base image for armv7hf 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
6ed2fddd37 Wrap all update errors as Errors 2015-10-13 13:45:07 -03:00
Petros Angelatos
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
Pablo Carranza Vélez
858d1097fe 1.0.0 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Vélez
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
Pablo Carranza Vélez
933af97faf 0.0.18 2015-10-13 13:45:07 -03:00
Pablo Carranza Vélez
8da8092104 Use a function in utils to extend env vars 2015-10-13 13:45:06 -03:00
Pablo Carranza Vélez
6062658933 0.0.17 2015-10-13 13:45:06 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Vélez
9895cdccf2 Changelog for config.txt changes 2015-10-13 13:45:06 -03:00
Praneeth Bodduluri
c62db0867e Add changelog 2015-10-13 13:45:06 -03:00
Praneeth Bodduluri
66a4bf4ab3 Remove unused config.supervisorContainer in config.coffee 2015-10-13 13:45:06 -03:00
Pablo Carranza Vélez
bd889e06a1 Bind mount /boot in RPi 2015-10-13 13:45:06 -03:00
Praneeth Bodduluri
f86f5881d9 Implement and use golang endpoint for getting ipaddress' of the device 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
198975fcb1 Changelog for preloaded images 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
81e0fb8a3c Changelog for reboot/shutdown endpoints 2015-10-13 13:45:05 -03:00
Pablo Carranza Vélez
77ae12f0fb Changelog for container restart 2015-10-13 13:45:04 -03:00
Praneeth Bodduluri
b78fe94d0b Update CHANGELOG 2015-10-13 13:45:04 -03:00
Pablo Carranza Vélez
752c43f628 Changelog for update locking 2015-10-13 13:45:04 -03:00
Pagan Gazzard
fdf4f50691 0.0.16 2015-10-13 13:43:37 -03:00
Pagan Gazzard
0703759782 Try to populate the docker cache before building. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
397fd6872b 0.0.15 2015-10-13 13:43:35 -03:00
Praneeth Bodduluri
418d838dec Make resolv.conf writable from a User container 2015-10-13 13:43:35 -03:00
Pagan Gazzard
4fa84b1108 Update pubnub (latest version doesn't seem to have the heartbeat unnecessarily) 2015-10-13 13:43:35 -03:00
Pagan Gazzard
3ad47adce4 Fix an issue where an image would not be cleaned up if it was tagged in multiple repos. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
7d78d0dad8 Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
Pagan Gazzard
d65f329cd5 Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
Pagan Gazzard
4003bd4828 Write the registered_at time to config.json as well, in case there is a failure between writing to config.json and writing to knex [Page] 2015-10-13 13:39:39 -03:00
Pagan Gazzard
f03df0b4ad 0.0.14 2015-10-13 13:39:39 -03:00
Pagan Gazzard
2387402c35 Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
52d4cfb9d9 Fix an error where mixpanel events would have the wrong uuid set on first provision. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
12542bf7d4 Update knexjs to 0.8.3 2015-10-13 13:39:39 -03:00
Pagan Gazzard
ab26c6a401 Don't cache config.json 2015-10-13 13:39:38 -03:00
Pagan Gazzard
7bc0a7d869 0.0.13 2015-10-13 13:39:38 -03:00
Praneeth Bodduluri
cb24f338af Add /etc/resolv.conf bind mounts 2015-10-13 13:39:38 -03:00
Pagan Gazzard
c03658528c 0.0.12 2015-10-13 13:39:38 -03:00
Pagan Gazzard
e56d9b678e Stop displaying an error message when trying to start a container that is already started. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
a959660f90 Improve error messages reported to the user in the case of finding an empty string. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
e38796e92a Fix trying to delete supervisor container when it reports an alternate tag instead of the primary tag. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
099c13446a Switch to using the dockerode pull progress mechanism. 2015-10-13 13:39:38 -03:00