balena-supervisor/test/unit
Felipe Lalanne 0c7bad7792 Do not expose ports from image if service network mode
The supervisor exposes ports configured using the `EXPOSE` directive in
the dockerfile when configuring the container for runtime. This can
cause issues if using `network_mode: service:<service name>` as the
expose configuration is not compatible with that network mode. This
fix now skips image exposed ports for that particular network mode.

Change-type: patch
Relates-to: #2211
2023-10-12 18:03:42 -03:00
..
compose Do not expose ports from image if service network mode 2023-10-12 18:03:42 -03:00
config Migrate all device config tests to integration. 2022-11-14 11:12:52 -03:00
device-api Update host-config, route, and action tests for host config endpoints 2023-01-11 15:48:13 -08:00
lib Fix sw.arch typo when testing contracts 2023-05-11 13:07:26 -04:00
.mocharc.js Disable logs globally using mocha hooks 2022-09-28 10:37:41 -03:00
network.spec.ts Migrate simple legacy tests to test/unit and test/integration 2022-10-18 20:36:53 -03:00
types.spec.ts Fix withDefault type helper to work with boolean 2022-09-13 20:08:32 +00:00