Cameron Diver
64a8c03eba
unmanged: Don't require a device name when setting a target state
...
Also set a default device name of 'local', to avoid an undefined value.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-29 11:35:08 +00:00
Cameron Diver
eda477ff86
localMode: Remove local mode from device-config
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-29 11:35:07 +00:00
Resin CI
5015721524
v8.6.2
2018-11-28 20:20:01 +02:00
CameronDiver
6f64920c9a
Merge pull request #825 from balena-io/fix-net-types
...
compose: Fix network option field names and update dockerode types
2018-11-28 19:17:18 +01:00
Cameron Diver
5c04df2cb8
compose: Fix network option field names and update dockerode types
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 17:43:31 +00:00
Resin CI
fd68ee6a1c
v8.6.1
2018-11-28 19:41:34 +02:00
CameronDiver
e281b4d5c2
Merge pull request #814 from balena-io/fix-migration-from-legacy-apps
...
fix: When updating from a legacy supervisor, use updated resource ids…
2018-11-28 18:39:30 +01:00
Pablo Carranza Velez
502167e267
fix: When updating from a legacy supervisor, use updated resource ids and image URL from the API
...
When updating from old supervisors (<7.0.0), we've been so far using a fake id 1 for serviceId, imageId
and releaseId since these were not available in the old supervisor. This causes problems when the supervisor
tries to report these values to the API. Moreover, the app from the legacy supervisor has an image URL
that doesn't include the content hash - this causes the supervisor to believe the image is not really downloaded
and try to fetch it again.
To fix these issues, we add a request to the API when the supervisor starts up and detects that there's a legacy
app that needs to be normalised. We fetch the appropriate release, and use it to populate the resource ids
and the updated image URL.
This should avoid the unnecessary image download, and errors reporting target state after an update.
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-28 17:19:55 +00:00
Resin CI
d2e68c1d3c
v8.6.0
2018-11-28 19:12:51 +02:00
CameronDiver
10aac624cc
Merge pull request #823 from balena-io/local-mode-endpoint-additions
...
Add container ID api endpoint
2018-11-28 18:11:18 +01:00
Cameron Diver
311eaf0ac0
device-api: Add container id endpoint
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 16:44:19 +00:00
Resin CI
7916876028
v8.5.1
2018-11-28 18:34:25 +02:00
CameronDiver
3e6e2fc9a2
Merge pull request #820 from balena-io/typescript-network
...
Convert network module to typescript
2018-11-28 17:32:24 +01:00
Cameron Diver
27706f2aee
Update package-lock
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:07 +00:00
Cameron Diver
6317b16138
Convert network module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:06 +00:00
Cameron Diver
4bcdc83850
Update network-checker to pick up typings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:05 +00:00
Cameron Diver
56041b98ae
Fix return type for blinking instantiation function
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:04 +00:00
Resin CI
981d232a38
v8.5.0
2018-11-28 17:12:47 +02:00
CameronDiver
80b4872d7e
Merge pull request #818 from balena-io/fix-unmanaged-selects
...
Fixes for unmanaged balenaOS
2018-11-28 16:11:14 +01:00
Cameron Diver
b37ce5e3d9
config: Set default apiKey of empty string to avoid undefined keys
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:53:09 +00:00
Cameron Diver
142d2a7c6f
config: Move config.ts -> config/index.ts
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:53:08 +00:00
Cameron Diver
a2e2948a4e
Allow local mode to be controlled via config.json
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:53:08 +00:00
Cameron Diver
2e80b49da1
Don't start connectivity check when in offlineMode
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:53:07 +00:00
Cameron Diver
ce543d820f
Improve UX when apps.json is not present
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:53:06 +00:00
Cameron Diver
f56be737ee
config: Switch default device type to unknown
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:26:05 +00:00
Cameron Diver
dfa9034fe9
Handle empty apiEndpoint when detecting mixpanel host
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 14:26:02 +00:00
Cameron Diver
940d8c9862
fix: Set default apiEndpoint to empty
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 13:11:45 +00:00
Resin CI
db24961365
v8.4.3
2018-11-27 22:40:41 +02:00
Shaun Mulligan
6e05f1288e
Merge pull request #822 from balena-io/issue-821
...
compose: Change default stop signal from '' to SIGTERM
2018-11-27 12:38:50 -08:00
Shaun Mulligan
aface89fd2
compose: Set default config for stopSignal to SIGTERM
...
Change-type: patch
Signed-off-by: Shaun Mulligan shaun@balena.io
2018-11-27 12:21:08 -08:00
Shaun Mulligan
646a510310
compose: Change default stop signal from '' to SIGTERM
...
Change-type: patch
Signed-off-by: Shaun Mulligan <shaun@balena.io>
2018-11-27 12:13:20 -08:00
Resin CI
27efe86bae
v8.4.2
2018-11-26 19:53:24 +02:00
CameronDiver
f35257b4db
Merge pull request #819 from balena-io/pin-event-stream
...
Pin event-stream to avoid picking up vulnerable flatmap-stream
2018-11-26 18:51:41 +01:00
Cameron Diver
f97609a8f7
Pin event-stream to avoid picking up vulnerable flatmap-stream
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-26 17:18:01 +00:00
Resin CI
582ac24701
v8.4.1
2018-11-22 14:49:13 +02:00
CameronDiver
43b8291cb1
Merge pull request #815 from balena-io/change-default-timeout
...
compose: Change default grace period to 10s
2018-11-22 13:47:34 +01:00
Cameron Diver
fe44d496fb
compose: Change default grace period to 10s
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-22 12:18:18 +00:00
Resin CI
20d0af1d70
v8.4.0
2018-11-21 15:30:12 +02:00
CameronDiver
b45c5505dd
Merge pull request #812 from balena-io/fix-mixpanel-proxying
...
events: Correctly proxy mixpanel events
2018-11-21 14:26:57 +01:00
Cameron Diver
920c3818bd
Add package.lock file
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-21 13:09:14 +00:00
Cameron Diver
f48e85095b
events: Correctly proxy mixpanel events
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-21 13:09:06 +00:00
Resin CI
a0841b18f6
v8.3.9
2018-11-13 23:29:13 +01:00
Resin CI
fe77e3fbfd
v8.3.9
2018-11-13 23:28:58 +01:00
Resin CI
135ca9ac8f
v8.3.9
2018-11-13 23:28:43 +01:00
CameronDiver
aef4ec53a9
Merge pull request #809 from balena-io/fix-m00001
...
Fix m00001 migration by using targetValues
2018-11-13 23:26:49 +01:00
Cameron Diver
96ecef8052
Fix m00001 migration by using targetValues
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-13 22:14:06 +00:00
CameronDiver
c9b7ebd74d
Merge pull request #755 from hippolyt/patch-1
...
Appended API example
2018-11-07 16:37:08 +01:00
Cameron Diver
e82b0103f7
Temporarily pin dockerode types to fix build issue
...
This depends on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/30343
being merged and released.
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-07 11:19:37 +00:00
hippolyt
04ec6d1379
Appended API example
...
Added api proxy example to /supervisor/v2/applications/state
Change-type: patch
2018-11-07 10:22:15 +00:00
Resin CI
486f3e034d
v8.3.8
2018-11-06 23:02:50 +01:00