Cameron Diver
5c3d7f20bc
Update docker-progress to reduce memory usage when pulling images
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 17:05:23 +00:00
Resin CI
03ff1c3614
v8.6.6
2018-12-04 18:53:14 +02:00
Heds Simons
a8368104ef
Merge pull request #831 from balena-io/830-api-docs-envvar-label
...
docs: Clarify Supervisor envvars exposure via label
2018-12-04 16:50:56 +00:00
Heds Simons
79e7fb0b93
docs: Clarify Supervisor envvars exposure via label
...
Connects-to: #830
Change-type: patch
Signed-off-by: Heds Simons <heds@whaleway.net>
2018-12-04 16:38:26 +00:00
Resin CI
33549aa344
v8.6.5
2018-12-04 12:13:08 +02:00
CameronDiver
836f5d4e6c
Merge pull request #829 from balena-io/update-mixpanle
...
Update mixpanel node dependency, to pick up path changes
2018-12-04 11:11:29 +01:00
Cameron Diver
e409ebf27d
Update mixpanel node dependency, to pick up path changes
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 09:35:40 +00:00
Resin CI
6af1aa39d5
v8.6.4
2018-11-30 20:48:24 +02:00
Pablo Carranza Vélez
5b5a3eb85a
Merge pull request #806 from balena-io/docs-legacy-env-vars
...
docs: Clarify that older supervisors use RESIN_ variables
2018-11-30 13:46:58 -05:00
Pablo Carranza Velez
7fe94ec115
docs: Clarify that older supervisors use RESIN_ variables
...
We add a note on state endpoint docs to use RESIN_ variables. Since users will likely navigate directly to each endpoint, we add the note on the docs for each endpoint, except for endpoints added in >= 7.21.0 (since that version never made it to production).
We also switch some variables that were still referenced as RESIN_ to now use BALENA_.
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-30 14:45:10 -03:00
Resin CI
fa89b5881f
v8.6.3
2018-11-29 13:43:27 +02:00
CameronDiver
d2fa9994df
Merge pull request #826 from balena-io/local-mode-unmanaged-fixes
...
Local mode unmanaged fixes
2018-11-29 12:42:01 +01:00
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