Commit Graph

1345 Commits

Author SHA1 Message Date
Balena CI
7e2ce7fc56 v12.10.2 2021-08-03 01:22:12 +03:00
Balena CI
49a391823c v12.10.1 2021-08-02 19:35:58 +03:00
Balena CI
0df979be55 v12.10.0 2021-07-31 01:27:29 +03:00
Balena CI
06c3f488e5 v12.9.6 2021-07-26 17:05:14 +03:00
Felipe Lalanne
f1bd4b8d9b Use tags to track supervised images in docker
The image manager module now uses tags instead of docker IDs as the main
way to identify docker images on the engine. That is, if the target
state image has a name `imageName:tag@digest`, the supervisor will always use
the given `imageName` and `tag` (which may be empty) to tag the image on
the engine after fetching. This PR also adds checkups to ensure
consistency is maintained between the database and the engine.

Using tags allows to simplify query and removal operations, since now
removing the image now means removing tags matching the image name.

Before this change the supervisor relied only on information in the
supervisor database, and used that to remove images by docker ID. However, the docker
id is not a reliable identifier, since images retain the same id between
releases or between services in the same release.

List of squashed commits
- Remove custom type NormalizedImageInfo
- Remove dependency on docker-toolbelt
- Use tags to traack supervised images in docker
- Ensure tag removal occurs in sequence
- Only save database image after download confirmed

Relates-to: #1616 #1579
Change-type: patch
2021-07-26 09:52:25 -04:00
Balena CI
19bcc6232b v12.9.5 2021-07-22 19:02:51 +03:00
Balena CI
f6774be127 v12.9.4 2021-07-08 22:26:09 +03:00
Balena CI
74ba1823c5 v12.9.3 2021-07-08 15:15:39 +03:00
Balena CI
3caf608158 v12.9.2 2021-07-07 16:54:35 +03:00
Balena CI
3cdab68df5 v12.9.1 2021-07-06 03:51:12 +03:00
Balena CI
41e745ce85 v12.9.0 2021-07-06 01:50:32 +03:00
Balena CI
5bd53db905 v12.8.12 2021-07-02 01:35:43 +03:00
Balena CI
71555f7a4d v12.8.11 2021-06-30 18:42:56 +03:00
Balena CI
b397ccef35 v12.8.10 2021-06-30 08:12:20 +03:00
Balena CI
5223262557 v12.8.9 2021-06-29 08:36:50 +03:00
Balena CI
cacbcfd2b1 v12.8.8 2021-06-18 15:15:45 +03:00
Balena CI
5486a74b82 v12.8.7 2021-06-14 14:15:43 +03:00
Balena CI
3974aacdc7 v12.8.6 2021-06-14 13:18:55 +03:00
Balena CI
7db799efa4 v12.8.5 2021-06-08 23:02:15 +03:00
Balena CI
27405d910b v12.8.4 2021-06-03 10:02:33 +03:00
Balena CI
b76fb36249 v12.8.3 2021-05-29 03:11:23 +03:00
Balena CI
a4be293ec4 v12.8.2 2021-05-26 17:58:13 +03:00
Balena CI
20a23155c1 v12.8.1 2021-05-25 07:07:45 +03:00
Balena CI
b77fdbb249 v12.8.0 2021-05-18 21:19:13 +03:00
Balena CI
e1cdade9b7 v12.7.4 2021-05-12 12:05:41 +03:00
Christina Wang
62375c907f
Upgrade mocha to v8, use mocha fixtures for chai plugins
Remove chai-events and add explicit chai devDependency

Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-12 17:10:57 +09:00
Balena CI
8bfaca7d97 v12.7.3 2021-05-12 10:52:42 +03:00
Balena CI
9a3596c44c v12.7.2 2021-05-10 07:17:22 +03:00
dependabot[bot]
90fe8359f1
Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 13:07:50 +09:00
Balena CI
853acae4a8 v12.7.1 2021-05-07 18:41:34 +03:00
Micah Halter
19a7ccb998 Bump contrato from 0.5.0 to 0.6.3
Change-type: patch
Signed-off-by: Micah Halter <micah@balena.io>
2021-05-06 12:46:17 +00:00
Balena CI
2cf9a9d6f3 v12.7.0 2021-05-07 15:12:18 +03:00
Kyle Harding
5faf9d7686 Rename resin-supervisor to balena-supervisor
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:25 +00:00
Balena CI
2f9d52cc6a v12.6.8 2021-05-07 00:20:57 +03:00
Balena CI
6fc91965fb v12.6.7 2021-05-06 19:48:57 +03:00
Balena CI
662b27c26d v12.6.6 2021-05-06 18:43:07 +03:00
Balena CI
042ff77564 v12.6.5 2021-05-06 15:47:47 +03:00
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
b8deb757d6
Update blinking to 0.0.4
Signed-off-by: Christina Wang <christina@balena.io>
2021-04-28 07:20:16 +09: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
Miguel Casqueira
6f4030634a Added clean step to remove previous builds before running tests
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-04-26 19:51:07 +00: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
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
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
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
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
Pagan Gazzard
cda1e9788d Update npm entry in package.json to match the npm version we use
Change-type: patch
2020-11-30 17:23:55 +00:00
Balena CI
303b7599dc v12.2.5 2020-11-18 00:10:57 +02: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
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
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
Balena CI
7686b8b40f v11.8.2 2020-06-18 15:18:45 +03:00
Balena CI
20143c1569 v11.8.1 2020-06-16 16:55:51 +03:00
Pagan Gazzard
e1fb8683f4 Update webpack dependencies
Change-type: patch
2020-06-16 13:05:46 +01:00
Balena CI
c172a70a95 v11.8.0 2020-06-16 12:22:51 +03:00
Balena CI
3ef51240af v11.7.3 2020-06-15 13:44:51 +03:00
Balena CI
0b9727c9cb v11.7.2 2020-06-15 12:18:01 +03:00
Balena CI
92e71a95fa v11.7.1 2020-06-11 14:47:33 +03:00
Balena CI
5512654d1c v11.7.0 2020-06-11 12:09:32 +03:00
Balena CI
dec79e11f4 v11.6.6 2020-06-10 15:02:04 +03:00
Balena CI
d3fae47c8a v11.6.5 2020-06-09 18:14:30 +03:00
Balena CI
dde164426f v11.6.4 2020-06-08 21:14:22 +03:00
Balena CI
12a4a113d7 v11.6.3 2020-06-08 19:59:01 +03:00
Balena CI
14bda050bd v11.6.2 2020-06-08 15:38:10 +03:00
Balena CI
138b1b4496 v11.6.1 2020-06-06 02:18:29 +03:00
Balena CI
5e61fc3be9 v11.6.0 2020-06-04 10:49:36 +03:00
Balena CI
0e9f527ff7 v11.5.3 2020-06-02 22:10:42 +03:00
Balena CI
139c5cdce2 v11.5.2 2020-06-02 18:34:19 +03:00
Balena CI
10a5fb6aaf v11.5.1 2020-06-01 12:42:02 +03:00
Cameron Diver
6290993a79 Remove unused dependencies and dedupe
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-01 08:50:17 +00:00
Balena CI
05546070c8 v11.5.0 2020-05-30 01:22:07 +03:00
Balena CI
15f2ac8d69 v11.4.17 2020-05-29 22:15:57 +03:00
Pagan Gazzard
1decd87c21 Update dependencies
Change-type: patch
2020-05-29 14:22:23 -04:00
Balena CI
e0187090b1 v11.4.16 2020-05-29 17:57:50 +03:00
Cameron Diver
1d7381327e Make the db module a singleton
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Balena CI
0dc0fc77b6 v11.4.15 2020-05-27 10:51:55 +03:00
Cameron Diver
972b896c95 Check for ApiError before using it as such
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-26 14:43:59 +01:00
Balena CI
68b2b1be0b v11.4.14 2020-05-22 01:18:57 +03:00
Cameron Diver
eaaa9c257e check for 409 status code, rather than string matching uuid conflicts
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Balena CI
00a6ce84f3 v11.4.13 2020-05-21 19:32:18 +03:00
Balena CI
1bf2a7ae29 v11.4.12 2020-05-19 20:07:27 +03:00
Balena CI
860afa25c7 v11.4.11 2020-05-18 22:39:56 +03:00
Balena CI
5f35331633 v11.4.10 2020-05-18 18:15:16 +03:00
Balena CI
84b1726681 v11.4.9 2020-05-18 17:04:05 +03:00
Balena CI
62a36cbcdc v11.4.8 2020-05-18 16:13:00 +03:00
Balena CI
29dd8317d8 v11.4.7 2020-05-16 18:08:18 +03:00
Balena CI
3b1c29e0ef v11.4.6 2020-05-15 20:54:58 +03:00
Miguel Casqueira
466c7999db Remove CoffeeScript tests and all CoffeeScript tools
Closes: #1318
Change-Type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-15 13:01:51 -04:00
Balena CI
9c1110af32 v11.4.5 2020-05-15 15:04:53 +03:00
Pagan Gazzard
758f3caa48 Update to @balena/lint 5.x
Change-type: patch
2020-05-15 12:08:42 +01:00
Balena CI
e9728f7c2d v11.4.4 2020-05-15 13:31:49 +03:00
Balena CI
a03e89caf8 v11.4.3 2020-05-14 12:31:21 +03:00
Balena CI
de25751a7e v11.4.2 2020-05-14 11:38:38 +03:00
Cameron Diver
bbfd87d325 Update engine information in package.json
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-13 09:47:44 +01:00
Balena CI
71d296ab19 v11.4.1 2020-05-12 21:00:15 +03:00
Balena CI
410609041b v11.4.0 2020-05-12 05:15:25 +03:00
Miguel Casqueira
8295858b32 Added endpoint to check if VPN is connected
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-11 21:21:44 -04:00
Balena CI
a361e44b14 v11.3.11 2020-05-12 02:16:19 +03:00
Balena CI
2fa9e638f1 v11.3.10 2020-05-11 22:53:15 +03:00
Balena CI
6060e65220 v11.3.9 2020-05-11 16:28:38 +03:00
Balena CI
d21366aa51 v11.3.8 2020-05-08 15:56:32 +03:00
Balena CI
fff87127ce v11.3.7 2020-05-08 14:56:10 +03:00
Balena CI
77a7c980c8 v11.3.6 2020-05-07 22:58:31 +03:00
Balena CI
5ec86813c1 v11.3.5 2020-05-07 20:43:53 +03:00
Balena CI
94a1e5ccb1 v11.3.4 2020-05-07 11:20:07 +03:00
Balena CI
c1f546d08d v11.3.3 2020-05-06 18:41:50 +03:00
Balena CI
313ee2048a v11.3.2 2020-05-05 20:48:59 +03:00
Cameron Diver
02d088d351 Move build files into build-conf and rename to build-utils
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-05 17:55:28 +01:00
Balena CI
a9b830e68c v11.3.1 2020-05-05 14:26:08 +03:00
Balena CI
89848e6830 v11.3.0 2020-05-04 20:35:39 +03:00
Balena CI
ce39921c7b v11.2.0 2020-04-30 22:19:36 +03:00
Balena CI
71d3dcf724 v11.1.11 2020-04-28 18:45:24 +03:00
Cameron Diver
6c360c2273 Remove coverage running and modules
The coverage no longer works with es2020, and nobody really pays any
attention to the coverage as it is.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-28 13:23:03 +01:00
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