Commit Graph

3188 Commits

Author SHA1 Message Date
Stefan Scherer 9556b890f9
Remove wrappedNode
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-10 16:57:30 +01:00
Anca Iordache caef663729
Merge pull request #2741 from WojciechowskiPiotr/maxreplicas
Support for docker.types.Placement.MaxReplicas
2021-02-10 14:54:55 +01:00
aiordache ccab78840e Bump cffi to 1.14.4
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-10 10:35:55 -03:00
aiordache f520b4c4eb Update GH action step
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-10 10:35:55 -03:00
WojciechowskiPiotr 6d1dffe3e5 Unit and integration tests added
Signed-off-by: WojciechowskiPiotr <devel@it-playground.pl>
2021-02-09 21:37:26 +01:00
Anca Iordache a653052276
Merge pull request #2759 from StefanScherer/ubuntu-2004
Update CI to ubuntu-2004
2021-02-09 20:54:21 +01:00
Stefan Scherer 9e007469ef
Update CI to ubuntu-2004
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-09 20:39:54 +01:00
Christian Clauss da32a2f1a2 GitHub Actions: Upgrade actions/checkout
https://github.com/actions/checkout/releases
Signed-off-by: Christian Clauss <cclauss@me.com>
2021-02-09 16:10:42 -03:00
WojciechowskiPiotr 514f98a0d6 Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service
Signed-off-by: WojciechowskiPiotr <devel@it-playground.pl>
2021-02-09 19:45:52 +01:00
Anca Iordache d7b16ef0fb
Merge pull request #2755 from aiordache/fix_ssh_bug
Fix host trimming and remove quiet flag for the ssh connection
2021-02-09 18:26:44 +01:00
Anca Iordache 78f5249ed0
Merge pull request #2739 from cclauss/setup.py-py38-py39
setup.py: Add support for Python 3.8 and 3.9
2021-02-09 18:21:55 +01:00
Anca Iordache 8615a61bd1
Merge pull request #2743 from cclauss/patch-2
print() is a function in Python 3
2021-02-09 15:18:12 +01:00
aiordache caab390696 Fix host trimming and remove quiet flag for the ssh connection
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-09 10:17:00 +01:00
Anca Iordache f0517f842b
Merge pull request #2754 from aiordache/update_Jenkins_setup
Set the base image to `dockerpinata/docker-py` in Jenkinsfile
2021-02-08 20:35:58 +01:00
aiordache 0edea80c41 Update base image to `dockerpinata/docker-py` in Jenkinsfile
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 20:04:14 +01:00
Christian Clauss 10ff403079 print() is a function in Python 3
Like #2740 but for the docs

Signed-off-by: Christian Clauss <cclauss@me.com>
2020-12-28 19:14:55 +01:00
Christian Clauss ce2669e3ed print() is a function in Python 3
Signed-off-by: Christian Clauss <cclauss@me.com>
2020-12-28 17:26:25 +00:00
Piotr Wojciechowski f0ab0ed25d Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service
Signed-off-by: WojciechowskiPiotr <devel@it-playground.pl>
2020-12-25 16:39:44 +01:00
Christian Clauss 2426a5ffd5 setup.py: Add support for Python 3.8 and 3.9
Signed-off-by: Christian Clauss <cclauss@me.com>
2020-12-24 15:14:05 +01:00
Ulysses Souza b72926b382 Post 4.4.1 release
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-12-22 20:53:42 +00:00
Ulysses Souza 2f3e0f9fc4 Prepare release 4.4.1
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-12-22 20:37:46 +00:00
aiordache 3ec7fee736 Avoid setting unsuported parameter for subprocess.Popen on Windows
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-12-18 18:00:07 +00:00
Ulysses Souza 4757eea80c Trigger GHA on pull_request
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-12-18 14:53:55 +00:00
Anca Iordache f1af005eca
Merge pull request #2707 from aiordache/after_release
Post-release 4.4.0
2020-12-18 15:42:48 +01:00
Ulysses Souza ab0d65e2e0 Remove travis
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-12-18 14:39:40 +00:00
Ulysses Souza d8bbbf2351 Add Github Actions
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-12-18 14:39:40 +00:00
Sebastiaan van Stijn 1757c974fa docker/api/image: replace use of deprecated "filter" argument
The "filter" argument was deprecated in docker 1.13 (API version 1.25),
and removed from API v1.41 and up. See https://github.com/docker/cli/blob/v20.10.0-rc1/docs/deprecated.md#filter-param-for-imagesjson-endpoint

This patch applies the name as "reference" filter, instead of "filter" for API
1.25 and up.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-11-26 17:07:27 +00:00
aiordache 990ef4904c Post-release v4.4.0
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-23 13:16:23 +01:00
Anca Iordache 4328197660
Merge pull request #2705 from aiordache/jenkins_dockerhub_creds
Update Jenkinsfile with docker registry credentials
2020-11-20 09:54:51 +01:00
aiordache c854aba15e Mount docker config to DIND containers for authentication
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-19 19:33:24 +01:00
aiordache 260114229a Update Jenkinsfile with docker registry credentials
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-19 18:51:59 +01:00
Anca Iordache 5b471d4482
Merge pull request #2704 from aiordache/cleanup
Fix condition to avoid syntax warning
2020-11-19 18:18:09 +01:00
aiordache a0c51be228 Syntax warning fix
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-19 15:38:26 +01:00
Anca Iordache 27e3fa3e2e
Merge pull request #2703 from aiordache/cleanup_before_release
Fix docs typo and `port_bindings` check
2020-11-19 09:53:39 +01:00
aiordache db9af44e5b Fix docs typo
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-18 19:00:27 +01:00
Anca Iordache d83a2ad51b
Merge pull request #2691 from aiordache/fix_ssh_conn
Fix the connection via ssh client shellout
2020-11-18 15:55:25 +01:00
aiordache f5531a94e1 Fix ssh connection - don't override the host and port of the http pool
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-11-18 14:44:24 +01:00
Guillaume Tardif 6da140e26c
Merge pull request #2511 from daeseokyoun/handle-network-host
raise an error for binding specific ports in 'host' mode of network
2020-11-17 16:01:16 +01:00
Mariano Scazzariello bb1c528ab3
Add max_pool_size parameter (#2699)
* Add max_pool_size parameter

Signed-off-by: Mariano Scazzariello <marianoscazzariello@gmail.com>

* Add client version to tests

Signed-off-by: Mariano Scazzariello <marianoscazzariello@gmail.com>

* Fix parameter position

Signed-off-by: Mariano Scazzariello <marianoscazzariello@gmail.com>
2020-11-17 15:42:36 +01:00
Daeseok Youn 433264d04b Correct comments on ports_binding and host mode as network_mode
Signed-off-by: Daeseok Youn <daeseok.youn@navercorp.com>
2020-11-17 21:27:15 +09:00
Daeseok Youn 9c53024ead raise an error for binding specific ports in 'host' mode of network
The binding ports are ignored where the network mode is 'host'.
It could be a problem in case of using these options together on
Mac or Windows OS. Because the limitation that could not use
the 'host' in network_mode on Mac and Windows. When 'host' mode
is set on network_mode, the specific ports in 'ports' are ignored
 so the network is not able to be accessed through defined ports
by developer.

Signed-off-by: Daeseok Youn <daeseok.youn@navercorp.com>
2020-11-17 21:26:55 +09:00
Anca Iordache 800222268a
Merge pull request #2553 from fengbaolong/fix-unicode-in-dockerfile
fix docker build error when dockerfile contains unicode character.
2020-11-16 17:44:09 +01:00
Anca Iordache 8c893dd9c4
Merge pull request #2694 from docker/dependabot/pip/cryptography-3.2
Bump cryptography from 2.3 to 3.2
2020-11-16 16:48:19 +01:00
Anca Iordache 5b60bba104
Merge pull request #2642 from YuviGold/feature/api-server-error-message-url
Add response url to Server Error and Client Error messages
2020-11-16 15:50:04 +01:00
dependabot[bot] 93bcc0497d
Bump cryptography from 2.3 to 3.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.3 to 3.2.
- [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.3...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 21:18:15 +00:00
Yuval Goldberg 3766f77c20 Add response url to Server Error and Client Error messages
Signed-off-by: Yuval Goldberg <yuvigoldi@hotmail.com>
2020-10-17 03:43:11 +03:00
Anca Iordache 2c6ef9b11d
Merge pull request #2687 from IamTheFij/fix-model-plugin-upgrade-reload
Fix plugin model upgrade
2020-10-16 11:37:36 +02:00
Anca Iordache daa9f179c3
Merge pull request #2671 from aiordache/default_tag
Set image default tag on pull
2020-10-16 11:35:16 +02:00
Anca Iordache e09b070575
Merge pull request #2680 from aiordache/replace_paramiko
Shell out to local SSH client as alternative to a paramiko connection
2020-10-16 11:34:00 +02:00
aiordache 180414dcbb Shell out to SSH client for an ssh connection
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-13 10:42:38 +02:00