compose/tests/unit
Marc van den Hoogen c7cdd63acf Add shm_size to build-options (issue #3866)
* Add shm_size to build configuration
 * Make it possible to enlarge/customize shm size during build
 * Value in bytes, or use string like "512M" or "1G" ...
 * Add to compose format 2.3 and (provisionally) >=3.5 format
 * Add automated test for shm_size in build-opts

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Made unit tests compatible with previously added shm_size build-option

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Also support shm_size build-opt when conf override

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Automated test for shm_size build-option

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Schema 3.4, add shm_size to schema 2.3, updated const.py

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Corrected typo in config_schema_v3.4

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Add support for g/m/k units for shm_size in build-opts

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>

Reorder imports in service.py

Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
2017-10-17 17:20:00 -07:00
..
cli Convert paths to unicode in get_config_path_from_options if needed 2017-04-10 17:45:06 -07:00
config Fix oneOf validator parser to correctly process uniqueItems errors 2017-10-17 17:20:00 -07:00
__init__.py Split tests into unit and integration 2014-04-25 22:58:21 +01:00
bundle_test.py Improved version comparisons throughout the codebase 2017-07-13 17:37:26 -07:00
cli_test.py enable -v flag for docker-compose run command 2017-03-02 16:50:24 -08:00
container_test.py Use docker SDK 2.0 2016-12-14 15:36:08 -08:00
network_test.py Network label mismatch now prints a warning instead of raising an error 2017-05-30 15:23:00 -07:00
parallel_test.py Actually test there is no control characters 2017-08-28 15:21:39 -07:00
progress_stream_test.py Add some unit tests for new bundle and push commands. 2016-06-28 10:18:20 -04:00
project_test.py Improved version comparisons throughout the codebase 2017-07-13 17:37:26 -07:00
service_test.py Add shm_size to build-options (issue #3866) 2017-10-17 17:20:00 -07:00
split_buffer_test.py Fix split buffer with inconsistently delimited json objects. 2015-10-06 10:43:07 -04:00
timeparse_test.py Use stop grace period for container stop. 2016-11-16 12:12:28 -05:00
utils_test.py Avoid import ConfigurationError inside compose.utils (circular import) 2017-10-17 17:20:00 -07:00
volume_test.py Add support for v3.4 files and custom volume names 2017-08-21 13:09:19 -07:00