Commit Graph

902 Commits

Author SHA1 Message Date
Balena CI
4fbd015083 v10.10.8 2020-03-24 18:22:29 +02:00
Cameron Diver
35e73941c5 Pin resin-cli-visuals to avoid build error of lzma-native
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 14:52:22 +00:00
Cameron Diver
f2c606e1f9 Update dependencies
We also pin livepush in place while
https://github.com/balena-io-modules/livepush/issues/67
is fixed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 14:52:22 +00:00
Balena CI
e7bd708639 v10.10.7 2020-03-24 16:50:10 +02:00
Balena CI
233cf4bfaa v10.10.6 2020-03-24 13:20:20 +02:00
Pagan Gazzard
8fc11df959 Add transpilation for javascript files to ease node 6 compatibility
Change-type: patch
2020-03-24 09:28:14 +00:00
Pagan Gazzard
7945bb5a77 Add a precheck that linting/tests work on node 10
This allows us to avoid re-linting for every arch

Change-type: patch
2020-03-24 09:28:13 +00:00
Pagan Gazzard
81966446d9 Update to balena-lint and enable javascript linting
Change-type: patch
2020-03-24 09:28:12 +00:00
Balena CI
34e28173a0 v10.10.5 2020-03-23 22:41:28 +02:00
Balena CI
15446929eb v10.10.4 2020-03-23 18:40:12 +02:00
Balena CI
c37079188f v10.10.3 2020-03-16 22:48:08 +02:00
Balena CI
9e7a226741 v10.10.2 2020-03-16 17:26:09 +02:00
Balena CI
bae4e21c85 v10.10.1 2020-03-16 14:08:58 +02:00
Pagan Gazzard
6e3db3bd60 Update dependencies
Change-type: patch
2020-03-13 17:18:05 +00:00
Balena CI
0bc6fc9a4a v10.10.0 2020-03-06 18:13:09 +02:00
Balena CI
255c46c92e v10.9.2 2020-03-05 17:12:19 +02:00
Balena CI
23de9e90e7 v10.9.1 2020-02-25 14:57:19 +02:00
Cameron Diver
adf6d427fc
Upgrade pretty-ms to pick up typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:15 +07:00
Balena CI
1d6c57b196 v10.9.0 2020-02-25 06:17:38 +02:00
Balena CI
0df6b225ff v10.8.0 2020-02-13 12:05:20 +02:00
Balena CI
48c80dd747 v10.7.0 2020-02-12 13:24:53 +02:00
Cameron Diver
c47ef6d42a
Add a noinit option to sync-debug
The noinit option will avoid doing a complete sync to the supervisor
on startup. This is useful when there has only been code changes, and no
modules etc have been added. It can be helpful when running on a network
with no external internet access, as everything needed is already inside
the container.

To aid this we also move to yargs, rather than try to do all of the
parsing ourselves.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-12 16:34:25 +07:00
Balena CI
de57bf4372 v10.6.37 2020-02-11 06:16:48 +02:00
Balena CI
c69942233b v10.6.36 2020-02-10 14:19:23 +02:00
Pagan Gazzard
ab63f46b7e Switch to using resin-lint for automatic lint fixing
Change-type: patch
2020-02-10 10:43:14 +00:00
Balena CI
3a8209f4ba v10.6.35 2020-02-10 08:41:56 +02:00
Balena CI
a5b80b9b69 v10.6.34 2020-02-06 16:24:09 +02:00
Balena CI
13b5c2c79c v10.6.33 2020-01-30 13:36:02 +02:00
Balena CI
6bb7a5fd57 v10.6.32 2020-01-28 13:32:10 +02:00
Balena CI
9a1ffb2557 v10.6.31 2020-01-17 19:16:23 +02:00
Balena CI
9290ee05c1 v10.6.30 2020-01-17 17:33:56 +02:00
Pagan Gazzard
027701297b Update knex types
Change-type: patch
2020-01-17 13:59:24 +00:00
Pagan Gazzard
1a393dbb19 Update lodash types
Change-type: patch
2020-01-17 13:51:55 +00:00
Pagan Gazzard
0ef9cc189b Update types and fix issue with treating string as a number
Change-type: patch
2020-01-17 13:06:27 +00:00
Balena CI
6c801794cc v10.6.29 2020-01-17 14:48:54 +02:00
Balena CI
0b69e98c1e v10.6.28 2020-01-09 10:56:59 +02:00
Balena CI
7811ab4f22 v10.6.27 2019-12-19 15:42:30 +02:00
Balena CI
231284e06b v10.6.26 2019-12-18 18:32:52 +02:00
Balena CI
71b856fa7c v10.6.25 2019-12-18 17:01:19 +02:00
Balena CI
e14b07390e v10.6.24 2019-12-17 14:18:21 +02:00
Balena CI
4e0b942fc5 v10.6.23 2019-12-16 17:08:59 +02:00
Balena CI
6270adf6e8 v10.6.22 2019-12-16 14:36:05 +02: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
Balena CI
023af863d2 v10.6.20 2019-12-11 20:47:14 +02:00
Balena CI
107b2939f6 v10.6.19 2019-12-09 15:22:49 +02:00
Balena CI
2a1d82ced2 v10.6.18 2019-12-02 14:14:56 +02:00
Balena CI
a29784a58c v10.6.17 2019-11-29 14:59:08 +02:00
Balena CI
b7ac14a6a3 v10.6.16 2019-11-29 13:01:40 +02:00
Balena CI
8e662110ce v10.6.15 2019-11-28 18:00:30 +02:00
Balena CI
c04ec45f96 v10.6.14 2019-11-27 20:25:20 +02:00
Balena CI
8de85a6a53 v10.6.13 2019-11-27 13:46:09 +02: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
Balena CI
0db6f0660d v10.6.12 2019-11-20 21:36:00 +02:00
Balena CI
7191d4917d v10.6.11 2019-11-19 22:31:16 +02:00
Balena CI
792977f6b5 v10.6.10 2019-11-19 18:38:46 +02:00
Balena CI
41820980d0 v10.6.9 2019-11-19 12:12:46 +02:00
Balena CI
c46c1e04d3 v10.6.8 2019-11-16 20:06:32 +02: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
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
Balena CI
838e966624 v10.6.6 2019-11-13 21:58:46 +02:00
Balena CI
fa55f94d81 v10.6.5 2019-11-12 13:49:18 +02:00
Balena CI
a3ebfeb32b v10.6.4 2019-11-11 13:13:07 +02:00
Balena CI
b62c069583 v10.6.3 2019-11-07 20:09:50 +02:00
Balena CI
95f2814f98 v10.6.2 2019-11-07 13:32:46 +02: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
Balena CI
dbf1e4d776 v10.6.1 2019-11-06 11:28:55 +02:00
Balena CI
e50d49e4bf v10.6.0 2019-11-05 17:59:47 +02:00
Balena CI
62f8532743 v10.5.5 2019-10-31 20:54:58 +02:00
dependabot[bot]
835ef7908e Bump lodash from 4.17.11 to 4.17.13
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-31 15:05:39 +00:00
Balena CI
80b0063b0e v10.5.4 2019-10-30 21:18:47 +02:00
Balena CI
91b384a010 v10.5.3 2019-10-30 14:56:56 +02:00
Cameron Diver
b5a427f2b9
Convert some coffeescript tests to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-30 10:58:32 +00:00
Balena CI
0e229eb13b v10.5.2 2019-10-29 17:14:22 +02:00
Balena CI
35e3cd8f39 v10.5.1 2019-10-29 13:13:18 +02:00
Balena CI
424e1f69ca v10.5.0 2019-10-07 18:20:35 +03:00
Balena CI
47d39b70d8 v10.4.1 2019-10-02 21:33:17 +03:00
Balena CI
5b48f791d9 v10.4.0 2019-10-01 19:45:32 +03:00
Cameron Diver
9843f62e24 Upgrade io-ts and fp-ts to 2.0.0
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-01 16:17:44 +01:00
Cameron Diver
5ce8ba8acf Add contract resolution code, which checks release requirements
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-01 16:17:43 +01:00
Balena CI
6027556150 v10.3.8 2019-09-23 19:36:18 +03:00
Balena CI
89d9e9d117 v10.3.7 2019-09-20 17:37:24 +03:00
Balena CI
310ecb1afb v10.3.6 2019-09-18 11:47:25 +03:00
Balena CI
7ef4880beb v10.3.5 2019-09-16 15:33:29 +03:00
Balena CI
bae78386a8 v10.3.4 2019-09-11 17:59:14 +03:00
Balena CI
b882239fa7 v10.3.3 2019-09-05 13:10:34 +03:00
Balena CI
b487408a18 v10.3.2 2019-09-02 18:11:13 +03:00
Resin CI
72e739f15e v10.3.1 2019-08-22 14:29:42 +03:00
Resin CI
8677c37670 v10.3.0 2019-08-22 11:38:22 +03:00
Resin CI
5121767766 v10.2.7 2019-08-21 16:31:22 +03:00
Resin CI
9a823475b5 v10.2.6 2019-08-19 23:04:25 +03:00
Resin CI
384e0e37bc v10.2.5 2019-08-19 19:00:24 +03:00
Resin CI
b20e5c567d v10.2.4 2019-08-16 11:20:02 +03:00
Resin CI
587e7fa859 v10.2.3 2019-08-15 17:24:43 +03:00
Resin CI
30da419033 v10.2.2 2019-08-09 20:57:49 +03:00
Resin CI
0cb1d454e8 v10.2.1 2019-08-09 16:15:59 +03:00
Resin CI
9500c3469b v10.2.0 2019-08-09 14:24:43 +03:00
Resin CI
fa26988ca6 v10.1.5 2019-08-05 12:26:43 +03:00
Resin CI
d6d5fecf28 v10.1.4 2019-07-25 16:19:37 +03:00
Resin CI
36f2b36136 v10.1.3 2019-07-25 11:42:36 +03:00
Resin CI
7c18ff2901 v10.1.2 2019-07-24 18:21:15 +03:00
Resin CI
de8a5984a9 v10.1.1 2019-07-24 15:39:31 +03:00
Resin CI
e7652fec52 v10.1.0 2019-07-23 16:35:28 +03:00
Resin CI
7afde2fc0e v10.0.5 2019-07-22 18:32:38 +03:00
Resin CI
430e58c932 v10.0.4 2019-07-22 13:43:26 +03:00
Resin CI
095ec0620f v10.0.3 2019-07-19 15:48:09 +03:00
Resin CI
9ad2a6a343 v10.0.2 2019-07-19 13:29:25 +03:00
Resin CI
93b64406d6 v10.0.1 2019-07-11 19:38:13 +03:00
Resin CI
e4caf100b5 v10.0.0 2019-07-10 17:18:38 +03:00
Resin CI
1690171304 v9.18.8 2019-07-10 12:26:25 +03:00
Resin CI
64a8f5d884 v9.18.7 2019-07-09 20:02:33 +03:00
Cameron Diver
e36ed26883 Upgrade Dockerode types
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:06 +01:00
Resin CI
4522d1ad86 v9.18.6 2019-07-09 15:16:38 +03:00
Resin CI
782fd783c1 v9.18.5 2019-07-08 20:36:43 +03:00
Roman Mazur
bea97f47a7
Use resin-lint for mocha tests check
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-07-08 19:07:47 +03:00
Resin CI
a817863aa4 v9.18.4 2019-07-05 12:59:03 +03:00
Cameron Diver
89807c21fa
Fix network composition parsing, and correctly report compose config
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00
Cameron Diver
286ba58069
Add tests for Volume
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00
Resin CI
90e7ec0053 v9.18.3 2019-07-01 11:51:28 +03:00
Roman Mazur
36fa23ab7d
Add mocha tests linter
A simple script that detects presence of .only statements in tests.
The idea is to avoid comitting them, so that all the tests are run with npm test.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-29 16:40:41 +03:00
Resin CI
a87f344607 v9.18.2 2019-06-28 11:59:46 +03:00
Resin CI
fe8ebfc0b0 v9.18.1 2019-06-27 16:33:48 +03:00
Resin CI
064d082836 v9.18.0 2019-06-26 18:27:19 +03:00
Roman Mazur
4974c9200c
Clean up local mode engine objects using snapshots
Snapshot is collected to compare with engine state when local mode is turned off.

Change-type: minor
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-26 17:40:01 +03:00
Roman Mazur
bc3c56da4e
Add sinon types
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-26 17:40:00 +03:00
Resin CI
230225b49c v9.17.2 2019-06-25 18:06:51 +03:00
Resin CI
4cc83d5520 v9.17.1 2019-06-21 16:28:07 +03:00
Resin CI
30897ddbba v9.17.0 2019-06-20 23:45:43 +03:00
Resin CI
f662a6be39 v9.16.7 2019-06-20 15:27:13 +03:00
Resin CI
cebf3761d6 v9.16.6 2019-06-20 13:29:23 +03:00
Roman Mazur
3f5239b07f
Remove mochainon dependnecy
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-19 23:31:58 +03:00
Resin CI
fe856f091a v9.16.5 2019-06-19 15:58:17 +03:00
Cameron Diver
9dab00d156
Allow writing test files in typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-19 10:55:15 +01:00
Resin CI
79762c2e08 v9.16.4 2019-06-18 16:30:22 +03:00
Cameron Diver
6c7234f84b Make sync-debug much more reliable with logs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-18 13:32:04 +01:00
Resin CI
e3d9a9e9da v9.16.3 2019-06-11 15:43:58 +03:00
Resin CI
73c405bd63 v9.16.2 2019-06-11 11:00:25 +03:00
Resin CI
6256572815 v9.16.1 2019-06-10 23:51:00 +03:00
Resin CI
24f5c7f7c7 v9.16.0 2019-06-10 22:37:24 +03:00
Cameron Diver
ea64f0b0b3 Upgrade typescript and fix warnings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 15:35:43 +01:00
Cameron Diver
0593aadcac Pin prettier version to avoid changes in non-ci installs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 11:43:51 +01:00
Cameron Diver
2276dd54e1 Standardise all supervisor output logging
Also use the supervisor's own container logging monitoring code when
running livepush on the supervisor container.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 11:38:45 +01:00
Resin CI
2c1164cd62 v9.15.9 2019-05-29 17:21:25 +03:00
Cameron Diver
392c56b4d3
Update and improve debug and development tools
Add a debounce to the livepush invocations, execute on start and also
add a wait on the supervisor CMD line for those rare occassions where
the supervisor enters a restart loop.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-29 14:07:00 +01:00
Resin CI
1597aeb895 v9.15.8 2019-05-29 15:00:51 +03:00
Resin CI
47fcafd896 v9.15.7 2019-05-29 13:48:26 +03:00
Resin CI
0a8353da4a v9.15.6 2019-05-28 19:35:29 +03:00
Resin CI
8903ea6b1c v9.15.5 2019-05-27 17:47:33 +03:00
Resin CI
cdcb599585 v9.15.4 2019-05-27 16:24:25 +03:00
Resin CI
9583f1da44 v9.15.3 2019-05-27 12:48:44 +03:00
Cameron Diver
2a27b1d51f Move to resin-lint 3 and fix lint errors
This is a massive commit, but nothing related to runtime has actually
changed, only the lint errors have changed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-26 18:54:09 +01:00
Resin CI
465bf465d5 v9.15.2 2019-05-18 11:28:21 +03:00
Resin CI
fc40f1a041 v9.15.1 2019-05-17 12:05:37 +03:00
Resin CI
22f69ca181 v9.15.0 2019-05-15 16:25:14 +03:00
Cameron Diver
73f207a76f Add livepush capabilities for debug builds
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:47:20 +01:00
Cameron Diver
0428ca31b0 Update sqlite3 to 4.0.9 to avoid arm build errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:29 +01:00
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
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
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
Resin CI
34397cc045 v9.14.11 2019-05-10 15:28:59 +03:00
Resin CI
86b9d91b82 v9.14.10 2019-05-10 14:23:49 +03:00
Resin CI
ae23732a31 v9.14.9 2019-05-07 18:10:58 +03:00
Resin CI
23039b6513 v9.14.8 2019-05-03 14:39:34 +03:00
Resin CI
ac0bfaaa1f v9.14.7 2019-05-03 13:56:52 +03:00
Resin CI
558424ecee v9.14.6 2019-04-25 19:27:44 +03:00
Resin CI
42aaf81d0b v9.14.5 2019-04-25 18:13:26 +03:00
Resin CI
8b551ebc7b v9.14.4 2019-04-11 13:07:44 +03:00
Resin CI
105d3889af v9.14.3 2019-04-11 00:09:09 +03:00
Resin CI
0b1d2b7702 v9.14.2 2019-04-08 14:17:09 +03: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
Resin CI
08fe5504ce v9.14.0 2019-04-05 12:29:08 +03:00
Resin CI
b82eb6efd6 v9.13.0 2019-04-03 20:08:09 +03:00
Resin CI
77d5c10aee v9.12.7 2019-04-03 15:39:32 +03:00
Resin CI
4e5d9df717 v9.12.6 2019-03-29 20:04:35 +02:00
Resin CI
32bdd1e397 v9.12.5 2019-03-29 02:13:23 +02:00
Resin CI
e5fee8d277 v9.12.4 2019-03-28 20:39:07 +02:00
Resin CI
efdd3e817b v9.12.3 2019-03-28 16:47:23 +02:00
Resin CI
898312151a v9.12.2 2019-03-28 15:23:17 +02:00
Resin CI
56c79945c3 v9.12.1 2019-03-28 14:10:20 +02:00
Resin CI
f1c6dd46c3 v9.12.0 2019-03-28 11:45:43 +02:00
Resin CI
88a58b683f v9.11.4 2019-03-27 22:36:57 +02:00
Resin CI
3e6a6359a7 v9.11.3 2019-03-21 15:08:31 +02:00
Resin CI
1572640bce v9.11.2 2019-03-20 21:56:37 +02:00
Resin CI
59d2f98166 v9.11.1 2019-03-19 22:59:48 +02:00
Resin CI
000f9ae6c8 v9.11.0 2019-03-18 19:59:34 +02:00
Resin CI
2855295432 v9.10.2 2019-03-13 14:25:03 +02:00
Resin CI
3b475db94c v9.10.1 2019-03-12 15:59:07 +02:00
Cameron Diver
af734ad008
Pin lodash types to avoid compile error
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-03-12 13:36:46 +00:00
Resin CI
16ee0cec60 v9.10.0 2019-03-12 14:58:22 +02:00
Resin CI
92049534f5 v9.9.1 2019-03-08 17:54:16 +02:00
Resin CI
b821d08754 v9.9.0 2019-03-07 20:50:42 +02:00
Resin CI
9c55574533 v9.8.7 2019-02-28 12:53:57 +01:00
Giovanni Garufi
50d2df73a1 v9.8.6 2019-02-25 14:12:08 +01:00
Giovanni Garufi
bdaf1bc41f v9.8.5 2019-02-25 13:21:33 +01:00
Giovanni Garufi
58fa0ac761 v9.8.4 2019-02-25 13:16:22 +01:00
Resin CI
19584c465a v9.8.3 2019-02-19 19:10:49 +01:00
Resin CI
b3f90e94ec v9.8.2 2019-02-19 18:09:32 +01:00