Commit Graph

2898 Commits

Author SHA1 Message Date
Balena CI
7811ab4f22 v10.6.27 2019-12-19 15:42:30 +02:00
CameronDiver
44c41f9c9b
Merge pull request #1170 from balena-io/1158-patch-throttle
Throttle state report patches to once per 10 seconds
2019-12-19 13:40:34 +00:00
Cameron Diver
4b0f431f9b
Throttle state report patches to once per 10 seconds
Change-type: patch
Closes: #1158
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-19 12:32:38 +00:00
Balena CI
231284e06b v10.6.26 2019-12-18 18:32:52 +02:00
CameronDiver
5e51b0063d
Merge pull request #1168 from balena-io/fix-network-reporting
Report the correct error when we cannot remove a network
2019-12-18 16:31:10 +00:00
Cameron Diver
2d4ac24403
Report the correct error when we cannot remove a network
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-18 15:02:18 +00:00
Balena CI
71b856fa7c v10.6.25 2019-12-18 17:01:19 +02:00
CameronDiver
f8c3837eba
Merge pull request #1167 from balena-io/fix-debug-healthcheck
Fix healthcheck on supervisor debug builds
2019-12-18 14:59:31 +00:00
Cameron Diver
4ff54f45c1
Fix healthcheck on supervisor debug builds
We were relying on wget which was not brought into the image, so we
switch this to curl, which is present.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-18 14:36:05 +00:00
Balena CI
e14b07390e v10.6.24 2019-12-17 14:18:21 +02:00
CameronDiver
c7d385d093
Merge pull request #1163 from balena-io/pull-all-images-first
Always do a standard docker download on first pull
2019-12-17 12:16:26 +00:00
Cameron Diver
8317a1843b
Always do a standard docker download on first pull
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-17 10:34:28 +00:00
Balena CI
4e0b942fc5 v10.6.23 2019-12-16 17:08:59 +02:00
CameronDiver
422aa5ef21
Merge pull request #1162 from balena-io/no-cross-app-deltas
Don't allow cross-app delta requests
2019-12-16 15:07:01 +00:00
Cameron Diver
4a74dffea9
Don't allow cross-app delta requests
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-16 12:58:09 +00:00
Balena CI
6270adf6e8 v10.6.22 2019-12-16 14:36:05 +02:00
CameronDiver
a590fa0bb8
Merge pull request #1156 from balena-io/1072-v2-v3-delta-fixes
fix: ⬇️ Force a regular pull when moving from v2 to v3 deltas
2019-12-16 12:34:18 +00:00
Cameron Diver
6db1f03411
fix: ⬇️ Force a regular pull when moving from v2 to v3 deltas
Change-type: patch
Fixes: #1072
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-16 10:42:46 +00:00
Balena CI
64b9391f0f v10.6.21 2019-12-12 20:40:42 +02:00
Roman Mazur
7e51d63380
Merge pull request #1161 from balena-io/roman/errors
Add steps info to applyState error message
2019-12-12 20:38:50 +02:00
Roman Mazur
4895bb300a
Add steps info to applyState error message
This helps to debug/diagnose problems with state application faster.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-12-12 16:22:43 +02:00
Balena CI
023af863d2 v10.6.20 2019-12-11 20:47:14 +02:00
Roman Mazur
efc09e570d
Merge pull request #1135 from balena-io/roman/config-json
Hide init method in configJson
2019-12-11 20:45:33 +02:00
Roman Mazur
d9c669ebad
Hide init method in configJson
ConfigJson users now don't need to worry about initialization.
It's done lazily on the first public method call.

Implementation is also rewritten to follow async/await pattern.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-12-11 19:19:47 +02:00
Balena CI
107b2939f6 v10.6.19 2019-12-09 15:22:49 +02:00
CameronDiver
e42935d84e
Merge pull request #1159 from balena-io/fix-committed-image
Always filter environment configuration
2019-12-09 13:20:58 +00:00
Cameron Diver
03a701cded
Always filter environment configuration
This means that if an image is created with a committed container, we
won't assume that it does not contain the balena env vars

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-09 11:28:34 +00:00
Balena CI
2a1d82ced2 v10.6.18 2019-12-02 14:14:56 +02:00
Rich Bayliss
230741943e
Merge pull request #1154 from balena-io/allow-volume-drivers
volumes: Allow the use of the 'driver' setting in volumes
2019-12-02 12:13:03 +00:00
Rich Bayliss
c3cf8fbca2
volumes: Allow the use of the 'driver' setting in volumes
A compose file can now contain a volume which uses a different driver
from the default one; local.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2019-12-02 11:59:44 +00:00
Balena CI
a29784a58c v10.6.17 2019-11-29 14:59:08 +02:00
CameronDiver
5ee220e954
Merge pull request #1153 from balena-io/dont-fail-on-l4t-missing
Set a mock l4t version for use with optional containers
2019-11-29 12:57:36 +00:00
Cameron Diver
8cece238a9 Set a mock l4t version for use with optional containers
Before this change a mixed device fleet with a subset using l4t would
not be able to have containers which only run on the l4t based boards.
We add a mock l4t version so the contracts will always be denied on
non-l4t boards, but the release itself won't fail to validate.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-29 11:07:04 +00:00
Balena CI
b7ac14a6a3 v10.6.16 2019-11-29 13:01:40 +02:00
Rich Bayliss
82a5878390
Merge pull request #1126 from balena-io/add-richbayliss-to-codeowners
codeowners: Add richbayliss as a code owner
2019-11-29 10:59:40 +00:00
Rich Bayliss
c816b863f8
codeowners: Add richbayliss as a code owner
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2019-11-29 10:10:55 +00:00
Balena CI
8e662110ce v10.6.15 2019-11-28 18:00:30 +02:00
CameronDiver
1c51e923bd
Merge pull request #1152 from balena-io/1080-cancelDelay-fn
Handle cancelDelay not being a function
2019-11-28 15:58:27 +00:00
Cameron Diver
f4605d897e
Handle cancelDelay not being a function
Change-type: patch
Closes: #1080
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-28 11:28:04 +00:00
Balena CI
c04ec45f96 v10.6.14 2019-11-27 20:25:20 +02:00
Roman Mazur
97fab2099f
Merge pull request #1149 from balena-io/roman/regression-db-test
Add regression test for app manager init
2019-11-27 20:23:46 +02:00
Roman Mazur
f487711ba4
Add regression test for app manager init
If we had it eearlier, it would have prevented #1148.
When init is called, withImagesFromDockerAndDB in images.ts is called as well.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-11-27 13:51:15 +02:00
Balena CI
8de85a6a53 v10.6.13 2019-11-27 13:46:09 +02:00
CameronDiver
05f4239cc6
Merge pull request #1141 from balena-io/contract-l4t
Compare Linux4Tegra versions in contracts
2019-11-27 11:44:23 +00:00
Cameron Diver
1a6c9d489a
Consider linux4tegra versions in container contracts
Also remove ability to match on OS versions

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-27 10:22:35 +00:00
Cameron Diver
bba6d3d728
Upgrade prettier and resin-lint
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-27 10:22:33 +00:00
Balena CI
0db6f0660d v10.6.12 2019-11-20 21:36:00 +02:00
CameronDiver
6896415312
Merge pull request #1146 from balena-io/fix-log-timestamp-retrieval
Fix retrieval of container log timestamp from db
2019-11-20 11:34:06 -08:00
Cameron Diver
e44c7073f9
Fix retrieval of container log timestamp from db
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-20 11:23:11 -08:00
Balena CI
7191d4917d v10.6.11 2019-11-19 22:31:16 +02:00