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
023af863d2
v10.6.20
v10.6.20
2019-12-11 20:47:14 +02:00
efc09e570d
Merge pull request #1135 from balena-io/roman/config-json
...
Hide init method in configJson
2019-12-11 20:45:33 +02:00
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
107b2939f6
v10.6.19
v10.6.19
2019-12-09 15:22:49 +02:00
e42935d84e
Merge pull request #1159 from balena-io/fix-committed-image
...
Always filter environment configuration
2019-12-09 13:20:58 +00:00
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
2a1d82ced2
v10.6.18
v10.6.18
2019-12-02 14:14:56 +02:00
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
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
a29784a58c
v10.6.17
v10.6.17
2019-11-29 14:59:08 +02:00
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
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
b7ac14a6a3
v10.6.16
v10.6.16
2019-11-29 13:01:40 +02:00
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
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
8e662110ce
v10.6.15
v10.6.15
2019-11-28 18:00:30 +02:00
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
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
c04ec45f96
v10.6.14
v10.6.14
2019-11-27 20:25:20 +02:00
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
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
8de85a6a53
v10.6.13
v10.6.13
2019-11-27 13:46:09 +02:00
05f4239cc6
Merge pull request #1141 from balena-io/contract-l4t
...
Compare Linux4Tegra versions in contracts
2019-11-27 11:44:23 +00:00
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
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
0db6f0660d
v10.6.12
v10.6.12
2019-11-20 21:36:00 +02:00
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
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
7191d4917d
v10.6.11
v10.6.11
2019-11-19 22:31:16 +02:00
94c82caaf3
Merge pull request #1125 from balena-io/dependabot/npm_and_yarn/js-yaml-3.13.1
...
Bump js-yaml from 3.12.0 to 3.13.1
2019-11-19 12:29:44 -08:00
9c88d8fb72
Bump js-yaml from 3.12.0 to 3.13.1
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1 )
Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com >
2019-11-19 12:11:56 -08:00
792977f6b5
v10.6.10
v10.6.10
2019-11-19 18:38:46 +02:00
fd5bb55029
Merge pull request #1145 from balena-io/update-balenaos-in-container
...
Update balenaos-in-container
2019-11-19 16:37:07 +00:00
072a2f951a
Update balenaos-in-container
...
Change-type: patch
2019-11-19 11:27:39 +00:00
41820980d0
v10.6.9
v10.6.9
2019-11-19 12:12:46 +02:00
3dc53fd2b5
Merge pull request #1144 from balena-io/config-txt-fix
...
Create empty config.txt in case there isn't one present
2019-11-19 10:10:46 +00:00
d6adfa189f
Do not polute test output with unncessarry stack trace
...
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-19 09:48:56 +00:00
8589dbf3d1
Refactor code to use async/await syntax
...
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-16 19:43:22 +00:00
1570fd424b
Create config.txt if there isn't one already
...
Change-type: patch
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-16 18:43:31 +00:00
c46c1e04d3
v10.6.8
v10.6.8
2019-11-16 20:06:32 +02:00
cf94feb88b
Merge pull request #1136 from balena-io/extract_backup
...
Extract backup logic from device state
2019-11-16 18:04:46 +00:00
659697ff79
Extract backup logic to migration
...
Part of device-state refactor
Fix the wrong usage of TargetState as DeviceApplicationState
Change-type: patch
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-15 17:39:48 +00:00
54e9c2edd8
Run new prettier on code base
...
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-15 14:51:24 +00:00
80ddcbebd4
Regenerate package-lock file
...
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-15 14:51:23 +00:00
042e77f04b
Upgrade prettier to include support for typescript 3.7 syntax
...
Signed-off-by: Theodor Gherzan <theodor@balena.io >
2019-11-15 14:51:23 +00:00
f4806e7c0f
v10.6.7
v10.6.7
2019-11-14 18:09:25 +02:00
8b33afc19b
Merge pull request #1142 from balena-io/update-start-resin-supervisor
...
Rebase start-resin-supervisor on latest meta-balena
2019-11-14 16:07:01 +00:00
a1ddf3682d
Rebase start-resin-supervisor on latest meta-balena
...
Change-type: patch
2019-11-13 20:23:21 +00:00
838e966624
v10.6.6
v10.6.6
2019-11-13 21:58:46 +02:00