Commit Graph

2852 Commits

Author SHA1 Message Date
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
Giovanni Garufi
f69e73b2d3
Merge pull request #1184 from balena-io/repo-yml
Set docker type and update CHANGELOG.md to the correct format
2020-01-28 11:30:20 +00:00
Giovanni Garufi
d1a3663d47 Set docker type and update CHANGELOG.md to the correct format
Change-type: patch
Signed-off-by: Giovanni Garufi <giovanni@balena.io>
2020-01-27 23:39:25 +00:00
Balena CI
9a1ffb2557 v10.6.31 2020-01-17 19:16:23 +02:00
Page-
946eeb0f1b
Merge pull request #1178 from balena-io/parallel-push
Push all images in parallel for CI builds
2020-01-17 17:14:45 +00:00
Pagan Gazzard
9dc9e0704b Update docker used for CI builds
Change-type: patch
2020-01-17 17:01:25 +00:00
Pagan Gazzard
f4f7af042d Update the deprecated reusable key to docker_layer_caching for CI
Change-type: patch
2020-01-17 15:34:50 +00:00
Pagan Gazzard
7e79462928 Push all images in parallel for CI builds
Change-type: patch
2020-01-17 15:34:50 +00:00
Balena CI
9290ee05c1 v10.6.30 2020-01-17 17:33:56 +02:00
Page-
340dac9069
Merge pull request #1179 from balena-io/update-typings
Update types and fix issue with treating string as a number
2020-01-17 15:32:13 +00: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
CameronDiver
d7ecb983fe
Merge pull request #1177 from balena-io/increase-report-backoff
Increase the minimum backoff delay and use poll inteval as the max
2020-01-17 12:47:01 +00:00
Cameron Diver
6e7a190ff0
Remove unnecessary awaits
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-01-16 11:14:39 +00:00