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
Resin CI
0abeccb77b
v9.14.9
2019-05-07 18:11:23 +03:00
Resin CI
ae23732a31
v9.14.9
2019-05-07 18:10:58 +03:00
xginn8
921da1c793
Merge pull request #975 from balena-io/docs_consistency
...
docs: make headers consistent
2019-05-07 23:08:22 +08:00
Matthew McGinn
acb38dfcfa
docs: make headers consistent
...
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-05-07 00:41:58 +08:00
Resin CI
23039b6513
v9.14.8
2019-05-03 14:39:34 +03:00
xginn8
6c1f3bb6a0
Merge pull request #972 from balena-io/stray-resin-refs
...
docs: fix up some stray resin references
2019-05-03 19:37:22 +08:00
Matthew McGinn
331b109a64
docs: fix up some stray resin references
...
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-05-03 18:58:56 +08:00
Resin CI
ac0bfaaa1f
v9.14.7
2019-05-03 13:56:52 +03:00
CameronDiver
6b5da8ba1e
Merge pull request #971 from balena-io/case-insensitive-validation
...
Perform case-insensitive checking when converting booleans from strings
2019-05-03 11:55:23 +01:00
Cameron Diver
76e0361b0e
Fix dockerode type failures
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-03 11:31:13 +01:00
Cameron Diver
8424fb44f6
Perform case-insensitive checking when converting booleans from strings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-01 12:33:20 +01:00
Resin CI
558424ecee
v9.14.6
2019-04-25 19:27:44 +03:00
CameronDiver
fe477d65a8
Merge pull request #966 from balena-io/fix-db-cleanup-code
...
fix: Run db log cleanup on init - after migrations
2019-04-25 17:25:57 +01:00
Cameron Diver
9fae4bab62
fix: Run db log cleanup on init - after migrations
...
Before this change the first time the cleanup code runs would be before
the migrations have had a chance to execute. This change makes it so
that the cleanup code always runs once the migrations have finished.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-25 16:56:29 +01:00
Resin CI
42aaf81d0b
v9.14.5
2019-04-25 18:13:26 +03:00
CameronDiver
84c03f89ba
Merge pull request #969 from balena-io/968-multiple-ports
...
Handle multiple host ports pointing to a single container port
2019-04-25 16:11:35 +01:00
Cameron Diver
9e05bc2b71
misc: Fix spurious test errors
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-25 13:48:27 +01:00
Cameron Diver
0fa47f635b
fix: Correctly handle multiple hosts ports pointing to a container port
...
When assigning multiple host ports to a single container port before
this change, the supervisor would incorrectly take only the first host
port into consideration. This change makes it so that every host port
per container port is considered.
Closes : #986
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-25 13:48:04 +01:00
Resin CI
8b551ebc7b
v9.14.4
2019-04-11 13:07:44 +03:00
CameronDiver
7be1fa3c08
Merge pull request #964 from balena-io/fix-double-expose
...
compose: Remove unique expose entries after adding all entries
2019-04-11 11:05:32 +01:00
Cameron Diver
9e3fae5852
compose: Remove unique expose entries after adding all entries
...
Prior to this change, we would `_.uniq` the expose value before adding
values from the port mappings. This could cause ports to get added
twice, which would cause the supervisor to think that there is a
configuration mismatch.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-11 10:20:20 +01:00
Resin CI
105d3889af
v9.14.3
2019-04-11 00:09:09 +03:00
CameronDiver
d0191309b7
Merge pull request #962 from balena-io/fix-local-mode-exit-state-report
...
Don't attempt to report any state during local mode
2019-04-10 22:07:20 +01:00
Cameron Diver
892cf1961e
Don't attempt to report any state during local mode
...
Even though this would never have attempted to report the state to the
api during local mode, it leaves behind artifacts which would cause the
state to be sometimes reported when exiting local mode. This would cause
the api to reject the update unecessarily.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-10 15:40:52 +01:00
Resin CI
0b1d2b7702
v9.14.2
2019-04-08 14:17:09 +03:00
CameronDiver
fe32d76f6e
Merge pull request #960 from balena-io/update-dockerode-types
...
types: Upgrade dockerode types, and remove fixes which are superceded
2019-04-08 12:15:03 +01:00
Cameron Diver
80031b76e4
types: Upgrade dockerode types, and remove fixes which are superceded
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-08 10:46:28 +01:00
Resin CI
3539ad467a
v9.14.1
2019-04-05 16:20:12 +03:00
Heds Simons
795d72f1b4
Merge pull request #958 from balena-io/957-remove-default-avahi-services
...
avahi: Remove default service definitions
2019-04-05 14:17:47 +01:00
Heds Simons
24ba07571c
avahi: Remove default service definitions
...
Removes default 'example' service definitions that
are included by Avahi 0.7+. These conflict with
our balenaOS advertised services, causing potential
issues.
Connects-to: #957
Change-type: patch
Signed-off-by: Heds Simons <heds@balena.io>
2019-04-05 13:33:45 +01:00
Resin CI
08fe5504ce
v9.14.0
2019-04-05 12:29:08 +03:00
CameronDiver
eeaa2fcfc9
Merge pull request #955 from balena-io/937-better-logs
...
Better supervisor and container logging
2019-04-05 10:26:36 +01:00
Cameron Diver
5943d3117c
Run database cleanup on startup in addition to once a day
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-05 10:06:29 +01:00