balena-supervisor/test/integration
Felipe Lalanne 967cb7747f Make local mode image management work as in cloud mode
There were multiple places in the state engine that skipped some
operations while in local mode. In reality, all it's needed while in
local mode is to skip image and volume deletion.

This commit simplifies application-manager and compose app to be more
local mode agnostic and instead making the image deletion and volume
deletion configurable via function arguments.

This also has the benefit to make the treatment of local mode
applications more similar to cloud mode applications, allowing for
API endpoints to function the same way both modes.

Change-type: patch
2023-04-20 14:58:58 -04:00
..
compose Make local mode image management work as in cloud mode 2023-04-20 14:58:58 -04:00
config backends: Add Jetson Orin NX custom device-tree support 2023-04-07 18:12:31 +03:00
device-api Fix assertion error in restart-service 2023-04-07 14:40:15 -07:00
device-state Find and remove duplicate networks 2023-02-10 20:24:36 -05:00
lib Mount data and state partitions on container startup 2023-03-27 12:07:01 -07:00
.mocharc.js Migrate config module tests to integration 2022-09-28 10:37:41 -03:00
config.spec.ts Mount boot partition into container on Supervisor start 2023-03-27 12:07:01 -07:00
db.spec.ts Remove dependent devices content in codebase 2023-02-06 19:34:02 -08:00
device-config.spec.ts Mount boot partition into container on Supervisor start 2023-03-27 12:07:01 -07:00
device-state.spec.ts Remove dependent devices content in codebase 2023-02-06 19:34:02 -08:00
host-config.spec.ts Do not restart balena-hostname on rename 2023-04-20 11:43:35 -04: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