1848a819da
Fix Typo in ipAddresses
2015-10-13 13:45:05 -03:00
391a141843
Change ipAddress to IPAddresses and add error message on unknown ip addr type
2015-10-13 13:45:05 -03:00
bc0afb0032
Catch all kind docker interfaces
2015-10-13 13:45:05 -03:00
ea0b058721
Change APIResponse to a struct with a Data Interface
2015-10-13 13:45:05 -03:00
e1957def25
Address style fixes in app.coffee
2015-10-13 13:45:05 -03:00
feb4d74d28
Use regex to finely detect docker and rce interfaces and address style fixes
2015-10-13 13:45:05 -03:00
f86f5881d9
Implement and use golang endpoint for getting ipaddress' of the device
2015-10-13 13:45:05 -03:00
84daa12404
Pass dbus socket to integration tests
2015-10-13 13:45:05 -03:00
8eb1c3ea7b
Ensure we have the deviceId by GETting it from the Resin API
2015-10-13 13:45:05 -03:00
198975fcb1
Changelog for preloaded images
2015-10-13 13:45:05 -03:00
8de173f6c3
Use crypto.randomBytes for API secret
2015-10-13 13:45:05 -03:00
0373607c56
Refactor bootstrapper. Run preloaded supervisor dind. Change dind configs to be ignored and document how to populate them.
2015-10-13 13:45:05 -03:00
909e193cea
Update resin-register-device to 2.0.0
2015-10-13 13:45:05 -03:00
9d2c142c36
Put preloaded apps in DB, and use promise for when boostrap is done
2015-10-13 13:45:05 -03:00
0bfd329ebc
change the bootstrap process
2015-10-13 13:45:05 -03:00
94d8703eef
Sleep before shutting down
2015-10-13 13:45:05 -03:00
81e0fb8a3c
Changelog for reboot/shutdown endpoints
2015-10-13 13:45:05 -03:00
8585ad718f
Use go-systemd/login1 for Reboot/Shutdown
2015-10-13 13:45:04 -03:00
6f42fc2036
Try to do systemd calls in gosuper
2015-10-13 13:45:04 -03:00
82f87527c8
Add godbus package
2015-10-13 13:45:04 -03:00
3da4dae190
Add systemd interface and reboot/shutdown endpoints
2015-10-13 13:45:04 -03:00
27786ebe65
Quick fix: use quotes in bash comparison
2015-10-13 13:45:04 -03:00
346e36f52b
Add a script to retry docker push when deploying
2015-10-13 13:45:04 -03:00
77ae12f0fb
Changelog for container restart
2015-10-13 13:45:04 -03:00
53ed41a4e2
Allow lockfile force to be specified in the request body
2015-10-13 13:45:04 -03:00
d5ddad914e
Add /v1/restart API endpoint
2015-10-13 13:45:04 -03:00
a15c9e636e
Add additional mount for the host's docker.sock
2015-10-13 13:45:04 -03:00
b78fe94d0b
Update CHANGELOG
2015-10-13 13:45:04 -03:00
efc272533c
Also mount the host dbus on host_run/dbus
2015-10-13 13:45:04 -03:00
27a8ee2b19
Use golang 1.5.1 for compiling
2015-10-13 13:45:04 -03:00
54d25f5202
Fix Makefile and env to handle changes in resin-vars
2015-10-13 13:45:04 -03:00
6e62366541
Always unlock the lockfile when killing the app.
...
Otherwise, we have a deadlock whenever the lock is forced: the app
will be restarted, and will find the lockfile is already there so it won't be
able to lock/unlock it. The supervisor will have the same problem.
So the solution is that, whenever we kill the app, that is the lock owner, we also unlock the file.
2015-10-13 13:45:04 -03:00
752c43f628
Changelog for update locking
2015-10-13 13:45:04 -03:00
233004d130
Download/update/remove/install all apps in a map
2015-10-13 13:45:03 -03:00
4aea117330
Purge handles strings and numbers, and is tested with a table
2015-10-13 13:45:03 -03:00
3da961d4fd
Use env var for force, and don't touch lockfile on force
...
Also:
* Force lock when purging
* Use updateStatus object to keep update state
2015-10-13 13:45:03 -03:00
c7c4aed746
Use rwlock together with lockfile
...
Select app to kill from DB within lock (otherwise, if some other part kills and restarts the app, the
containerId will have changed and the real container will not be removed).
2015-10-13 13:45:03 -03:00
d1b317399e
Updates by appId and use Promise.using for lock
...
Change the update cycle to go by appId instead of imageId.
Use Promise.using for lockFile locks and unlocks.
Now updates shouldn't stop if one of the apps fails to update
(it's a step towards better supporting multiple apps).
Forcing the lock now works.
Remove unnecessary require fs
Nicer assignment for s in joinErrorMessages
2015-10-13 13:45:03 -03:00
1eb31ce5f6
Apply coffeelint everywhere
2015-10-13 13:45:03 -03:00
c52c2c0bd9
First attempt at locking updates with files
2015-10-13 13:45:03 -03:00
9bbb0be536
Update resin-base for supervisor-dind to include ifupdown for the vpn.
2015-10-13 13:45:03 -03:00
7b02c067ac
Use the endpoint settings from config.json
2015-10-13 13:45:01 -03:00
fdf4f50691
0.0.16
v0.0.16
2015-10-13 13:43:37 -03:00
a8e1d476e3
Change to use 204 for API, Remove extra space in upscript.sh and Make fswatch start only on EEXIST error
2015-10-13 13:43:37 -03:00
7b8ca9fd73
Start the fs watch after the VPN directory has been created - Use finally and not then
2015-10-13 13:43:37 -03:00
ac545ccc52
Change the EEXIST to a function
2015-10-13 13:43:37 -03:00
a57c723e8a
Remove inotify and lint changes
2015-10-13 13:43:37 -03:00
a4966a798a
Change the fs functions to promise
2015-10-13 13:43:37 -03:00
0213916b90
Style changes
2015-10-13 13:43:37 -03:00
8642371094
Pause TCP Pings on VPN connection
2015-10-13 13:43:37 -03:00