Commit Graph

3481 Commits

Author SHA1 Message Date
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
CameronDiver
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
dependabot[bot]
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
Balena CI
792977f6b5 v10.6.10 2019-11-19 18:38:46 +02:00
Page-
fd5bb55029
Merge pull request #1145 from balena-io/update-balenaos-in-container
Update balenaos-in-container
2019-11-19 16:37:07 +00:00
Pagan Gazzard
072a2f951a Update balenaos-in-container
Change-type: patch
2019-11-19 11:27:39 +00:00
Balena CI
41820980d0 v10.6.9 2019-11-19 12:12:46 +02:00
Theodor Gherzan
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
Theodor Gherzan
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
Theodor Gherzan
8589dbf3d1
Refactor code to use async/await syntax
Signed-off-by: Theodor Gherzan <theodor@balena.io>
2019-11-16 19:43:22 +00:00
Theodor Gherzan
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
Balena CI
c46c1e04d3 v10.6.8 2019-11-16 20:06:32 +02:00
Theodor Gherzan
cf94feb88b
Merge pull request #1136 from balena-io/extract_backup
Extract backup logic from device state
2019-11-16 18:04:46 +00:00
Theodor Gherzan
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
Theodor Gherzan
54e9c2edd8
Run new prettier on code base
Signed-off-by: Theodor Gherzan <theodor@balena.io>
2019-11-15 14:51:24 +00:00
Theodor Gherzan
80ddcbebd4
Regenerate package-lock file
Signed-off-by: Theodor Gherzan <theodor@balena.io>
2019-11-15 14:51:23 +00:00
Theodor Gherzan
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
Balena CI
f4806e7c0f v10.6.7 2019-11-14 18:09:25 +02:00