Commit Graph

950 Commits

Author SHA1 Message Date
Balena CI
331a508d25 v11.1.10 2020-04-28 11:22:37 +03:00
Cameron Diver
7c27a561a8 Update balena-register-device to fix provisioning
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-27 18:43:49 +01:00
Balena CI
40f7ba6b2f v11.1.9 2020-04-23 23:46:45 +03:00
Balena CI
ead7d84d2e v11.1.8 2020-04-21 23:50:05 +03:00
Cameron Diver
508708aa32 Actually remove dbus-native dependency
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-21 14:27:47 +01:00
Balena CI
b051647e9d v11.1.7 2020-04-21 15:15:10 +03:00
Balena CI
ca8478a820 v11.1.6 2020-04-21 12:39:05 +03:00
Balena CI
ccfdd57887 v11.1.5 2020-04-15 16:27:09 +03:00
Cameron Diver
a43d71d1ac 📄 Upgrade knex to avoid CVE-2019-10757
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-15 13:37:50 +01:00
Balena CI
5f0d69d275 v11.1.4 2020-04-15 00:12:35 +03:00
Cameron Diver
67c3055fd4 Use livepush commands for copying and running dev specific steps
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-14 10:50:03 +01:00
Balena CI
6ed272085f v11.1.3 2020-04-13 17:39:38 +03:00
Cameron Diver
826eec2e4f 🚀 Update supervisor to node12
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-13 14:36:59 +01:00
Balena CI
862ebe3c10 v11.1.2 2020-04-13 13:23:00 +03:00
Cameron Diver
37feb7e325 Move from dbus-native to dbus
Closes: #1049
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-13 10:07:14 +01:00
Balena CI
f79b53278d v11.1.1 2020-04-10 15:47:21 +03:00
Pagan Gazzard
e5f1a6b6ed Update copy-webpack-plugin
Change-type: patch
2020-04-10 12:47:15 +01:00
Pagan Gazzard
59f300df62 Update ts-loader to 6.x
Change-type: patch
2020-04-10 12:42:52 +01:00
Pagan Gazzard
9ed36ec006 Update fork-ts-checker-webpack-plugin to 4.x
Change-type: patch
2020-04-10 12:40:31 +01:00
Balena CI
af3f278384 v11.1.0 2020-04-09 13:51:32 +03:00
Balena CI
2279430819 v11.0.9 2020-04-09 11:40:00 +03:00
Balena CI
d402bebee1 v11.0.8 2020-04-08 16:52:07 +03:00
Balena CI
2dfcbd6c69 v11.0.7 2020-04-08 16:02:38 +03:00
Pagan Gazzard
a2ec35456b Convert application-manager.coffee to javascript
Change-type: patch
2020-04-08 12:15:06 +01:00
Balena CI
2be3322fc0 v11.0.6 2020-04-08 12:46:49 +03:00
Balena CI
9f52b32146 v11.0.5 2020-04-07 18:44:40 +03:00
Balena CI
75203d0425 v11.0.4 2020-04-07 16:48:30 +03:00
Balena CI
eca8fc9208 v11.0.3 2020-04-07 14:22:32 +03:00
Balena CI
ae92ff54b2 v11.0.2 2020-04-06 23:59:49 +03:00
Pagan Gazzard
81927d7861 Update to balena-register-device 6.0.1
Change-type: patch
2020-04-06 17:45:03 +01:00
Balena CI
e3c3adceb0 v11.0.1 2020-04-06 17:28:00 +03:00
Cameron Diver
6fe3bfa4f2 Don't mangle names when minimising with webpack
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 13:36:11 +01:00
Balena CI
10455a4bd4 v11.0.0 2020-04-06 15:34:22 +03:00
Cameron Diver
8ab63656bd Update synchronisation scripts for supervisor development
We move the old sync.js script to tools/, and delete the now-broken
sync-debug.js.

We add a command `npm run sync`, which starts a livepush process
with the supervisor on a device.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 13:05:38 +01:00
Balena CI
91d590bed4 v10.11.3 2020-04-02 20:09:40 +03:00
Balena CI
364fabd749 v10.11.2 2020-03-31 16:48:09 +03:00
Balena CI
921a74f04f v10.11.1 2020-03-30 21:19:40 +03:00
Balena CI
23b370c207 v10.11.0 2020-03-30 19:03:08 +03:00
Balena CI
fe0fd453d8 v10.10.15 2020-03-30 13:10:00 +03:00
Balena CI
8fdd5a4e65 v10.10.14 2020-03-29 04:10:00 +03:00
Balena CI
f8c432ff96 v10.10.13 2020-03-28 01:37:48 +02:00
Pagan Gazzard
c1e5b98ae5 Convert proxyvisor to javascript
Change-type: patch
2020-03-27 17:49:01 +00:00
Balena CI
b3cbed3567 v10.10.12 2020-03-27 19:45:48 +02:00
Balena CI
12d79ddcb4 v10.10.11 2020-03-25 19:18:50 +02:00
Balena CI
5e20e4d94e v10.10.10 2020-03-25 10:05:40 +02:00
Cameron Diver
2ff8fccb5e Update livepush
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-24 18:06:59 +00:00
Balena CI
466045a0e9 v10.10.9 2020-03-24 20:05:32 +02:00
Pagan Gazzard
9c3295c912 Add type checking for javascript files
Change-type: patch
2020-03-24 16:37:28 +00:00
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