Commit Graph

2759 Commits

Author SHA1 Message Date
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
Page-
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
Pagan Gazzard
a1ddf3682d Rebase start-resin-supervisor on latest meta-balena
Change-type: patch
2019-11-13 20:23:21 +00:00
Balena CI
838e966624 v10.6.6 2019-11-13 21:58:46 +02:00
Page-
ff5292cd91
Merge pull request #1140 from balena-io/balenaos-in-container
Switch to balenaos-in-container
2019-11-13 19:56:47 +00:00
Pagan Gazzard
05a566dcb5 Switch to balenaos-in-container
Change-type: patch
2019-11-12 13:50:05 +00:00
Balena CI
fa55f94d81 v10.6.5 2019-11-12 13:49:18 +02:00
Page-
405bd4a2f1
Merge pull request #1138 from balena-io/dindctl-fix
dindctl fixes
2019-11-12 11:47:35 +00:00
Pagan Gazzard
9e660f1081 Allow specifying an absolute path for the dind config.json
Change-type: patch
2019-11-12 11:34:40 +00:00
Pagan Gazzard
57d4a19f1d Fix dindctl when run from another dir
Change-type: patch
2019-11-11 23:51:47 +00:00
Pagan Gazzard
b4ad29ec14 Fix dindctl unknown arg error message
Change-type: patch
2019-11-11 23:34:59 +00:00
Balena CI
a3ebfeb32b v10.6.4 2019-11-11 13:13:07 +02:00
CameronDiver
d3a95ed748
Merge pull request #1137 from mwohlert/bugfix/check_appId_before_purging
Check if appId is a number before purging
2019-11-11 11:11:23 +00:00
Michel Wohlert
597f95e169 Check if appId is a number before purging
Change-Type: patch
Signed-off-by: Michel Wohlert <michel@1012consulting.io>
2019-11-10 08:07:57 -08:00
Balena CI
b62c069583 v10.6.3 2019-11-07 20:09:50 +02:00
Theodor Gherzan
461d519f54
Merge pull request #1133 from balena-io/legacy
Extract normaliseLegacy as normalise to migration module
2019-11-07 18:08:20 +00:00
Theodor Gherzan
cf79ed8cdb
Extract normaliseLegacy as normalise to migration module
Change-type: patch
Signed-off-by: Theodor Gherzan <theodor@balena.io>
2019-11-07 17:48:50 +00:00
Balena CI
95f2814f98 v10.6.2 2019-11-07 13:32:46 +02:00
CameronDiver
a6e372da60
Merge pull request #1132 from balena-io/extract-preload
Extract loadTargetFromFile into it's own module
2019-11-07 11:30:58 +00:00
Cameron Diver
053e111626
Define the database type of the application
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-07 09:47:19 +00:00
Cameron Diver
09a8231fde
Extract loadTargetFromFile function to preload module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-07 09:47:19 +00:00
Cameron Diver
fea80c5205
Define TargetApplicationState in types and remove Application type
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-06 17:52:16 +00:00
Cameron Diver
1d89174caf
Upgrade typescript to 3.7
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-06 15:01:05 +00:00