Commit Graph

3132 Commits

Author SHA1 Message Date
aiordache 98eadb9f98 Release 4.4.2
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 16:08:12 +01:00
aiordache 93e02ab207 Revert "Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service"
This reverts commit b701d5c999.
2021-02-15 15:49:01 +01:00
aiordache aa2ea7f7d5 Revert "Support for docker.types.Placement.MaxReplicas (new in API 1.40) in Docker Swarm Service"
This reverts commit 92e0e9c30d.
2021-02-15 15:48:57 +01:00
aiordache 0e82a7723f Revert "Unit and integration tests added"
This reverts commit ade4a52073.
2021-02-15 15:48:51 +01:00
Vlad Romanenko 672db57151 Fix doc formatting
Signed-off-by: Vlad Romanenko <vlad.romanenko@hotmail.com>
2021-02-15 15:44:29 +01:00
aiordache 50af8c8b01 Run unit tests in a container with no .docker/config mount
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Stefan Scherer e7bdfe64b7 Use DOCKER_CONFIG to have creds in dind environment
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-15 15:44:29 +01:00
Stefan Scherer 94f9627eb7 Revert back to wrappedNode
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-15 15:44:29 +01:00
Stefan Scherer d7b6861e84 Remove wrappedNode
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-15 15:44:29 +01:00
WojciechowskiPiotr ade4a52073 Unit and integration tests added
Signed-off-by: WojciechowskiPiotr <devel@it-playground.pl>
2021-02-15 15:44:29 +01:00
WojciechowskiPiotr 92e0e9c30d 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-15 15:44:29 +01:00
Piotr Wojciechowski b701d5c999 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-15 15:44:29 +01:00
aiordache 3679ffcca8 Bump cffi to 1.14.4
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
aiordache 360be5987d Update GH action step
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Stefan Scherer 26a8b5fc21 Update CI to ubuntu-2004
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-02-15 15:44:29 +01:00
Christian Clauss 285d1a3de4 GitHub Actions: Upgrade actions/checkout
https://github.com/actions/checkout/releases
Signed-off-by: Christian Clauss <cclauss@me.com>
2021-02-15 15:44:29 +01:00
aiordache 8def46c01e Fix host trimming and remove quiet flag for the ssh connection
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Christian Clauss 3e62517c61 setup.py: Add support for Python 3.8 and 3.9
Signed-off-by: Christian Clauss <cclauss@me.com>
2021-02-15 15:44:29 +01:00
Christian Clauss dd1d572b4f print() is a function in Python 3
Like #2740 but for the docs

Signed-off-by: Christian Clauss <cclauss@me.com>
2021-02-15 15:44:29 +01:00
aiordache c4775504a6 Update base image to `dockerpinata/docker-py` in Jenkinsfile
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Christian Clauss 654e2d665c print() is a function in Python 3
Signed-off-by: Christian Clauss <cclauss@me.com>
2021-02-15 15:44:29 +01:00
Ulysses Souza 4ebeb36b46 Post 4.4.1 release
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 15:44:29 +01:00
Ulysses Souza 7f717753e9 Prepare release 4.4.1
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 15:44:29 +01:00
aiordache a13b72ae01 Avoid setting unsuported parameter for subprocess.Popen on Windows
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Ulysses Souza ca3d5feb67 Trigger GHA on pull_request
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 15:44:29 +01:00
aiordache e61b2aabf0 Post-release v4.4.0
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Ulysses Souza fb507738f3 Remove travis
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 15:44:29 +01:00
Ulysses Souza f915eef46f Add Github Actions
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 15:44:29 +01:00
Sebastiaan van Stijn 4f299822fd 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>
2021-02-15 15:44:29 +01:00
aiordache da26073c75 Mount docker config to DIND containers for authentication
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
aiordache c5022e1491 Update Jenkinsfile with docker registry credentials
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
aiordache 6e47f7ccf7 Syntax warning fix
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
aiordache 597f1a27b4 Fix docs typo
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
aiordache f18c038b9f Fix ssh connection - don't override the host and port of the http pool
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-15 15:44:29 +01:00
Daeseok Youn f464d9a430 Correct comments on ports_binding and host mode as network_mode
Signed-off-by: Daeseok Youn <daeseok.youn@navercorp.com>
2021-02-15 15:44:29 +01:00
Daeseok Youn 3a8565029b 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>
2021-02-15 15:44:29 +01:00
Mariano Scazzariello 817023f9ed 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>
2021-02-15 15:44:29 +01:00
fengbaolong 9f5e35f5fe fix docker build error when dockerfile contains unicode character.
if dockerfile contains unicode character,len(contents) will return character length,this length will less than len(contents_encoded) length,so contants data will be truncated.

Signed-off-by: fengbaolong <fengbaolong@hotmail.com>
2021-02-15 15:44:29 +01:00
dependabot[bot] d0467badfb 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>
2021-02-15 15:44:29 +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
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
Ian Fijolek 910cc12423 Fix plugin model upgrade
When upgrading a plugin via the model interface, it would yield the
following error:

    AttributeError: 'Plugin' object has no attribute '_reload'

It appears that the proper method is `self.reload()`. This is what is
used by all other methods in the class and base. I'm not finding any
references to `_reload` apart from this instance in the project either.

I've verified that this patch fixes the issue on my machine and all
tests pass.

Signed-off-by: Ian Fijolek <ian@iamthefij.com>
2020-10-09 18:29:26 -07:00
Anca Iordache 9d8cd023e8
Merge pull request #2673 from ulyssessouza/remove-tinyurl-link
Fix url of examples in ulimits
2020-09-28 11:14:27 +02:00
aiordache aed5700985 update `pull` method docs
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-21 10:23:29 +02:00
Ulysses Souza ea093a75dd Fix url of examples in ulimits
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-17 17:09:14 +02:00
Anca Iordache ff44e7e375
Merge pull request #2670 from ulyssessouza/add-github-maintainers
Add github supported CODEOWNERS file
2020-09-17 16:54:30 +02:00