Resin CI
737c85dee4
v8.6.8
2018-12-07 12:48:05 +02:00
Heds Simons
8391ca741a
Merge pull request #837 from balena-io/836-unexposed-ip-address
...
api: Ensure Supervisor API returns IP addresses
2018-12-07 10:46:19 +00:00
Heds Simons
80203f29ad
api: Ensure Supervisor API returns IP addresses
...
The move from pure CoffeeScript to TypeScript has brought a
few changes to the way transpiling happens. Previously, through
serendipity, the way `startIPAddressUpdate` was called worked
because of the binding convention pre-transpiling.
However, with the move to TypeScript, this has altered and
the assumption that a lack of parentheses would call the
method before supplying a callback into the returned function
is incorrect. The method must be specifically called first.
Connects-to: #836
Change-type: patch
Signed-off-by: Heds Simons <heds@balena.io>
2018-12-07 10:37:00 +00:00
Resin CI
2f71b70aaa
v8.6.7
2018-12-04 20:15:49 +02:00
CameronDiver
cfdba17b1e
Merge pull request #832 from balena-io/reduce-pull-usage
...
Update docker-progress to reduce memory usage when pulling images
2018-12-04 19:14:21 +01:00
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