Commit Graph

4752 Commits

Author SHA1 Message Date
Evan Shaw 4bd2aa3d74 Always silence pull output with --parallel
This is how things were prior to the addition of the --quiet flag.
Making it not silent produces output that's weird and difficult to read.

Signed-off-by: Evan Shaw <evan@vendhq.com>
2017-10-16 16:45:51 -07:00
NikitaVlaznev d960f5151e Fix double silent argument value
Fix for "TypeError: pull() got multiple values for keyword argument 'silent'."
This change e9b6cc23fc caused additional value to be passed for the 'silent' argument, that was already passed there: f85da99ef3

Signed-off-by: Nikita Vlaznev <nikita.dto@gmail.com>
2017-10-16 16:45:44 -07:00
Joel Barciauskas 2eed6939f1 Add --quiet parameter to docker-compose pull, using existing silent flag
Signed-off-by: Joel Barciauskas <barciajo@gmail.com>
2017-10-16 16:45:42 -07:00
Alexey Rokhin 0367995b8f service_test.py reorder imports
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-10-16 16:45:25 -07:00
Alexey Rokhin 390821e31c skip cpu_percent test for Linux
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-10-16 16:45:25 -07:00
Alexey Rokhin f64b48f0de Fix testcases.py formatting
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-10-16 16:45:25 -07:00
Joffrey F f965d2b374 Add check_duplicate=True when creating network
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-16 16:30:39 -07:00
Joffrey F d2cbf33412 Add specific handling for pywintypes.error
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-16 13:43:57 -07:00
Guillermo Arribas aaa0773b4b Config command generates invalid volumes (fixes #5176)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-16 12:06:04 -07:00
Joffrey F 262a4a1d77 Merge branch 'garribas-5183-array-form-of-labels-unmarshall-error' 2017-10-16 11:56:48 -07:00
Joffrey F 7df1b53ad2 Move build labels parsing to config module
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-16 11:56:36 -07:00
Guillermo Arribas 57eb1c463f Progress markers are not shown correctly for docker-compose up (fixes #4801)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-13 22:54:39 -03:00
Guillermo Arribas 6de646d3b0 Build labels option: array form produces unmarshal error (fixes #5183)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-13 22:49:41 -03:00
Joffrey F 08714ef796 Add get_secret_volumes unit tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 17:43:07 -07:00
Andrea Giardini edcb8aea7b Fix secret location with absolute paths
Signed-off-by: Andrea Giardini <contact@andreagiardini.com>
2017-10-13 17:43:07 -07:00
Joffrey F 53e0378379 Mount with same container path and different mode should override
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 17:04:42 -07:00
Joffrey F aab0891a07 Temporary xfails for engine bug
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 16:21:34 -07:00
Marc van den Hoogen dc838067fd 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-09-29 15:50:17 -07:00
Joffrey F 9430e5bf9d Avoid import ConfigurationError inside compose.utils (circular import)
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-28 16:51:03 -07:00
Joffrey F 7f82a28572 Revert 3.4-beta temp rename
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-26 18:01:43 -07:00
French Ben b2a03265e4 Use slim alpine instead of bulky debian
Signed-off-by: French Ben <frenchben@docker.com>
2017-09-26 17:44:22 -07:00
French Ben 6222d1cc8b Simple patch to allow s390x images to be built
Needs integration with CI and s390x machine integration

Signed-off-by: French Ben <frenchben@docker.com>
2017-09-26 17:44:22 -07:00
Joffrey F 3654f3ac48 Fix oneOf validator parser to correctly process uniqueItems errors
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-26 17:21:31 -07:00
Vincent Demeester 432dffc710 Sync composefile v3.2 schema with `docker/cli`
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-09-21 22:33:26 -07:00
Andrew Hsu 4900f09991 Bump 1.16.1
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
2017-09-01 15:43:44 -07:00
Joffrey F 241931f776 Merge extra_hosts instead of overwrite
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-01 15:43:44 -07:00
Joffrey F fc426e273d Merge extra_hosts instead of overwrite
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-01 13:18:44 -07:00
Joffrey F 36e5985b01 Update release process with most recent changes
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-01 12:16:39 -07:00
Joffrey F d1eabcecb6 1.17.0 dev
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:49:43 -07:00
Joffrey F cb82e3d192 Bump 1.16.0-rc1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:49:43 -07:00
Joffrey F cfb0fda1b1 Bump 1.16.0-rc2
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:49:43 -07:00
Joffrey F dc4b77deb0 Bump 1.16.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:49:43 -07:00
Joffrey F ec1f6c36eb Add support for extension fields in v2.x and v3.4
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:38:32 -07:00
Joffrey F 07d5042859 Bump 1.16.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:36:32 -07:00
Joffrey F 3e725162ec Reduce up() cyclomatic complexity
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:36:13 -07:00
Joffrey F 40c05cfc1e Add --no-start flag to up command. Deprecate create command.
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:36:13 -07:00
Joffrey F 5cc23c540c Bump 1.16.0-rc2
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Joffrey F abdeed7bb6 Handle unicode errors in LogPrinter
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Harald Albers b28bcd613a Add bash completion for `create --build`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-28 15:21:39 -07:00
Harald Albers e62c403326 Add bash completion for `--no-ansi`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-28 15:21:39 -07:00
Joffrey F c49837fae0 Remove all colors in output when --no-ansi is set
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Cecile Tonglet fb531ceaa3 Fix --no-ansi flag not working properly
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-28 15:21:39 -07:00
Cecile Tonglet c8193821ed Actually test there is no control characters
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-28 15:21:39 -07:00
Joffrey F 177499b6de Account for repo tag values that may contain a port
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Joffrey F 5f84c0c27a Rename 3.4 schema to 3.4-beta
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Joffrey F d2543c830d Bump docker SDK -> 2.5.1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-28 15:21:39 -07:00
Joffrey F c8daf17db6 Handle unicode errors in LogPrinter
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-25 16:37:17 -07:00
Harald Albers ff05f1ed15 Add bash completion for `create --build`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-25 15:46:57 -07:00
Harald Albers 28e1c85c3b Add bash completion for `--no-ansi`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-25 15:46:34 -07:00
Joffrey F 60eed707d1 Remove all colors in output when --no-ansi is set
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-24 14:10:50 -07:00