Commit Graph

4192 Commits

Author SHA1 Message Date
Cecile Tonglet ebbf48e606 Actually test there is no control characters
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-24 14:10:50 -07:00
Joffrey F e370a22104 Rename 3.4 schema to 3.4-beta
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-24 14:01:30 -07:00
Joffrey F 7813d0a8fa Account for repo tag values that may contain a port
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-24 12:27:18 -07:00
Joffrey F 415c5ddde4 Bump docker SDK -> 2.5.1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-23 12:35:31 -07:00
Joffrey F f1083087df Update schemas to prevent invalid properties in deploy.resources
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-17 16:51:22 -07:00
Joffrey F bd3feae62b Bump python SDK version -> 2.5.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-17 16:24:12 -07:00
aronahl 390ba801a3 Fix exit code 0 upon parallel pull failure.
Signed-off-by: Aaron Nall <aronahl@hotmail.com>
2017-08-15 13:48:41 -07:00
Joffrey F 7210fdb21c Add support for start_period in healthcheck config
Improve merging strategy for healthcheck configs

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 16:49:29 -07:00
Joffrey F 22d9a258f4 v2 custom volume name support
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 11:48:00 -07:00
Joffrey F 8c30971299 Add support for v3.4 files and custom volume names
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 11:48:00 -07:00
Joffrey F 3fbfb3a5dd Prevent null logging options in `docker-compose config` output
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-10 12:21:27 -07:00
Joffrey F dc6bb7020d UCP 2.2.0 test fixes
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-10 11:08:20 -07:00
Joffrey F 6e802df809 Add support for blkio config keys
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-09 19:45:22 -07:00
Joffrey F 454b063fed Keep no-ansi parameter in the CLI scope
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-09 19:00:23 -07:00
Cecile Tonglet b0b671dbf2 Add a flag --no-ansi to remove control characters on parallel executions
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-09 19:00:23 -07:00
Joffrey F f9aaa72c54 Bump texttable dependency
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-03 12:06:23 -07:00
Joffrey F 3ea8a20cfa Fix ServiceExtendsResolver same-file detection
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-03 12:06:06 -07:00
Joffrey F 0c4fc93895 Use newer versions of pre-commit hooks
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-02 20:02:26 -07:00
Carl George 8ea0e8e053 only require colorama on windows
Colorama is only useful on Windows by design.  Since it has no effect on
other platforms, it makes sense to not require it universally.

Signed-off-by: Carl George <carl@george.computer>
2017-07-27 14:07:19 -07:00
Joffrey F a7dae73aa3 1.16.0-dev
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:21:30 -07:00
Joffrey F f71293bb76 Bump 1.15.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:20:24 -07:00
Joffrey F d668fd1c67 Bump 1.15.0-rc1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:20:09 -07:00
Joffrey F 8102f02cfc 0 is a valid value for a published port
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:17:26 -07:00
Joffrey F 7abae9f536 Escape dollar sign in serialized config output
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:16:55 -07:00
Joffrey F 9502408ff0 Fix test issues with Engine 17.07 RC1
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 17:33:02 -07:00
Kirin Rastogi 103f7963c4 Add exclusion for networkname
Signed-off-by: Kirin Rastogi <kirin.Rastogi@avg.com>
Signed-off-by: Kirin Rastogi <rastogikirin@gmail.com>
2017-07-25 14:11:54 -07:00
Harald Albers b8719c4b11 Add bash completion for `pull --quiet`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-20 17:07:45 -07:00
Yong Wen Chua 1ecf51c209 Add `target` to service build configuration
Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
2017-07-20 17:06:59 -07:00
Yong Wen Chua 4a65008199 Add Compose v2.3
Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
2017-07-20 17:06:59 -07:00
Joffrey F 6ed507d865 Scripts build and push compose-tests image
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-20 16:39:03 -07:00
Joffrey F 6a4adb64f9 Some more test adjustments for Swarm support
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-20 16:39:03 -07:00
Joffrey F 8f0ef26a73 Improved version comparisons throughout the codebase
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-11 17:40:53 -07:00
Vadim Semenov e52f019ac8 Optimize "extends" without file specification
Loading the same config file add about 100ms per each extension
service, which results in painfully slow CLI calls when a config
consists of a couple of dozens of services.

This patch makes Compose re-use config files.

Signed-off-by: Vadim Semenov <protoss.player@gmail.com>
2017-07-11 16:40:57 -07:00
Joffrey F 36772b555c Code warning for the well-intentioned folks that keep wanting to change this
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 17:54:45 -07:00
Joffrey F d94fa5428e Make sure y/n values are quoted in serialized output
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 15:15:12 -07:00
Joffrey F abd395a5f3 Add 'socks' extra to help with proxy environment.
SOCKS support will be included in the bundled (binary) version

Update some packages in requirements.txt and add some implicit deps

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 15:14:52 -07:00
Joffrey F e33041582f Add "network" field to build configuration
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 12:17:46 -07:00
Joffrey F 55bd02f303 `scale` property should be merged according to standard scalar rules
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-05 13:10:50 -07:00
Joffrey F 2b7ed24bc0 Fix override volume merging + add acceptance test
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-03 17:24:32 -07:00
Andy Neff 2dd5c7d51a Change --volume behavior to add instead of replace mounts
Signed-off-by: Andy Neff <andrew.neff@visionsystemsinc.com>
2017-07-03 17:24:32 -07:00
Evan Shaw 9cdbb953ba Align status output for parallel_execute
Previously docker-compose would output lines that looked like:

    Starting service ... done
    Starting short ...
    Starting service-with-a-long-name ... done

It's difficult to scan down this output and get an idea of what's happening.

Now the statuses are aligned, and output looks like this:

    Starting service                  ... done
    Starting short                    ...
    Starting service-with-a-long-name ... done

To me, this is quite a bit easier to read.

Signed-off-by: Evan Shaw <evan@vendhq.com>
2017-07-03 16:24:07 -07:00
Joffrey F 259b96748c Add support for service:name pid config
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-03 16:15:20 -07:00
Evan Shaw 90e5d3447e 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-07-03 15:48:15 -07:00
Joffrey F 300b879d44 Bump docker Python SDK version -> 2.4.2
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-03 12:06:16 -07:00
Joffrey F 5c5a40c337 Add storage_opt to 2.2 schema
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-27 12:51:21 -07:00
Joffrey F 515526f0ff Ignore test failures in storage_opt test
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-27 12:51:21 -07:00
dinesh 4dd54b83e8 Add storage_opt in v2.1
Signed-off-by: dinesh <dineshpy07@gmail.com>
2017-06-27 12:51:21 -07:00
Joffrey F f2054f1a7d Fix ports sorting on Python 3
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-27 12:50:41 -07:00
Joffrey F c38eaeaba3 1.15.0dev
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-19 14:05:04 -07:00
Joffrey F f9bd31adad Bump 1.14.0
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-19 14:05:04 -07:00