Commit Graph

1246 Commits

Author SHA1 Message Date
Balena CI
07b8d44545
v14.9.8 2023-03-27 08:05:46 +00:00
Balena CI
9304a9215d
v14.9.7 2023-03-23 21:40:33 +00:00
Balena CI
7bc89faf12
v14.9.6 2023-03-23 20:18:33 +00:00
Balena CI
b55964e207
v14.9.5 2023-03-20 19:21:49 +00:00
Balena CI
d0061e426b
v14.9.4 2023-03-13 20:49:33 +00:00
Balena CI
2e81eb1abf
v14.9.3 2023-03-10 22:26:09 +00:00
Balena CI
4411f4f074
v14.9.2 2023-03-02 21:48:08 +00:00
Balena CI
935a4fba59
v14.9.1 2023-02-15 14:13:58 +00:00
Balena CI
5b0c8e6743
v14.9.0 2023-02-14 17:10:10 +00:00
Balena CI
e7aaae9db9
v14.8.0 2023-02-10 23:01:04 +00:00
Balena CI
cfd18a7620
v14.7.1 2023-02-07 00:59:07 +00:00
Balena CI
3d28f36fb2
v14.7.0 2023-02-03 00:06:05 +00:00
Balena CI
8b7cecfd3e
v14.6.4 2023-01-31 19:43:30 +00:00
Balena CI
f663e38697
v14.6.3 2023-01-30 18:59:40 +00:00
Balena CI
c833d016ff
v14.6.2 2023-01-26 20:58:35 +00:00
Balena CI
f94f06c7ff
v14.6.1 2023-01-24 20:34:01 +00:00
Balena CI
e715498ee7
v14.6.0 2023-01-20 20:51:25 +00:00
Balena CI
072a9f6755
v14.5.2 2023-01-19 19:40:04 +00:00
Balena CI
cf7a865647
v14.5.1 2023-01-18 11:58:56 +00:00
Balena CI
6c7193e0c1
v14.5.0 2023-01-17 19:28:46 +00:00
Balena CI
62840c6bec
v14.4.10 2023-01-04 20:25:56 +00:00
Balena CI
e0005c8307
v14.4.9 2022-12-19 14:26:00 +00:00
Pagan Gazzard
fd135214fe Use got for fetching the target state in order to have brotli support
Change-type: patch
2022-12-15 21:15:11 +00:00
Balena CI
062078ab60
v14.4.8 2022-12-15 22:29:20 +00:00
Balena CI
ac3812aa9f
v14.4.7 2022-12-15 20:39:49 +00:00
Balena CI
a482174aa0
v14.4.6 2022-12-08 18:39:59 +00:00
Balena CI
cb72b8337b
v14.4.5 2022-12-07 19:29:25 +00:00
Balena CI
3e1b1b0be1
v14.4.4 2022-11-22 15:22:26 +00:00
Balena CI
db1c806d33
v14.4.3 2022-11-22 02:54:22 +00:00
Balena CI
80f52b796a
v14.4.2 2022-11-21 20:02:28 +00:00
Balena CI
e64166a583
v14.4.1 2022-11-18 16:08:16 +00:00
Balena CI
48fca82a79
v14.4.0 2022-11-17 01:37:54 +00:00
Felipe Lalanne
dade598737 Use fatrw utility for writes to boot partition
This PR changes the way the supervisor reads and writes files from /mnt/boot. Reads will
now use the [fatrw utility](https://github.com/balena-os/fatrw/) as a way to minimize corruption of
files in the boot partition, and thus preventing possible bricking of the device.

Since this basically changes the way a lot of configurations are read, this work was being blocked because of
the way tests were being done. While there still remain a couple of legacy tests to be migrated, this PR disables
test:legacy tests when running npm run test, as the work on refactoring those tests is in progress (see #2048) and
fatrw integration is of higher priority.

Change-type: minor
2022-11-16 21:21:23 -03:00
Balena CI
d14cca8e5d
v14.3.5 2022-11-16 22:29:58 +00:00
Balena CI
631e560137
v14.3.4 2022-11-16 18:55:03 +00:00
Balena CI
b29aaf540f
v14.3.3 2022-11-14 15:28:58 +00:00
pipex
827f892c13 Migrate all device config tests to integration.
This means that configuration backend tests no longer use stubs and
(mostly) avoid internal dependencies in the tests. Instead of stubs and
mock-fs, the tests use [testfs](https://github.com/balena-io-modules/mocha-pod#working-with-the-filesystem)
which allows working with a real filesystem and ensuring everything is
re-set between tests.

This is the last change needed in order to be able to merge #1971. Here is the list of changes

- [x] Migrate splash image backend tests
- [x] Migrate extlinux backend tests
- [x] Migrate config.txt backend tests
- [x] Migrate extra-uenv config tests
- [x] Migrate odmdata config tests
- [x] Migrate config utils tests
- [x] Migrate device-config tests

Change-type: patch
2022-11-14 11:12:52 -03:00
Balena CI
83c856ae4b
v14.3.2 2022-11-11 17:14:06 +00:00
Balena CI
ae756cfabe
v14.3.1 2022-11-11 16:47:26 +00:00
Pagan Gazzard
9e154da76e Update blinking to 0.0.7
Update blinking from 0.0.5 to 0.0.7

Change-type: patch
2022-11-11 16:06:11 +00:00
Balena CI
d766e3d103
v14.3.0 2022-11-10 01:09:40 +00:00
Christina Ying Wang
75bf2aa3b4 Improve NotFoundError handling
Use isNotFoundError which converts an error of the default type
`unknown` into NotFoundError if the error is an instance of NotFoundError.
Thrown errors are of type `unknown` by default so we should use methods
with type guards for better type narrowing.

Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-11-08 15:41:52 -08:00
Balena CI
80e213ab7e
v14.2.21 2022-11-07 21:20:00 +00:00
Balena CI
f5ec74211f
v14.2.20 2022-11-03 22:27:41 +00:00
Balena CI
c4b2cb867e
v14.2.19 2022-11-03 21:20:53 +00:00
Balena CI
0bb3f0ad1f
v14.2.18 2022-11-02 19:00:54 +00:00
Balena CI
9e2d912fa1
v14.2.17 2022-11-01 21:47:55 +00:00
Balena CI
636d623151
v14.2.16 2022-10-27 15:00:47 +00:00
Balena CI
fd285b8f25
v14.2.15 2022-10-20 14:43:06 +00:00
pipex
117651ab3c Update sinon 2022-10-19 20:38:34 -03:00