Commit Graph

2408 Commits

Author SHA1 Message Date
resin-io-versionbot[bot]
7f4e40b280 v7.1.24 2018-03-29 12:28:53 +00:00
Cameron Diver
393671505c
Respond to reboot and shutdown endpoints with a success object
Change-type: patch
Closes: #607
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-29 13:11:02 +01:00
resin-io-versionbot[bot]
b4fc2edfe2
Auto-merge for PR #606 via VersionBot
Avoid weird cwd errors when dist does not exist with sync
2018-03-29 11:59:22 +00:00
resin-io-versionbot[bot]
b94a19f791 v7.1.23 2018-03-29 11:40:46 +00:00
Cameron Diver
ea6b5ca59f
Avoid weird cwd errors when dist does not exist with sync
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-29 11:52:15 +01:00
resin-io-versionbot[bot]
eeec258d8b
Auto-merge for PR #596 via VersionBot
Back off fetching the target state exponentially, for faster retries …
2018-03-29 09:49:59 +00:00
resin-io-versionbot[bot]
d6d81b7cec v7.1.22 2018-03-29 09:36:03 +00:00
Pablo Carranza Velez
72a5f03b0c
Back off fetching the target state exponentially, for faster retries when there's no connectivity
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-29 10:20:52 +01:00
resin-io-versionbot[bot]
caca29f3a0
Auto-merge for PR #605 via VersionBot
Handle incorrectly parsed env vars from docker inspect
2018-03-27 09:41:59 +00:00
resin-io-versionbot[bot]
fd4ae18468 v7.1.21 2018-03-27 09:30:24 +00:00
Cameron Diver
e458c4103c
Handle incorrectly parsed env vars from docker inspect
Change-type: patch
Closes: #604
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-26 16:56:06 +01:00
resin-io-versionbot[bot]
ebbe90fd73
Auto-merge for PR #592 via VersionBot
Remove the last few parts of Go
2018-03-22 16:35:01 +00:00
resin-io-versionbot[bot]
d1519099f6 v7.1.20 2018-03-22 16:20:29 +00:00
Pablo Carranza Velez
ec1b36ab67
Remove the (now unused) gosuper folder
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-22 15:55:18 +00:00
Pablo Carranza Velez
348ff66cee
Replace the gosuper component with a node module that handles communication with systemd, and stop using an init system in the supervisor container
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-22 15:55:15 +00:00
resin-io-versionbot[bot]
11e8899455
Auto-merge for PR #599 via VersionBot
Remove any leftover knex migrations locks before running migrations
2018-03-22 14:56:46 +00:00
resin-io-versionbot[bot]
822ea1e185 v7.1.19 2018-03-22 14:36:50 +00:00
Pablo Carranza Velez
fb9618e25c Fix migrations directory path in knexfile for local development
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-21 18:20:15 -03:00
Pablo Carranza Velez
c8d79c3b7d Remove any leftover knex migrations locks before running migrations
Closes #598
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-21 18:20:15 -03:00
resin-io-versionbot[bot]
a2f0cacf19
Auto-merge for PR #595 via VersionBot
Trim whitespace from the hostname file on the host before passing it …
2018-03-19 21:09:13 +00:00
resin-io-versionbot[bot]
c89174418e v7.1.18 2018-03-19 20:54:55 +00:00
Pablo Carranza Velez
d46d6513b5 Trim whitespace from the hostname file on the host before passing it as the hostname for containers with host network
Closes #594
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-19 17:19:59 -03:00
resin-io-versionbot[bot]
2dfceaa7a1
Auto-merge for PR #591 via VersionBot
Force reboots and shutdowns if lock override is enabled
2018-03-19 20:12:31 +00:00
resin-io-versionbot[bot]
11aa504add v7.1.17 2018-03-19 19:55:32 +00:00
Pablo Carranza Velez
5d7d99c258 Document that the update lock can be forced on reboots and shutdowns
Closes #373
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-19 16:30:59 -03:00
Pablo Carranza Velez
e1e33b376e Force reboots and shutdowns if lock override is enabled
Closes #440
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-19 16:30:59 -03:00
resin-io-versionbot[bot]
8dc085c59a
Auto-merge for PR #593 via VersionBot
In /v1/apps/:appId/stop, wait for the service to exit before responding
2018-03-16 20:50:24 +00:00
resin-io-versionbot[bot]
a5421bd6b4 v7.1.16 2018-03-16 19:02:56 +00:00
Pablo Carranza Velez
91ac11d0e8 In /v1/apps/:appId/stop, wait for the service to exit before responding
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-16 15:13:15 -03:00
resin-io-versionbot[bot]
ad35375994
Auto-merge for PR #572 via VersionBot
automation: Use ssh instead of https to PR to meta-resin
2018-03-15 17:51:59 +00:00
resin-io-versionbot[bot]
84e5dbc27d v7.1.15 2018-03-15 17:37:40 +00:00
Pablo Carranza Velez
3fa567ae88 automation: Use ssh instead of https to PR to meta-resin
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-15 14:14:32 -03:00
resin-io-versionbot[bot]
a85692ca16
Auto-merge for PR #589 via VersionBot
Avoid trying to clean up the supervisor image if it has several tags …
2018-03-15 02:21:05 +00:00
resin-io-versionbot[bot]
dd15ab5fcc v7.1.14 2018-03-15 02:05:48 +00:00
Pablo Carranza Velez
5d7e8afcee Avoid trying to clean up the supervisor image if it has several tags (even though it would never succeed)
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 22:38:52 -03:00
resin-io-versionbot[bot]
a2287dd8b5
Auto-merge for PR #588 via VersionBot
Fix the check for whether the device  is provisioned by correctly get…
2018-03-15 01:38:11 +00:00
resin-io-versionbot[bot]
2daadd9544 v7.1.13 2018-03-15 01:24:04 +00:00
Pablo Carranza Velez
75ce55e932 Fix typo passing apiKey to the resin API client when exchanging apikeys
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 21:50:31 -03:00
Pablo Carranza Velez
7e342e9d80 Fix the check for whether the device is provisioned by correctly getting registered_at and deviceId from config.json into the ApiBinder
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 21:50:31 -03:00
resin-io-versionbot[bot]
fa6dcd45e7
Auto-merge for PR #586 via VersionBot
Fix using hostname from host when network mode is host, and fix working_dir comparison
2018-03-15 00:49:47 +00:00
resin-io-versionbot[bot]
a6f1d939a8 v7.1.12 2018-03-15 00:25:40 +00:00
Pablo Carranza Velez
08a98f47e4 compose: Use the hostname on the host as default hostname for services with host network mode
Otherwise if the hostname on the supervisor container differs from the hostname on the host, the current and target
services will never match.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 21:18:11 -03:00
Pablo Carranza Velez
557b6a8d07 Pass the correct working_dir to the container config, and compare containers for working dir changes
We were getting the correct working dir from the compose or image config, but not really using it.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 15:41:19 -03:00
resin-io-versionbot[bot]
44e5778acc
Auto-merge for PR #585 via VersionBot
DeviceConfig: avoid trying to enable or disable the VPN when in offline mode
2018-03-14 12:06:47 +00:00
resin-io-versionbot[bot]
32880653c1 v7.1.11 2018-03-14 11:54:22 +00:00
Pablo Carranza Velez
1febdc9eb0 DeviceConfig: avoid trying to enable or disable the VPN when in offline mode
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-14 10:15:07 +02:00
resin-io-versionbot[bot]
f99f59c6ae
Auto-merge for PR #584 via VersionBot
Fix updates when only releaseId and imageId have changed
2018-03-14 07:42:47 +00:00
resin-io-versionbot[bot]
c01accd208 v7.1.10 2018-03-14 07:28:29 +00:00
Pablo Carranza Velez
0101d62ace ApplicationManager: try to match available images by imageId to avoid keeping around unused image entries in the db
This should fix an issue where, on an update that only changes container metadata, the image install for the old image
is kept around on the API.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-13 18:45:26 -03:00
Pablo Carranza Velez
4ba4736aba compose: Emit a change event when a container is renamed, so that the updated imageId and releaseId are reported
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-13 18:45:26 -03:00