Commit Graph

3167 Commits

Author SHA1 Message Date
Matthew McGinn
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
Balena CI
9e7a226741 v10.10.2 2020-03-16 17:26:09 +02:00
CameronDiver
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
dependabot[bot]
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
Balena CI
bae4e21c85 v10.10.1 2020-03-16 14:08:58 +02:00
Page-
0a20e18832
Merge pull request #1216 from balena-io/update-deps
Update dependencies
2020-03-16 12:07:14 +00: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
CameronDiver
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
Cameron Diver
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
Cameron Diver
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
Balena CI
255c46c92e v10.9.2 2020-03-05 17:12:19 +02:00
Rich Bayliss
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
Rich Bayliss
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
Balena CI
23de9e90e7 v10.9.1 2020-02-25 14:57:19 +02:00
CameronDiver
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
Cameron Diver
cf76875f64
Improve dependent and preload typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:21 +07:00
Cameron Diver
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
Cameron Diver
2309442555
Improve application-manager typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:20 +07:00
Cameron Diver
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
Cameron Diver
5a95613dd7
Add UnwrappedPromise and DeepPartial types
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:19 +07: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
CameronDiver
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
Ivan
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
Ivan
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
Balena CI
0df6b225ff v10.8.0 2020-02-13 12:05:20 +02:00
CameronDiver
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
Cameron Diver
89a9d85e87
Add procfs label
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-13 11:00:34 +07:00
Cameron Diver
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
Cameron Diver
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
Balena CI
48c80dd747 v10.7.0 2020-02-12 13:24:53 +02:00
CameronDiver
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
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
CameronDiver
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
Cameron Diver
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
Balena CI
c69942233b v10.6.36 2020-02-10 14:19:23 +02:00
Page-
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
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
CameronDiver
ca94e7c60e Merge pull request #1196 from balena-io/allow-multiapp
Dont error on a target state with multiple apps
2020-02-10 13:40:15 +07:00
Cameron Diver
a27ce4f1dc
Dont error on a target state with multiple apps
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-10 12:06:12 +07:00
Balena CI
a5b80b9b69 v10.6.34 2020-02-06 16:24:09 +02:00
Rich Bayliss
468f7c3d66
Merge pull request #1190 from balena-io/1189-delay-sending-logs
bug: Delay sending logs until the device is provisioned
2020-02-06 14:22:07 +00:00
Rich Bayliss
fe5fd2b7ef
bug: Delay sending logs until the device is provisioned
Connects-to: #1189
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-02-06 10:21:27 +00:00
Balena CI
13b5c2c79c v10.6.33 2020-01-30 13:36:02 +02:00
CameronDiver
4ca8806738
Merge pull request #1186 from balena-io/1176-get-target-state
Allow getting the target state when not in local mode
2020-01-30 11:34:07 +00:00
Cameron Diver
3ff3bce605 Allow getting the target state when not in local mode
Change-type: patch
Closes: #1176
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-01-30 11:24:59 +00:00
Balena CI
6bb7a5fd57 v10.6.32 2020-01-28 13:32:10 +02:00