Commit Graph

5621 Commits

Author SHA1 Message Date
Anca Iordache 391e5a6bc2 Add v3.8 schema support
- service scale bounded by 'max_replicas_per_node' field

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-07 13:50:06 +01:00
Ulysses Souza 13bacba2b9
Merge pull request #7202 from aiordache/devtool28_compose_docker_contexts
Implement docker contexts to target different docker engines
2020-02-07 13:35:23 +01:00
Anca Iordache 2dfd85e30e Use docker context interface from docker-py
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-06 12:01:37 +01:00
Ulysses Souza eb20915c6e
Merge pull request #7045 from ndeloof/command_suggest
Suggested command is invalid
2020-02-03 18:01:27 +01:00
Ulysses Souza 4d5a3fdf8f
Merge pull request #7211 from ulyssessouza/add-release-script
Add release validation and tagging script release.py
2020-02-03 17:55:50 +01:00
Ulysses Souza b5c4f4fc0f Add release validation and tagging script release.py
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-02-03 16:52:35 +01:00
Ulysses Souza d9af02eddf
Merge pull request #7199 from ulyssessouza/fix-exec-dotenv
Remove `None` entries on exec command
2020-01-31 10:47:53 +01:00
Ulysses Souza 9f5f8b4757 Remove `None` entries on execute command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-30 19:26:33 +01:00
Ulysses Souza 160b5c1755
Merge pull request #7197 from ulyssessouza/fix-mac-deployment-target
Force MacOS SDK version to "10.11"
2020-01-30 15:54:32 +01:00
Ulysses Souza b62722a3c5 Force MacOS SDK version to "10.11"
This is due to the fact that the new CI machines are on 10.14

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-29 17:11:00 +01:00
Ulysses Souza 73551d5a92
Merge pull request #7165 from hartwork/setup-py-add-missing-test-dependency-ddt
Add missing test dependency ddt to setup.py
2020-01-27 15:06:33 +01:00
Ulysses Souza 4c9d19cf5c
Merge pull request #7190 from docker/dependabot/pip/pytest-5.3.4
Bump pytest from 5.3.2 to 5.3.4
2020-01-27 14:58:56 +01:00
Ulysses Souza 409a9d8207
Merge pull request #7150 from ulyssessouza/add-python-dotenv
Add python-dotenv to delegate `.env` file processing
2020-01-27 14:48:41 +01:00
dependabot-preview[bot] 97b8bff14e
Bump pytest from 5.3.2 to 5.3.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.2 to 5.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.3.2...5.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 13:30:57 +00:00
Ulysses Souza 6d2658ea65 Add python-dotenv
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-27 13:50:34 +01:00
Ulysses Souza 4bf623d53d
Merge pull request #7163 from ndeloof/changelog
Compute changelog by searching previous tag .. even from a tag
2020-01-23 19:01:19 +01:00
Ulysses Souza ec0f8a8f7c
Merge pull request #7177 from docker/ndeloof-patch-1
Tag as `x.y.z` without `v` prefix
2020-01-23 18:59:52 +01:00
Ulysses Souza 8d5023e1ca Enforce Python37 in the creation of virtualenv
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-23 18:43:36 +01:00
Ulysses Souza be807a0be8
Merge pull request #7181 from chris-crone/bump-linux-python
Bump Linux and Python
2020-01-23 12:20:41 +01:00
Christopher Crone a259c48ae9 Bump Linux and Python
* Alpine 3.10 to 3.11
* Debian Stretch 20191118 to 20191224
* Python 3.7.5 to 3.7.6

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-01-23 11:30:26 +01:00
Nicolas De Loof a9c79bd5b1 Force sha256 file to be ASCII encoded
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-01-22 18:58:27 +01:00
Nicolas De loof 8ad480546f
Tag as `x.y.z` without `v` prefix
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

Close https://github.com/docker/compose/issues/7168
2020-01-22 13:55:24 +01:00
Sebastian Pipping 9887121c2c setup.py: Expose test dependencies as extra "tests"
Signed-off-by: Sebastian Pipping <sebastian@pipping.org>
2020-01-20 19:54:34 +01:00
Sebastian Pipping 1c28b5a5d0 setup.py: Add missing test depencendy ddt
Signed-off-by: Sebastian Pipping <sebastian@pipping.org>
2020-01-20 19:54:30 +01:00
Nicolas De Loof 84dad1a0e6
Compute changelog by searching previous tag .. even from a tag
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-01-20 16:18:02 +01:00
Ulysses Souza ebc56c5ade
Merge pull request #7133 from docker/jenkins
Automate release process
2020-01-20 15:23:59 +01:00
Ulysses Souza 6286beb321
Merge pull request #7152 from docker/bump-pyinstaller
Bump pyinstaller to 3.6
2020-01-17 18:33:24 +01:00
Ulysses Souza f0e5926ea7
Merge pull request #6950 from benthorner/master
Add "--attach-dependencies" to command "up" for attaching to dependencies
2020-01-16 18:10:25 +01:00
Ben Thorner a6b602d086 Support attaching to dependencies on up
When using the 'up' command, only services listed as arguments are
attached to, which can be very different to the 'no argument' case
if a service has many and deep dependencies:

   - It's not clear when dependencies have failed to start. Have to run
'compose ps' separately to find out.
   - It's not clear when dependencies are erroring. Have to run 'compose
logs' separately to find out.

With a simple setup, it's possible to work around theses issue by
using the 'up' command without arguments. But when there are lots of
'top-level' services, with common dependencies, in a single config,
using 'up' without arguments isn't practical due to resource limits
and the sheer volume of output from other services.

This introduces a new '--attach-dependencies' flag to optionally attach
dependent containers as part of the 'up' command. This makes their logs
visible in the output, alongside the listed services. It also means we
benefit from the '--abort-on-container-exit' behaviour when dependencies
fail to start, giving more visibility of the failure.

Signed-off-by: Ben Thorner <ben.thorner@digital.cabinet-office.gov.uk>
2020-01-16 13:41:54 +00:00
Ulysses Souza 387f5e4c96 Bump pyinstaller to 3.6
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-16 13:46:47 +01:00
yukihira1992 53d00f7677 Refactored mutable default values.
Signed-off-by: yukihira1992 <ykhr0130@gmail.com>
2020-01-15 11:16:24 +01:00
Christopher Crone a2cdffeeee Bump Linux dependencies
- Alpine 3.10.3
- Debian Stretch 20191118
- Python 3.7.5

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-01-15 10:54:57 +01:00
Christopher Crone a92a8eb508 Bump macOS dependencies
- Python 3.7.5
- OpenSSL 1.1.1d

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-01-15 10:54:57 +01:00
Ulysses Souza d1ef7c41aa
Merge pull request #7140 from docker/dependabot/pip/cached-property-1.5.1
Bump cached-property from 1.3.0 to 1.5.1
2020-01-14 19:50:31 +01:00
Ulysses Souza 78dc92246f
Merge pull request #7142 from docker/dependabot/pip/ipaddress-1.0.23
Bump ipaddress from 1.0.18 to 1.0.23
2020-01-14 18:51:15 +01:00
dependabot-preview[bot] dafece4ae5
Bump cached-property from 1.3.0 to 1.5.1
Bumps [cached-property](https://github.com/pydanny/cached-property) from 1.3.0 to 1.5.1.
- [Release notes](https://github.com/pydanny/cached-property/releases)
- [Changelog](https://github.com/pydanny/cached-property/blob/master/HISTORY.rst)
- [Commits](https://github.com/pydanny/cached-property/compare/1.3.0...1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 17:26:05 +00:00
Ulysses Souza f15e54ab1b
Merge pull request #7090 from docker/dependabot/pip/urllib3-1.25.7
Bump urllib3 from 1.24.2 to 1.25.7
2020-01-14 18:25:49 +01:00
Ulysses Souza 0e36e9f3eb
Merge pull request #7141 from docker/dependabot/pip/coverage-5.0.3
Bump coverage from 4.5.4 to 5.0.3
2020-01-14 18:25:20 +01:00
Ulysses Souza 71e166e3bd
Merge pull request #7139 from docker/dependabot/pip/certifi-2019.11.28
Bump certifi from 2017.4.17 to 2019.11.28
2020-01-14 18:24:58 +01:00
dependabot-preview[bot] 120a7b1b06
Bump ipaddress from 1.0.18 to 1.0.23
Bumps [ipaddress](https://github.com/phihag/ipaddress) from 1.0.18 to 1.0.23.
- [Release notes](https://github.com/phihag/ipaddress/releases)
- [Commits](https://github.com/phihag/ipaddress/compare/v1.0.18...v1.0.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 17:23:07 +00:00
Ulysses Souza 4b332453db
Merge pull request #7144 from docker/dependabot/pip/paramiko-2.7.1
Bump paramiko from 2.6.0 to 2.7.1
2020-01-14 18:21:39 +01:00
Ulysses Souza d87e19c14b
Merge pull request #7027 from kiniou/compatibility-option-from-env
Allow compatibility option with `COMPOSE_COMPATIBILITY` environment variable
2020-01-13 19:28:48 +01:00
Kevin Roy 093cc2c089
Allow setting compatibility options from environment
Signed-off-by: Kevin Roy <kiniou@gmail.com>
2020-01-13 14:53:03 +01:00
dependabot-preview[bot] 661afb4003
Bump paramiko from 2.6.0 to 2.7.1
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/paramiko/paramiko/releases)
- [Changelog](https://github.com/paramiko/paramiko/blob/master/NEWS)
- [Commits](https://github.com/paramiko/paramiko/compare/2.6.0...2.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 13:34:32 +00:00
dependabot-preview[bot] 2cdd2f626b
Bump coverage from 4.5.4 to 5.0.3
Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.0.3.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-4.5.4...coverage-5.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 13:33:13 +00:00
dependabot-preview[bot] 707a340304
Bump certifi from 2017.4.17 to 2019.11.28
Bumps [certifi](https://github.com/certifi/python-certifi) from 2017.4.17 to 2019.11.28.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2017.04.17...2019.11.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 13:32:31 +00:00
Ulysses Souza f1cfd93c8f
Merge pull request #7096 from docker/dependabot/pip/pytest-5.3.2
Bump pytest from 3.6.3 to 5.3.2
2020-01-10 17:47:09 +01:00
dependabot-preview[bot] 3ea84fd9bc
Bump pytest from 3.6.3 to 5.3.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 3.6.3 to 5.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.6.3...5.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 16:10:59 +00:00
Ulysses Souza 2cb1b4bd5b
Merge pull request #6873 from frenzymadness/pytest_compatibility
Bump Pytest and add refactor compatibility with new version
2020-01-10 17:09:33 +01:00
Lumir Balhar a436fb953c Remove indentation from test YAML
Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
2020-01-10 08:41:11 +01:00