balena-supervisor/test/unit/compose
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
..
app.spec.ts Make local mode image management work as in cloud mode 2023-04-20 14:58:58 -04:00
network.spec.ts Create default network as config-only when services have host networking 2022-11-16 10:19:36 -08:00
ports.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
service.spec.ts Disable logs globally using mocha hooks 2022-09-28 10:37:41 -03:00
utils.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
volume.spec.ts Split compose/volume tests into unit/integration 2022-09-28 10:37:40 -03:00