Commit Graph

4970 Commits

Author SHA1 Message Date
Joffrey F bfc7ac4995 Always convert port values in ServicePort to integer
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 15:26:49 -07:00
Joffrey F ff720ba6b2 Bump docker version in requirements.txt
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 15:26:49 -07:00
Joffrey F 8512b33e24 Remedy test failures
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F 0fa7163522 Interpolate configs values
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F bd8d77feae Add configs tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F 39c1cb5988 Partial support for service configs
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F 36af86b9b2 Always convert port values in ServicePort to integer
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-05 15:51:22 -07:00
Joffrey F bcc4a76ea0 Bump docker version in requirements.txt
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-05 15:02:51 -07:00
Joffrey F e6000051f7 Bump 1.14.0-rc1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 909ef7f435 Add partial support (docker-compose config and warnings) for v3.3 credential_spec
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 5fb7675055 Add support for build labels in 2.1 and 2.2 format
Add cache_from in 2.2 format

Add integration test for build labels

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F f6aa53ea6c Network label mismatch now prints a warning instead of raising an error
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 150c44dc36 Merge all fields inside build dict
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F d29ed0d3e4 Fix improper use of project.stop
Add some better test coverage for rm --stop

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Pascal Vibet c9ff9023b2 If COMPOSE_FILE is define then set this variable to the container
Signed-off-by: Pascal Vibet <pvibet@gmail.com>
2017-05-30 15:23:00 -07:00
Joffrey F d2a8a9edaa Rewrite duplicate override error message
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Eli Atzaba 88fa8db79a Raise exception when override.yaml & override.yml coexist
Signed-off-by: Eli Atzaba <eliat123@gmail.com>
2017-05-30 15:23:00 -07:00
Eli Atzaba d0b80f537b Fix for yaml extention does not work with override file
Signed-off-by: Eli Atzaba <eliat123@gmail.com>
2017-05-30 15:23:00 -07:00
Joffrey F 2ffa67cf92 Add 3.3 format support
Remove build.labels field from 3.2 schema

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Colin Hebert 2182329dae Fix test type
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-30 15:23:00 -07:00
Colin Hebert 67e48ae4cb Add tests for the labels
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-30 15:23:00 -07:00
Colin Hebert 3f920d515d Update tests to show labels set to None
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-30 15:23:00 -07:00
Colin Hebert d10d64ac82 Add support for labels during build
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-30 15:23:00 -07:00
Alexey Rokhin 201919824f move cpus validation to validation.py
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin b815a00e33 Implement review suggestions.
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin aeeed0cf2f service_test.py reorder imports
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin 56f63c8586 skip cpu_percent test for Linux
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin e621117ab2 Fix testcases.py formatting
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin 2d4fc2cd51 Fix cpu option checking.
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
Alexey Rokhin 93d1ce5a55 Add cpu_count, cpu_percent, cpus parameters.
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-30 15:23:00 -07:00
mengskysama 511b981f11 fix python3.x _asdict() return None
Signed-off-by: mengskysama <mengskysama@gmail.com>
2017-05-30 15:23:00 -07:00
Joffrey F 9daced4c04 Prevent dependencies rescaling when executing `docker-compose run`
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Harald Albers 50437bd6ea Add docker-compose exec -u to docs and completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-30 15:23:00 -07:00
Victoria Bialas f1fd9eb1d0 Updated CLI help for docker-compose pull command
removed reference to docker-stack.yml in pull command help

referenced generic Compose file, consistent naming in Help, init caps

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F a5837ba358 Use different method to compute ServicePort.repr
Workaround for https://bugs.python.org/issue24931

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 570cf951ac New network config whitelist option in unit test
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Michael Friis 9c0bbaad36 add exception for windows networking
Signed-off-by: Michael Friis <friism@gmail.com>
2017-05-30 15:23:00 -07:00
Joffrey F 57f647f03f 1.14.0dev
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F e27dfe8ccd Script downloading release binaries from bintray and appveyor
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
mrfly b1e3228d19 Not colon but a dot.
hum...

Signed-off-by: wrfly <mr.wrfly@gmail.com>
2017-05-30 15:23:00 -07:00
Joffrey F d3ad2ae7fe Add deprecation warning to scale command
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 1be40656a1 Prevent `docker-compose scale` to be used with a v2.2 config file
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F 1646e75591 Properly relay errors in execute_convergence_plan
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Joffrey F ffb8f9f1b4 Implement --scale option on up command, allow scale config in v2.2 format
docker-compose scale modified to reuse code between up and scale

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-30 15:23:00 -07:00
Sebastiaan van Stijn 10cda3dabf Add Joffrey to maintainers
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-05-30 09:15:18 -07:00
Joffrey F 9a70db0889 Merge pull request #4864 from shin-/cred_spec_support
Add partial support for v3.3 credential_spec
2017-05-25 17:30:44 -07:00
Joffrey F 73d7865da8 Add partial support (docker-compose config and warnings) for v3.3 credential_spec
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-25 14:54:46 -07:00
Joffrey F bf8498c488 Merge pull request #4861 from shin-/4825-cache-from
Merge all fields inside build dict
2017-05-25 14:44:56 -07:00
Joffrey F 347a7a8d2a Merge pull request #4862 from shin-/network_labels_check_warn
Network label mismatch now prints a warning instead of raising an error
2017-05-25 14:44:36 -07:00
Joffrey F bbb771f108 Merge pull request #4863 from shin-/4038-build-labels-v2
Add support for build labels in 2.1 and 2.2 format
2017-05-25 14:31:21 -07:00