Commit Graph

2488 Commits

Author SHA1 Message Date
CameronDiver
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
Cameron Diver
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
Resin CI
1597aeb895 v9.15.8 2019-05-29 15:00:51 +03:00
CameronDiver
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
Cameron Diver
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
Resin CI
47fcafd896 v9.15.7 2019-05-29 13:48:26 +03:00
CameronDiver
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
Cameron Diver
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
Resin CI
0a8353da4a v9.15.6 2019-05-28 19:35:29 +03:00
CameronDiver
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
Cameron Diver
8279678052
Add wrapper around container logs saving, to reduce db load
Changes are collected together and exist in memory, for querying and
saving. Once every 10 mins, every changed timestamp is flushed to the
database.

Change-type: patch
Closes: #987
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-28 15:56:11 +01:00
Resin CI
8903ea6b1c v9.15.5 2019-05-27 17:47:33 +03:00
xginn8
0835dda6af
Merge pull request #986 from balena-io/readme_update_gitter_waffle
docs: remove legacy waffle link & gitter chat from README
2019-05-27 22:45:09 +08:00
Matthew McGinn
e0f875f07b docs: remove legacy waffle link & gitter chat from README
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-05-27 22:08:40 +08:00
Resin CI
cdcb599585 v9.15.4 2019-05-27 16:24:25 +03:00
CameronDiver
ef6cf9147b
Merge pull request #985 from balena-io/fix-supervisor-image-size
Fix regression where node_modules stayed in resulting image
2019-05-27 06:22:34 -07:00
Cameron Diver
99c08c807b Fix regression where node_modules stayed in resulting image
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-27 13:40:43 +01:00
Resin CI
9583f1da44 v9.15.3 2019-05-27 12:48:44 +03:00
CameronDiver
53b5f82931
Merge pull request #984 from balena-io/resin-lint-3
Move to resin-lint 3 and fix lint errors
2019-05-27 02:45:42 -07:00
Cameron Diver
2a27b1d51f Move to resin-lint 3 and fix lint errors
This is a massive commit, but nothing related to runtime has actually
changed, only the lint errors have changed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-26 18:54:09 +01:00
Resin CI
465bf465d5 v9.15.2 2019-05-18 11:28:21 +03:00
CameronDiver
1aa42b3b4a
Merge pull request #982 from balena-io/dont-check-for-loaded-modules
Dont check config.gz for loaded i6tables module
2019-05-18 01:25:46 -07:00
Cameron Diver
1b1e0ce2f3 Dont check config.gz for loaded i6tables module
We also dont fail the initialisation if we cannot load the module.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-17 17:48:59 +01:00
Resin CI
fc40f1a041 v9.15.1 2019-05-17 12:05:37 +03:00
CameronDiver
33dd338033
Merge pull request #983 from balena-io/fix-circle
Fix circle deploying of images
2019-05-17 02:03:11 -07:00
Cameron Diver
954434fc4c
Fix circle deploying of images
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-16 11:49:35 +01:00
Resin CI
22f69ca181 v9.15.0 2019-05-15 16:25:14 +03:00
CameronDiver
825f6e9db9
Merge pull request #979 from balena-io/debug-build
Update to node10 and add debug builds
2019-05-15 06:22:20 -07:00
Cameron Diver
73f207a76f Add livepush capabilities for debug builds
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:47:20 +01:00
Cameron Diver
6bfeaf7ae7 Change install step to not mask errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:29 +01:00
Cameron Diver
0428ca31b0 Update sqlite3 to 4.0.9 to avoid arm build errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:29 +01:00
Cameron Diver
3ff9c5a9b1 Use balenalib base image for i386 base
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:28 +01:00
Cameron Diver
2e6f030063 Upgrade debug builds to node 10 for supported architectures
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:28 +01:00
Cameron Diver
4e779608a3 Add debug build infrastructure and configuration
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:27 +01:00
Cameron Diver
1155d757e4 Make delta application logs easier to parse for multicontainer
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:27 +01:00
Cameron Diver
56bac3a7ea Upgrade to node 10 for supported architectures
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:26 +01:00
Cameron Diver
b84f354ded Upgrade to node 8 for supported architectures
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:26 +01:00
Resin CI
b43b639954 v9.14.12 2019-05-15 13:38:58 +03:00
CameronDiver
c82da00f63
Merge pull request #905 from balena-io/better-backoff
Better backoff and update lock reporting
2019-05-15 03:37:06 -07:00
Cameron Diver
4e783fcd86 Allow system messages to not be tracked
Also don't track update lock events

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:19:15 +01:00
Cameron Diver
50fdee4290 Format update lock logs with pretty-ms
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:19:14 +01:00
Cameron Diver
27b68b5845 Display update lock notification in dashboard logs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:18:48 +01:00
Cameron Diver
5894a9baf3 Show better logs for UpdatesLockedError
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:18:47 +01:00
Cameron Diver
5ace459ad2 Clear backoff counter on new target state
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:18:47 +01:00
Resin CI
34397cc045 v9.14.11 2019-05-10 15:28:59 +03:00
CameronDiver
6f89fc5c8b
Merge pull request #973 from balena-io/fix-node-10.12-log-stream
Fix supervisor tests for node v10.12.0 and above
2019-05-10 05:27:06 -07:00
Cameron Diver
932a6f2997
Fix supervisor tests for node v10.12.0 and above
Changes in the node engine related to streams would cause the gzip
streams flush function to be called at the wrong times. The sinon fake
timers were also interacting with this.

We use setImmediate to call the flush function, and remove sinon timers
for the logging tests.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-10 12:36:46 +01:00
Resin CI
86b9d91b82 v9.14.10 2019-05-10 14:23:49 +03:00
CameronDiver
b466d24a20
Merge pull request #981 from balena-io/dont-hammer-delta-auth-requests
Cache delta auth token request results for 10 minutes
2019-05-10 04:21:50 -07:00
Cameron Diver
51703621a5
Cache delta auth token request results for 10 minutes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-10 11:17:48 +01:00