balena-supervisor/test/integration
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
..
compose Simplify getting images for cleanup 2022-11-16 12:52:49 -08:00
config Use fatrw utility for writes to boot partition 2022-11-16 21:21:23 -03:00
device-api Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
device-state Migrate db-format tests to integration 2022-10-19 12:07:03 -03:00
lib Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
.mocharc.js Migrate config module tests to integration 2022-09-28 10:37:41 -03:00
config.spec.ts Use fatrw utility for writes to boot partition 2022-11-16 21:21:23 -03:00
db.spec.ts Migrate legacy db test to integration folder 2022-09-28 10:37:41 -03:00
device-config.spec.ts Use fatrw utility for writes to boot partition 2022-11-16 21:21:23 -03:00
device-state.spec.ts Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
network.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
supervisor.spec.ts Run the built supervisor as part of docker-compose tests 2022-11-03 15:45:39 -03:00