Commit Graph

3628 Commits

Author SHA1 Message Date
8fc11df959 Add transpilation for javascript files to ease node 6 compatibility
Change-type: patch
2020-03-24 09:28:14 +00:00
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
81966446d9 Update to balena-lint and enable javascript linting
Change-type: patch
2020-03-24 09:28:12 +00:00
34e28173a0 v10.10.5 v10.10.5 2020-03-23 22:41:28 +02:00
2a8b75391d Merge pull request #1223 from balena-io/await-tests
Tests: Add missing await
2020-03-23 20:39:49 +00:00
7e6d32516d Tests: Add missing await
Change-type: patch
2020-03-23 19:02:17 +00:00
15446929eb v10.10.4 v10.10.4 2020-03-23 18:40:12 +02:00
187011c33c Merge pull request #1219 from balena-io/docs/update-locking
docs: Clarify update locks for multicontainer applications
2020-03-23 09:38:15 -07:00
a6b0c50d8e docs: Clarify update locks for multicontainer applications
Change-type: patch
Signed-off-by: Gareth Davies <gareth@balena.io>
2020-03-16 14:09:28 -07:00
c37079188f v10.10.3 v10.10.3 2020-03-16 22:48:08 +02:00
49b0d7115b Merge pull request #1218 from balena-io/logging-typos
logging: fix up some typos
2020-03-16 16:46:22 -04:00
ab7e8b5514 logging: fix up some typos
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2020-03-16 15:28:50 -04:00
9e7a226741 v10.10.2 v10.10.2 2020-03-16 17:26:09 +02:00
af64bd3a2f Merge pull request #1217 from balena-io/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-03-16 15:24:17 +00:00
f8363fc72b Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 12:10:35 +00:00
bae4e21c85 v10.10.1 v10.10.1 2020-03-16 14:08:58 +02:00
0a20e18832 Merge pull request #1216 from balena-io/update-deps
Update dependencies
2020-03-16 12:07:14 +00:00
6e3db3bd60 Update dependencies
Change-type: patch
2020-03-13 17:18:05 +00:00
0bc6fc9a4a v10.10.0 v10.10.0 2020-03-06 18:13:09 +02:00
efebe11814 Merge pull request #1211 from balena-io/1210-better-l4t-versioning
Allow semver comparison on L4T versions, and support 2 and 3 integer version forms
2020-03-06 16:11:27 +00:00
5c50f656c3 Allow semver comparison on l4t versions in contracts
We add an implicit .0 to the end of l4t versions which do not fulfill
semver, which allows us to always match using comparison operators, such
as < and <=.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-06 15:54:04 +00:00
7d47661928 Allow l4t versions with three numbers as well as two
Closes: #1210
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-06 10:27:43 +00:00
255c46c92e v10.9.2 v10.9.2 2020-03-05 17:12:19 +02:00
bf1b07ddb8 Merge pull request #1187 from balena-io/support-ssdt-loading
Added support for loading SSDT via ConfigFS for up-board
2020-03-05 15:10:33 +00:00
e0d2bdfaa9 config: Support loading SSDT via ConfigFS
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-03-05 13:30:06 +00:00
23de9e90e7 v10.9.1 v10.9.1 2020-02-25 14:57:19 +02:00
98b3c29e5a Merge pull request #1169 from balena-io/device-state-typescript
Convert device-state module to typescript
2020-02-25 19:55:44 +07:00
cf76875f64 Improve dependent and preload typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:21 +07:00
c21da8f3db Convert device-state module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:21 +07:00
2309442555 Improve application-manager typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:20 +07:00
e161888516 Improve and extend internal typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:20 +07:00
5a95613dd7 Add UnwrappedPromise and DeepPartial types
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:19 +07:00
adf6d427fc Upgrade pretty-ms to pick up typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:15 +07:00
1d6c57b196 v10.9.0 v10.9.0 2020-02-25 06:17:38 +02:00
9d702fc29d Merge pull request #1209 from metamorfoso/feat/support-filtering-logs-by-containerId
Feat/support filtering logs by container
2020-02-25 11:15:38 +07:00
f5c51be07d Add unit test to ensure journalctl process is spawned with expected
arguments.

Signed-off-by: Ivan <ivan@mish.guru>
2020-02-22 16:44:11 -07:00
b5772740ae Add a containerId request parameter for journal-logs api endpoint, and pass it along to journalctl process options.
Change-Type: minor
Signed-off-by: Ivan <ivanign04.alt@gmail.com>
2020-02-22 16:42:38 -07:00
0df6b225ff v10.8.0 v10.8.0 2020-02-13 12:05:20 +02:00
2f98dcb4ce Merge pull request #1205 from balena-io/fs-mounts
Clean up labels code, and add sysfs label
2020-02-13 17:03:11 +07:00
89a9d85e87 Add procfs label
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-13 11:00:34 +07:00
947deb3cc6 Add a sysfs feature label
The new label `io.balena.features.sysfs` will mount the host /sys into
the container at /sys.

Relates to issue: #743

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-13 11:00:34 +07:00
7dcb4fa887 Clean up the feature label function
Bring the labels into a more declarative format and run through them to
apply the various labels and env vars.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-13 11:00:33 +07:00
48c80dd747 v10.7.0 v10.7.0 2020-02-12 13:24:53 +02:00
897af15717 Merge pull request #1204 from balena-io/add-sync-debug-noinit
Add a noinit option to sync-debug
2020-02-12 18:23:14 +07:00
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
de57bf4372 v10.6.37 v10.6.37 2020-02-11 06:16:48 +02:00
884713cbc4 Merge pull request #1202 from balena-io/update-balenaos-container
Update balenaos-in-container to pickup aufs2overlay changes
2020-02-11 11:15:16 +07:00
4da1faced6 Update balenaos-in-container to pickup aufs2overlay changes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-10 23:34:09 +07:00
c69942233b v10.6.36 v10.6.36 2020-02-10 14:19:23 +02:00
07645563db Merge pull request #1199 from balena-io/resin-lint-autofix
Switch to using resin-lint for automatic lint fixing
2020-02-10 12:17:46 +00:00