5924 Commits

Author SHA1 Message Date
Anca Iordache
b04d4e5897
Merge pull request #7715 from ulyssessouza/add-anca-to-maintainers
Add Anca to Maintainers
2020-09-01 10:48:38 +02:00
Anca Iordache
c2be70a108
Merge pull request #7714 from ulyssessouza/fix-stderr-returncode
Rely on returncode to check for errors instead of stderr content.
2020-09-01 09:56:39 +02:00
Ulysses Souza
3b17b3c2c0 Fix stderr on returncode is different of 0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-31 22:20:26 +02:00
Ulysses Souza
827c68fe6f Fix bump of docker-py on setup.py
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-31 21:55:56 +02:00
Ulysses Souza
9ee6b17d9c Add Anca to Maintainers
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-31 21:40:11 +02:00
dependabot-preview[bot]
e9b93d706f Bump attrs from 19.3.0 to 20.1.0
Bumps [attrs](https://github.com/python-attrs/attrs) from 19.3.0 to 20.1.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/python-attrs/attrs/compare/19.3.0...20.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 10:54:28 +02:00
dependabot-preview[bot]
da0e183052 Bump pytest-cov from 2.10.0 to 2.10.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...v2.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 10:52:54 +02:00
Erfan Gholamian
76963e44ad Added integration test for build error when building with docker cli
Signed-off-by: Erfan Gholamian <egholamian2@gmail.com>
2020-08-21 20:52:56 +02:00
Erfan Gholamian
76c92b01d4 Check stderr when building with docker cli.
Signed-off-by: Erfan Gholamian <egholamian2@gmail.com>
2020-08-21 20:52:56 +02:00
Ulysses Souza
dff3ce28f4 Fix flake8
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-21 19:25:24 +02:00
Anca Iordache
099be62a9c
Merge pull request #7696 from ulyssessouza/fix-api-version-test
Update API version for docker client
2020-08-21 18:13:12 +02:00
Ulysses Souza
c447ff8c2c Update API version for docker client
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-21 18:11:27 +02:00
Anca Iordache
589179a0e1
Merge pull request #7694 from ulyssessouza/fix-docker-api-version-unit-tests
Update tests to use the version on docker client
2020-08-21 17:02:56 +02:00
Ulysses Souza
5bbd670166 Update tests to use the version on docker client
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-21 16:42:00 +02:00
aiordache
81ce72c952 Use docker-py's default api version for engine queries
Bump docker-py version to 4.3.1

Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-21 13:25:59 +02:00
Anca Iordache
c3f26bf511
Merge pull request #7689 from ulyssessouza/parse_build_cli_network-mode
Parse network-mode on CLI build
2020-08-20 18:29:54 +02:00
Ulysses Souza
6cebde77fb Parse network-mode on CLI build
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-19 22:32:25 +02:00
Anca Iordache
25d773c924
Merge pull request #7676 from aiordache/fix_deploy_parsing
Update schema and fix scale parsing
2020-08-18 14:34:25 +02:00
aiordache
2b4d409ac3 Update schema and fix memory limit parsing
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-17 20:08:06 +02:00
aiordache
d773719060 set scale default to 1 on deploy
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-17 11:59:23 +02:00
Ryosuke TOKUAMI
35f1334cbd Use docker cli on run when the envvar passed.
Make docker-compose run pass the the cli option
to project.up to build images using docker cli
considering COMPOSE_DOCKER_CLI_BUILD environment
variable.

Signed-off-by: Ryosuke TOKUAMI <mail@pokutuna.com>
2020-08-12 15:42:37 +02:00
aiordache
096d938bac Update jenkins node filter
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-11 20:50:12 +02:00
aiordache
f3928aac7e Set agent in Release.Jenkinsfile
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-11 19:25:47 +02:00
aiordache
c90ba119f5 Fix tox failures
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-11 17:24:37 +02:00
ulyssessouza
7009370bf2 Recover ./script/release/release.py
Signed-off-by: ulyssessouza <ulysses.souza@docker.com>
2020-08-11 16:48:23 +02:00
Anca Iordache
c13c5a70cf
Merge pull request #7660 from docker/dependabot/pip/cffi-1.14.1
Bump cffi from 1.14.0 to 1.14.1
2020-08-11 15:26:11 +02:00
Anca Iordache
6166a40f7c
Merge pull request #7661 from docker/dependabot/pip/urllib3-1.25.10
Bump urllib3 from 1.25.9 to 1.25.10
2020-08-11 15:25:44 +02:00
dependabot-preview[bot]
454f5125d9
Bump cffi from 1.14.0 to 1.14.1
Bumps [cffi](https://github.com/python-cffi/release-doc) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/python-cffi/release-doc/releases)
- [Commits](https://github.com/python-cffi/release-doc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 13:08:20 +00:00
Anca Iordache
e0e7127361
Merge pull request #7658 from docker/dependabot/pip/pytest-6.0.1
Bump pytest from 5.4.3 to 6.0.1
2020-08-11 15:07:05 +02:00
Anca Iordache
6e8ac34c32
Merge pull request #7659 from docker/dependabot/pip/cryptography-3.0
Bump cryptography from 2.9.2 to 3.0
2020-08-11 15:06:07 +02:00
dependabot-preview[bot]
f2a43d755e
Bump virtualenv from 20.0.29 to 20.0.30 (#7657)
* Bump virtualenv from 20.0.29 to 20.0.30

Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.0.29 to 20.0.30.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/master/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.0.29...20.0.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump virtualenv version in all files

Signed-off-by: aiordache <anca.iordache@docker.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: aiordache <anca.iordache@docker.com>
Co-authored-by: Anca Iordache <aiordache@users.noreply.github.com>
2020-08-11 15:04:11 +02:00
Anca Iordache
b01601a53c
Merge pull request #7294 from alexrecuenco/remove-python2-1.26goal
Clean up python2 style code
2020-08-11 14:19:28 +02:00
Anca Iordache
53965e65b7
Merge pull request #7662 from docker/dependabot/pip/tox-3.19.0
Bump tox version to 3.19.0 in Dockerfile
2020-08-11 13:29:53 +02:00
alexrecuenco
46624cee75 Suggestions by @ulyssessouza
Removed unused versions, (we only support python3.4 onwards)

Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
2020-08-11 17:45:13 +07:00
alexrecuenco
4d3d9f64b9 Removed Python2 support
Closes: #6890

Some remarks,

- `# coding ... utf-8` statements are not needed
- isdigit on strings instead of a try-catch.
- Default opening mode is read, so we can do `open()` without the `'r'` everywhere
- Removed inheritinng from `object` class, it isn't necessary in python3.
- `super(ClassName, self)` can now be replaced with `super()`
- Use of itertools and `chain` on a couple places dealing with sets.
- Used the operator module instead of lambdas when warranted
    `itemgetter(0)` instead of `lambda x: x[0]`
    `attrgetter('name')` instead of `lambda x: x.name`
- `sorted` returns a list, so no need to use `list(sorted(...))`
- Removed `dict()` using dictionary comprehensions whenever possible
- Attempted to remove python3.2 support

Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
2020-08-11 17:45:13 +07:00
aiordache
5c47805dc3 Bump tox version to 3.19.0 in Dockerfile
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-11 12:37:53 +02:00
Anca Iordache
32a5ea5ac8
Merge pull request #7655 from docker/dependabot/pip/tox-3.19.0
Bump tox from 3.18.1 to 3.19.0
2020-08-11 12:29:33 +02:00
Anca Iordache
ded891cadf
Merge pull request #7654 from docker/dependabot/pip/docker-4.3.0
Bump docker from 4.2.2 to 4.3.0
2020-08-11 12:28:38 +02:00
dependabot-preview[bot]
095e297dcb
Bump urllib3 from 1.25.9 to 1.25.10
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.9 to 1.25.10.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.9...1.25.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:28:34 +00:00
dependabot-preview[bot]
e5edc78739
Bump cryptography from 2.9.2 to 3.0
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.9.2 to 3.0.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.9.2...3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:27:50 +00:00
dependabot-preview[bot]
95abc7f815
Bump pytest from 5.4.3 to 6.0.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.1.
- [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.4.3...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:27:28 +00:00
dependabot-preview[bot]
112d4cd7e7
Bump tox from 3.18.1 to 3.19.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.1 to 3.19.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.18.1...3.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:26:25 +00:00
dependabot-preview[bot]
f8dd8e8287
Bump docker from 4.2.2 to 4.3.0
Bumps [docker](https://github.com/docker/docker-py) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/docker/docker-py/releases)
- [Commits](https://github.com/docker/docker-py/compare/4.2.2...4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:26:02 +00:00
Anca Iordache
79d6e122fd
Merge pull request #7651 from aiordache/cleanup_version_only
Cleanup after v2-v3 schema merge
2020-08-10 11:26:20 +02:00
Vitor Anjos
de1afd977d Fix typo
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
2020-08-10 10:32:45 +02:00
Vitor Anjos
17b41b27a8 Ignore build context path validation when it is not necessary
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
2020-08-10 10:32:45 +02:00
aiordache
7322dee672 Cleanup v*_only test decorators
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 10:30:41 +02:00
Anca Iordache
b23eb2deab
Merge pull request #7417 from EricHripko/ipc-service
[Compose Spec] Implement service mode for ipc
2020-08-10 10:14:43 +02:00
Eric Hripko
a8511e0884 Remove the now unneeded version qualifier
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-07 14:46:17 +01:00
Eric Hripko
efb5601323 Implement service mode for ipc
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-07 14:43:46 +01:00