645bc6c185
Ensure we get input on parsing errors
...
We wrap JSON and date parsing code to ensure input data is logged in case of an error.
Change-type: minor
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-26 17:40:02 +03:00
7c4d8d7653
Ensure local mode switch runs before target state
...
This change makes DeviceState to wait until local mode switch is definitely
completed before actually applying the state, which avoids races in state cleanup.
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-26 17:40:02 +03:00
4974c9200c
Clean up local mode engine objects using snapshots
...
Snapshot is collected to compare with engine state when local mode is turned off.
Change-type: minor
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-26 17:40:01 +03:00
bc3c56da4e
Add sinon types
...
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-26 17:40:00 +03:00
230225b49c
v9.17.2
v9.17.2
2019-06-25 18:06:51 +03:00
10b5f169ac
Merge pull request #1019 from balena-io/https-submodule
...
Change to https for cloning resinos-in-container submodule
2019-06-25 15:58:10 +01:00
81b0d3142e
Change to https for cloning resinos-in-container submodule
...
May require a `git submodule sync` to update existing local config
Change-type: patch
2019-06-25 14:24:15 +01:00
4cc83d5520
v9.17.1
v9.17.1
2019-06-21 16:28:07 +03:00
45f00c86ac
Merge pull request #1010 from balena-io/update-dind-resinos
...
Update the resinos version for the dind supervisor
2019-06-21 14:26:11 +01:00
f5aedffa05
Update the resinos version for the dind supervisor
...
Change-type: patch
2019-06-21 13:32:53 +01:00
30897ddbba
v9.17.0
v9.17.0
2019-06-20 23:45:43 +03:00
56c4f1d23f
Merge pull request #1007 from balena-io/roman/report-status-in-local-mode
...
Report device state in local mode
2019-06-20 23:43:51 +03:00
024b9c45f4
Report device state in local mode
...
In local mode, we now update device status on the backend,
but omit applications info in our updates.
Closes : #959
Change-type: minor
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-20 15:38:33 +03:00
f662a6be39
v9.16.7
v9.16.7
2019-06-20 15:27:13 +03:00
d8eeba3d46
Merge pull request #1008 from balena-io/fix-bad-report
...
Don't drop failed api patch data
2019-06-20 05:25:11 -07:00
8c69ae7645
Don't drop failed api patch data
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-20 12:56:10 +01:00
cebf3761d6
v9.16.6
v9.16.6
2019-06-20 13:29:23 +03:00
255fdb2585
Merge pull request #1009 from balena-io/roman/remove-mochainon
...
Remove mochainon dependnecy
2019-06-20 13:27:46 +03:00
3f5239b07f
Remove mochainon dependnecy
...
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io >
2019-06-19 23:31:58 +03:00
fe856f091a
v9.16.5
v9.16.5
2019-06-19 15:58:17 +03:00
77fc10cbb7
Merge pull request #1006 from balena-io/typescript-tests
...
Allow writing test files in typescript
2019-06-19 15:55:46 +03:00
9dab00d156
Allow writing test files in typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-19 10:55:15 +01:00
79762c2e08
v9.16.4
v9.16.4
2019-06-18 16:30:22 +03:00
127c0fb833
Merge pull request #1005 from balena-io/better-sync-debug
...
Make sync-debug much more reliable with logs
2019-06-18 06:28:18 -07:00
6c7234f84b
Make sync-debug much more reliable with logs
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-18 13:32:04 +01:00
e3d9a9e9da
v9.16.3
v9.16.3
2019-06-11 15:43:58 +03:00
04cbadf30b
Merge pull request #1001 from balena-io/fix-typo
...
Fix typo in image selection
2019-06-11 05:41:58 -07:00
65019bb5bc
Fix typo in image selection
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-11 13:10:44 +01:00
73c405bd63
v9.16.2
v9.16.2
2019-06-11 11:00:25 +03:00
118d052022
Merge pull request #999 from balena-io/reparallel-image-code
...
Re-parallelise current image retrieval code
2019-06-11 00:58:25 -07:00
b1e4e8399b
Re-parallelise current image retrieval code
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-11 07:50:38 +01:00
6256572815
v9.16.1
v9.16.1
2019-06-10 23:51:00 +03:00
57f3b7a750
Merge pull request #996 from balena-io/revert-analytics-switch
...
Revert "Add a controlling variable for mixpanel reporting"
2019-06-10 13:48:45 -07:00
9c486275c9
Revert "Add a controlling variable for mixpanel reporting"
...
This reverts commit 1a7ed0f95b
.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-10 20:53:33 +01:00
24f5c7f7c7
v9.16.0
v9.16.0
2019-06-10 22:37:24 +03:00
0871f05445
Merge pull request #995 from balena-io/refactor-supervisor-logging
...
Standardise all supervisor output logging
2019-06-10 12:34:41 -07:00
ea64f0b0b3
Upgrade typescript and fix warnings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-10 15:35:43 +01:00
0593aadcac
Pin prettier version to avoid changes in non-ci installs
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-10 11:43:51 +01:00
2276dd54e1
Standardise all supervisor output logging
...
Also use the supervisor's own container logging monitoring code when
running livepush on the supervisor container.
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-06-10 11:38:45 +01:00
2c1164cd62
v9.15.9
v9.15.9
2019-05-29 17:21:25 +03:00
27e901320b
Merge pull request #992 from balena-io/update-dev-tools
...
Update and improve debug and development tools
2019-05-29 07:18:49 -07:00
392c56b4d3
Update and improve debug and development tools
...
Add a debounce to the livepush invocations, execute on start and also
add a wait on the supervisor CMD line for those rare occassions where
the supervisor enters a restart loop.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-05-29 14:07:00 +01:00
1597aeb895
v9.15.8
v9.15.8
2019-05-29 15:00:51 +03:00
2ae71ab007
Merge pull request #991 from balena-io/990-mixpanel-switch
...
Add a controlling variable for mixpanel reporting
2019-05-29 04:58:36 -07:00
1a7ed0f95b
Add a controlling variable for mixpanel reporting
...
Change-type: patch
Closes : #990
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-05-29 11:53:47 +01:00
47fcafd896
v9.15.7
v9.15.7
2019-05-29 13:48:26 +03:00
a2cb630d5d
Merge pull request #989 from balena-io/base-1.4.7
...
Update balena-supervisor-base to v1.4.7
2019-05-29 03:46:09 -07:00
a4563a78c3
Update balena-supervisor-base to v1.4.7
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io >
2019-05-29 10:03:27 +01:00
0a8353da4a
v9.15.6
v9.15.6
2019-05-28 19:35:29 +03:00
3e6de22d27
Merge pull request #988 from balena-io/987-knex-timeout
...
Add in-memory cache around container logs saving, to reduce db load
2019-05-28 09:33:08 -07:00