Commit Graph

575 Commits

Author SHA1 Message Date
Pagan Gazzard
9e52bb33ac Update balena-register-device and send extra info at provision time
This extra info will mean the API is able to immediately set default
config vars based on the os/supervisor version so that they are
available on the first target state fetch rather than having a delay
whilst waiting for the supervisor to report them as part of a state
patch

Update balena-register-device from 6.1.6 to 7.2.0

Change-type: patch
2021-04-29 13:44:30 +00:00
Balena CI
8ceabbdb4d v12.6.4 2021-05-06 03:06:40 +03:00
Balena CI
e745648b5e v12.6.3 2021-05-04 06:03:17 +03:00
Balena CI
d9223bd460 v12.6.2 2021-04-30 23:27:19 +03:00
Balena CI
c8600ff22c v12.6.1 2021-04-28 01:59:29 +03:00
Christina Wang
4a2ac557ef
Remove mz, mkdirp, body-parser dependencies
'mz' can be safely replaced with fs.promises
and util.promisify for faster native methods.
'mkdirp' after Node v8 uses native fs.mkdir, thus
is redundant. 'body-parser' is deprecated and
contained within express v4.x.

Closes: #1567
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-04-28 07:20:15 +09:00
Balena CI
f40cde8372 v12.6.0 2021-04-27 21:22:51 +03:00
Felipe Lalanne
95fb568aae Bump dockerode types to 2.5.34
This commit updates dockerode types to the latest 2.x version, removing the need
for custom composer types for network.

This commit also modifies network tests to use the new types

Change-type: minor
2021-04-27 13:00:56 -04:00
Balena CI
e2d54e9d6c v12.5.16 2021-04-27 19:49:06 +03:00
Balena CI
7908d19f9e v12.5.15 2021-04-26 23:53:04 +03:00
Balena CI
c1f2ac9c58 v12.5.14 2021-04-26 22:53:02 +03:00
Balena CI
10b56658e6 v12.5.13 2021-04-26 21:09:43 +03:00
Felipe Lalanne
fd06c06092 Update supervisor to typescript 4
Change-type: patch
2021-04-19 15:18:21 +00:00
Balena CI
5b7bc8a870 v12.5.12 2021-04-21 02:01:06 +03:00
dependabot[bot]
ae8dc8ff22 Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 18:46:53 -04:00
Balena CI
2b30ce3b49 v12.5.11 2021-04-16 03:02:26 +03:00
Balena CI
5a7511b1a2 v12.5.10 2021-04-13 01:04:59 +03:00
Balena CI
14efec2c7d v12.5.9 2021-04-10 01:44:44 +03:00
Balena CI
6c0df43f1a v12.5.8 2021-04-09 16:29:30 +03:00
Miguel Casqueira
204475d3dc Improved mutable (/data) file system detection
Change-type: patch
Closes: #1609
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-04-08 17:34:27 -04:00
Balena CI
d78165b966 v12.5.7 2021-04-06 18:36:31 +03:00
Balena CI
6651ab4f2e v12.5.6 2021-04-05 19:10:53 +03:00
Balena CI
b7eb4c30a7 v12.5.5 2021-04-05 13:15:32 +03:00
Balena CI
0f906fd9d8 v12.5.4 2021-04-02 03:42:01 +03:00
Balena CI
16f981c478 v12.5.3 2021-04-01 10:09:53 +03:00
dependabot[bot]
9dd508b94d
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 15:07:29 +09:00
Balena CI
4f41901275 v12.5.2 2021-04-01 02:11:11 +03:00
Balena CI
7358db6af7 v12.5.1 2021-03-31 16:59:49 +03:00
Balena CI
bfad084972 v12.5.0 2021-03-30 17:18:28 +03:00
Balena CI
44e8134e02 v12.4.10 2021-03-22 20:40:06 +02:00
Balena CI
cc5fb4ac16 v12.4.9 2021-03-22 19:43:31 +02:00
Pagan Gazzard
18a8c1168d Move chai-things and chai-like into dev dependencies
Change-type: patch
2021-03-22 13:41:50 +00:00
Balena CI
ebce68d6d1 v12.4.8 2021-03-22 16:31:26 +02:00
Pagan Gazzard
b83160ff4b Add explicit dockerode dependency
Change-type: patch
2021-03-22 13:15:13 +00:00
Balena CI
78821824ad v12.4.7 2021-03-18 15:49:10 +02:00
Balena CI
bc338c92c5 v12.4.6 2021-03-16 02:37:29 +02:00
Balena CI
1ef5b62841 v12.4.5 2021-03-12 19:16:23 +02:00
Balena CI
2f74ca11bf v12.4.4 2021-03-09 20:18:30 +02:00
dependabot[bot]
f013f04e4d Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 13:02:13 -05:00
Balena CI
dc96cca5e5 v12.4.3 2021-02-24 19:52:48 +02:00
Balena CI
64127b24d2 v12.4.2 2021-02-19 04:55:33 +02:00
Balena CI
dd24662b47 v12.4.1 2021-02-18 20:28:20 +02:00
Balena CI
19079ae89d v12.4.0 2021-02-18 06:21:13 +02:00
Balena CI
c96d732131 v12.3.7 2021-02-17 15:01:37 +02:00
Balena CI
17b6b00778 v12.3.6 2021-02-09 13:19:51 +02:00
Balena CI
432b1dbcc5 v12.3.5 2021-02-03 18:26:58 +02:00
Balena CI
1fa8f5f920 v12.3.4 2021-01-25 20:02:10 +02:00
Balena CI
25de14d7b7 v12.3.3 2021-01-22 22:35:58 +02:00
Miguel Casqueira
ba1c857c4f Cancel pending apply target after /v1/update request
Closes: #1530
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-01-20 22:21:14 -05:00
Balena CI
e6ebfca0b9 v12.3.2 2021-01-12 01:05:38 +02:00
dependabot[bot]
2c61a961c1 patch: bump @types/yargs from 15.0.5 to 15.0.12
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.5 to 15.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 17:18:16 -05:00
Balena CI
c0da65edca v12.3.1 2021-01-11 22:33:07 +02:00
dependabot[bot]
8a4369f8df patch: bump pretty-ms from 7.0.0 to 7.0.1
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v7.0.0...v7.0.1)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 14:44:20 -05:00
Balena CI
79b7540d36 v12.3.0 2021-01-06 20:49:20 +02:00
Balena CI
0c7cb46d15 v12.2.16 2020-12-21 21:13:59 +02:00
dependabot[bot]
7ccbde985e Bump systeminformation from 4.30.5 to 4.31.1
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.30.5 to 4.31.1.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 14:05:09 -05:00
Balena CI
b75c698f78 v12.2.15 2020-12-21 20:09:39 +02:00
Balena CI
472110b01d v12.2.14 2020-12-16 20:37:41 +02:00
Balena CI
432ab301d1 v12.2.13 2020-12-16 03:07:59 +02:00
Balena CI
bec98ddf50 v12.2.12 2020-12-15 00:18:50 +02:00
dependabot[bot]
b319c678ce Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 17:07:12 -05:00
Balena CI
999ef3b0b7 v12.2.11 2020-12-14 16:34:50 +02:00
Balena CI
c41e9b5e1f v12.2.10 2020-12-12 03:38:28 +02:00
Balena CI
5e3d68c4dc v12.2.9 2020-12-10 13:59:32 +02:00
Balena CI
fab864545a v12.2.8 2020-12-01 17:18:10 +02:00
Balena CI
f6ba69144b v12.2.7 2020-11-30 22:20:40 +02:00
dependabot[bot]
8036d51479 Bump systeminformation from 4.27.11 to 4.30.5
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.27.11 to 4.30.5.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.27.11...v4.30.5)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 14:30:39 -05:00
Balena CI
7c37faee0f v12.2.6 2020-11-30 21:23:18 +02:00
Balena CI
303b7599dc v12.2.5 2020-11-18 00:10:57 +02:00
dependabot[bot]
caae8d0544 Bump bl from 1.2.2 to 1.2.3
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-17 16:18:07 -05:00
Balena CI
412b4b670f v12.2.4 2020-11-17 22:48:06 +02:00
dependabot[bot]
00b1bf8a7a Bump systeminformation from 4.27.3 to 4.27.11
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.27.3 to 4.27.11.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-17 15:40:12 -05:00
Balena CI
d771492da6 v12.2.3 2020-11-17 05:15:18 +02:00
Balena CI
53e7412f75 v12.2.2 2020-11-13 16:13:49 +02:00
Balena CI
50751b7716 v12.2.1 2020-11-11 13:44:27 +02:00
Balena CI
9a21f49a6a v12.2.0 2020-11-10 14:12:58 +02:00
Balena CI
f951323322 v12.1.5 2020-11-03 20:57:08 +02:00
Balena CI
d1380e15ca v12.1.4 2020-11-02 11:32:28 +02:00
Balena CI
4d911c6a3b v12.1.3 2020-10-30 23:59:18 +02:00
Balena CI
7bdc9c4b84 v12.1.2 2020-10-29 22:12:56 +02:00
Balena CI
4e380136c2 v12.1.1 2020-10-28 15:37:10 +02:00
Balena CI
8ae2b4a5cd v12.1.0 2020-10-28 09:06:54 +02:00
Balena CI
622e8edec1 v12.0.9 2020-10-27 15:29:06 +02:00
Balena CI
aa8f5df3a4 v12.0.8 2020-10-26 21:45:14 +02:00
Balena CI
30c352f4f6 v12.0.7 2020-10-19 19:57:16 +03:00
Balena CI
d5d870bdc2 v12.0.6 2020-10-19 11:32:46 +03:00
Balena CI
c3ff277bb0 v12.0.5 2020-10-14 20:11:01 +03:00
Balena CI
45ee8733e8 v12.0.4 2020-10-13 12:56:16 +03:00
Balena CI
7ea9bb368e v12.0.3 2020-10-12 18:28:42 +03:00
Balena CI
3bd8b860ab v12.0.2 2020-10-12 14:54:43 +03:00
Balena CI
17cf330771 v12.0.1 2020-10-12 11:16:26 +03:00
Balena CI
ced69c8c15 v12.0.0 2020-09-29 19:18:14 +03:00
Balena CI
a98f6fc403 v11.14.8 2020-09-29 11:08:35 +03:00
Balena CI
7ca1f837ff v11.14.7 2020-09-25 21:04:28 +03:00
Balena CI
a5a1dd7d73 v11.14.6 2020-09-24 23:42:25 +03:00
Balena CI
1ac71ea552 v11.14.5 2020-09-24 18:25:14 +03:00
Balena CI
fbc2875951 v11.14.4 2020-09-18 16:52:19 +03:00
Rich Bayliss
c08de8701e api: Implement scoped Supervisor API keys
Each service, when requesting access to the Supervisor API, will
now get an individual key which can be scoped to specific resources.
In this iteration the default scope will be to the application that
the service belongs to.

We also have a `global` scope which is used by the cloud API when in
managed mode.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-09-17 11:25:56 +00:00
Balena CI
7d11e29f85 v11.14.3 2020-09-18 02:11:43 +03:00
Balena CI
4ebba7cbfb v11.14.2 2020-09-15 22:13:26 +03:00
Balena CI
b656aa7304 v11.14.1 2020-09-14 15:03:58 +03:00
Rich Bayliss
96c68166a1
application-manager: Convert to a singleton
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 11:23:36 +01:00
Balena CI
13241bf6e7 v11.14.0 2020-09-03 17:36:15 +03:00
Cameron Diver
f305a333ba Add device system information to state endpoint patch
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-03 14:40:29 +01:00
Balena CI
f918910067 v11.13.0 2020-09-02 12:07:12 +03:00
Balena CI
5121aea153 v11.12.11 2020-08-27 14:45:59 +03:00
Rich Bayliss
f0c2a3cba7
bug: Resolve mDNS API URLs
Due to switching to Alpine the ability to resolve mDNS
hostnames was lost. This patch overrides the lookup and
manually resolves the names.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-08-27 11:34:18 +01:00
Balena CI
274130784e v11.12.10 2020-08-24 21:31:53 +03:00
Balena CI
4263f9ab88 v11.12.9 2020-08-20 13:10:36 +03:00
Balena CI
455784dce6 v11.12.8 2020-08-20 00:42:54 +03:00
Pagan Gazzard
ea34a2d10a Update dependencies
Update docker-delta from 2.2.9 to 2.2.11
Update docker-progress from 3.0.5 to 4.0.3
Update docker-toolbelt from 3.3.8 to 3.3.10
Update livepush from 3.3.0 to 3.5.1
Update resin-docker-build from 1.1.4 to 1.1.6

Change-type: patch
2020-08-19 13:35:58 +01:00
Balena CI
8845e55d56 v11.12.7 2020-08-19 12:57:07 +03:00
Pagan Gazzard
379730a9e1 Update typed-error to 3.x
Update typed-error from 2.0.0 to 3.2.1

Change-type: patch
2020-08-19 10:07:54 +01:00
Balena CI
a660ad8020 v11.12.6 2020-08-19 10:39:26 +03:00
Pagan Gazzard
90fab43022 Update pinejs-client-request to 7.2.1
Update pinejs-client-request from 7.1.0 to 7.2.1

Change-type: patch
2020-08-18 18:28:10 +01:00
Balena CI
61811dd27a v11.12.5 2020-08-13 19:06:34 +03:00
Balena CI
825ac2bc4a v11.12.4 2020-08-12 17:37:56 +03:00
Balena CI
48a099db5a v11.12.3 2020-08-11 17:55:57 +03:00
Balena CI
4334847d29 v11.12.2 2020-08-05 16:20:06 +03:00
Balena CI
ccdb2ef10a v11.12.1 2020-08-05 15:24:08 +03:00
Pagan Gazzard
abf5cac4a3 Update resumable-request
Update resumable-request from 2.0.0 to 2.0.1

Change-type: patch
2020-08-05 12:26:22 +01:00
Balena CI
5e62c2987a v11.12.0 2020-08-05 13:39:54 +03:00
Pagan Gazzard
17c370863c Update contrato to 0.5
Update contrato from 0.2.1 to 0.5.0

Change-type: minor
2020-08-05 10:51:49 +01:00
Balena CI
22b8434c11 v11.11.7 2020-08-04 13:20:15 +03:00
dependabot[bot]
c11004cd24 Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-04 10:28:54 +01:00
Pagan Gazzard
511cbbe74e Update pinejs-client-request and make use of a named key
Update pinejs-client-request from 7.0.0 to 7.1.0

Change-type: patch
2020-08-03 09:27:11 +00:00
Balena CI
02cb6d8d75 v11.11.6 2020-07-31 22:01:08 +03:00
Balena CI
31cc14c8f8 v11.11.5 2020-07-31 20:55:20 +03:00
Balena CI
1a54b5a902 v11.11.4 2020-07-31 14:29:38 +03:00
Balena CI
54597d6824 v11.11.3 2020-07-31 10:20:46 +03:00
Balena CI
9bf0c532fb v11.11.2 2020-07-30 13:39:59 +03:00
Balena CI
14b01b2009 v11.11.1 2020-07-29 21:01:26 +03:00
Balena CI
95e0a7d83d v11.11.0 2020-07-29 00:30:15 +03:00
Miguel Casqueira
cac2e3612c Support setting device/fleet configuration in extra_uEnv.txt
Closes: #1385
Change-Type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-07-28 16:36:16 -04:00
Balena CI
e97faad77b v11.10.0 2020-07-28 11:59:21 +03:00
Balena CI
d1e8783e7e v11.9.10 2020-07-24 18:34:43 +03:00
Balena CI
b597e7220f v11.9.9 2020-07-23 19:19:34 +03:00
Balena CI
72d715b254 v11.9.8 2020-07-22 17:49:55 +03:00
dependabot[bot]
01655b5955 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-22 15:41:16 +01:00
Balena CI
cc4a089388 v11.9.7 2020-07-22 16:12:19 +03:00
Balena CI
dd2ff8f9a3 v11.9.6 2020-07-20 21:15:01 +03:00
Balena CI
dd972fd75e v11.9.5 2020-07-14 17:37:11 +03:00
Balena CI
42f3d0e21a v11.9.4 2020-07-13 15:42:40 +03:00
Balena CI
56a9d96b67 v11.9.3 2020-07-08 14:46:22 +03:00
Balena CI
71d51c41c0 v11.9.2 2020-07-06 16:42:07 +03:00
Balena CI
75c2e6c81e v11.9.1 2020-07-06 11:10:09 +03:00
Balena CI
fc70b1c6f8 v11.9.0 2020-06-24 10:41:31 +03:00
Balena CI
233d87f310 v11.8.4 2020-06-22 14:05:25 +03:00
Balena CI
9d42e3518d v11.8.3 2020-06-18 16:18:16 +03:00
Pagan Gazzard
c15f77434b Update pinejs-client-request to 7.x
Update pinejs-client-request from 5.2.0 to 7.0.0

Change-type: patch
2020-06-18 12:24:52 +00:00