aiordache
d96666881d
fix ssh key path
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-06 19:52:49 +02:00
aiordache
2c975c8f11
Update jenkins test pipeline
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-06 19:47:14 +02:00
aiordache
d6fe4bd064
remove ssh-client install from py3 Dockerfile
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-06 14:19:18 +02:00
aiordache
593d0c97d3
flake8 fixes
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-06 14:15:02 +02:00
aiordache
b72988bc87
Add SSH tests
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-05 16:05:58 +02:00
aiordache
dd8b9b7f10
Shell out to SSH client for an ssh connection
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-05 16:05:58 +02: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
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
Ulysses Souza
84857a896c
Add github supported CODEOWNERS file
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-15 15:33:04 +02:00
aiordache
ed46fb0143
Add release 4.3.1 information to changelog
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 17:55:36 +02:00
Anca Iordache
2b1c7eb724
Merge pull request #2650 from aiordache/default_version_auto
...
Set default version to 'auto'
2020-08-20 20:58:25 +02:00
Anca Iordache
f158888003
Merge pull request #2534 from HaaLeo/feature/openssh-identity-file
...
Support OpenSSH Identityfile option
2020-08-20 18:33:45 +02:00
aiordache
c7c5b551fc
set engine version for unit tests to avoid querying the engine
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-20 15:29:24 +02:00
aiordache
727080b3cc
set version to 'auto' to avoid breaking on old engine versions
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 14:19:29 +02:00
Yuval Goldberg
0dfae33ce8
Add file environment variable to integration-dind
...
Signed-off-by: Yuval Goldberg <yuvigoldi@hotmail.com>
2020-08-18 15:18:52 +02:00
Anca Iordache
2c522fb362
Fix memory conversion to bytes ( #2645 )
...
* Fix memory conversion to bytes
Co-authored-by: Ulysses Souza <ulysses.souza@gmail.com>
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-17 18:32:48 +02:00
Anca Iordache
30ff9f339c
Merge pull request #2638 from aiordache/release
...
Release 4.3.0
2020-08-10 19:35:01 +02:00
aiordache
5cdbbab3ee
Update version to the next dev version
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 19:21:44 +02:00
aiordache
9579b7ac0e
Fix changelog merge
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 19:16:52 +02:00
aiordache
8080fbb4ed
Fix merge
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 19:15:50 +02:00
aiordache
746a2509ab
Prepare release 4.3.0
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 19:15:50 +02:00
aiordache
3999707fb3
Make orchestrator field optional
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-10 19:15:50 +02:00
Ulysses Souza
2e274d00b3
Specify when to use `tls` on Context constructor
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-10 19:15:50 +02:00
Ulysses Souza
67b77f2fa3
Post release 4.2.0 update:
...
- Changelog
- Next Version
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-08-10 19:15:46 +02:00
Anca Iordache
087b3f0a49
Implement context management, lifecycle and unittests.
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-08-10 19:14:00 +02:00
Till Riedel
fcd0093050
obey Hostname Username Port and ProxyCommand settings from .ssh/config
...
Signed-off-by: Till Riedel <riedel@teco.edu>
2020-08-10 19:14:00 +02:00
Till Riedel
70cdb08f9a
set logging level of paramiko to warn
...
Signed-off-by: Till Riedel <riedel@teco.edu>
2020-08-10 19:14:00 +02:00
Sebastiaan van Stijn
0be75d54ca
Update credentials-helpers to v0.6.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-10 19:14:00 +02:00
Sebastiaan van Stijn
b4beaaac8c
Update default API version to v1.39 ( #2512 )
...
* Update default API version to v1.39
When running the docker-py integration tests in the Moby repository, some
tests were skipped because the API version used was too low:
SKIPPED [1] tests/integration/api_service_test.py:882: API version is too low (< 1.38)
SKIPPED [1] tests/integration/api_swarm_test.py:59: API version is too low (< 1.39)
SKIPPED [1] tests/integration/api_swarm_test.py:38: API version is too low (< 1.39)
SKIPPED [1] tests/integration/api_swarm_test.py:45: API version is too low (< 1.39)
SKIPPED [1] tests/integration/api_swarm_test.py:52: API version is too low (< 1.39)
While it's possible to override the API version to use for testing
using the `DOCKER_TEST_API_VERSION` environment variable, we may want
to set the default to a version that supports all features that were
added.
This patch updates the default API version to v1.39, which is the minimum
version required for those features, and corresponds with Docker 18.09.
Note that the API version of the current (19.03) Docker release is v1.40,
but using that version as default would exclude users that did not update
their Docker version yet (and would not be needed yet for the features provided).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Makefile: set DOCKER_TEST_API_VERSION to v1.39
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-07 16:45:20 +02:00
Anca Iordache
cceae0c384
Merge pull request #2572 from scop/tlsconfig-error-messages
...
Fix parameter names in TLSConfig error messages
2020-08-07 15:14:39 +02:00
Anca Iordache
6367bbee2e
Merge pull request #2520 from Nicceboy/master
...
Disable compression by default when using container:get_archive method
2020-08-07 14:42:58 +02:00
Anca Iordache
62afadc13b
Merge pull request #2584 from thaJeztah/bump_engine
...
Update test engine version to 19.03.12
2020-08-07 14:34:06 +02:00
Ville Skyttä
631abd156a
Spelling fixes ( #2571 )
...
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2020-08-07 14:33:19 +02:00
Lucidiot
dd0450a14c
Add device requests ( #2471 )
...
* Add DeviceRequest type
Signed-off-by: Erwan Rouchet <rouchet@teklia.com>
* Add device_requests kwarg in host config
Signed-off-by: Erwan Rouchet <rouchet@teklia.com>
* Add unit test for device requests
Signed-off-by: Erwan Rouchet <rouchet@teklia.com>
* Fix unit test
Signed-off-by: Erwan Rouchet <rouchet@teklia.com>
* Use parentheses for multiline import
Signed-off-by: Erwan Rouchet <rouchet@teklia.com>
* Create 1.40 client for device-requests test
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
Co-authored-by: Laurie O <laurie_opperman@hotmail.com>
Co-authored-by: Bastien Abadie <abadie@teklia.com>
2020-08-07 13:58:35 +02:00
Sebastiaan van Stijn
26d8045ffa
Fix CreateContainerTest.test_invalid_log_driver_raises_exception
...
This test was updated in 7d92fbdee1
, but
omitted the "error" prefix in the message, causing the test to fail;
_________ CreateContainerTest.test_invalid_log_driver_raises_exception _________
tests/integration/api_container_test.py:293: in test_invalid_log_driver_raises_exception
assert excinfo.value.explanation in expected_msgs
E AssertionError: assert 'error looking up logging plugin asdf: plugin "asdf" not found' in ["logger: no log driver named 'asdf' is registered", 'looking up logging plugin asdf: plugin "asdf" not found']
E + where 'error looking up logging plugin asdf: plugin "asdf" not found' = APIError(HTTPError('400 Client Error: Bad Request for url: http+docker://localhost/v1.39/containers/create')).explanation
E + where APIError(HTTPError('400 Client Error: Bad Request for url: http+docker://localhost/v1.39/containers/create')) = <ExceptionInfo APIError tblen=6>.value
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-17 15:59:12 +02:00
Ofek Lev
c65d437843
Upgrade Windows dependency
...
Signed-off-by: Ofek Lev <ofekmeister@gmail.com>
2020-07-07 08:43:02 +02:00
Ulysses Souza
74a0734d37
Merge pull request #2551 from haboustak/2550-add-driveropts-to-endpointconfig
...
Add support for DriverOpts in EndpointConfig
2020-07-02 10:51:35 +02:00
Ulysses Souza
d3adac9027
Merge pull request #2609 from ulyssessouza/post-release
...
Post release 4.2.2
2020-07-01 15:09:42 +02:00
Ulysses Souza
6d9847838a
Update version to 4.3.0-dev
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-30 18:30:49 +02:00
Ulysses Souza
e18a64b630
Bump 4.2.2
...
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2020-06-30 18:25:58 +02:00
Sebastiaan van Stijn
2c68b382a8
Update test engine version to 19.03.12
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-30 17:57:36 +02:00
Ulysses Souza
26a7f85af7
Merge remote-tracking branch 'upstream/master'
2020-06-30 17:17:05 +02:00
Ulysses Souza
0a248c0906
Merge pull request #2602 from aiordache/fix_context_meta_load
...
Fix context load for non-docker endpoints
2020-06-30 17:16:10 +02:00
aiordache
309ce44052
Skip parsing non-docker endpoints
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-06-26 18:21:35 +02:00
Ulysses Souza
5efe28149a
Merge pull request #2585 from thaJeztah/better_worker_selection
...
Jenkinsfile: update node selection labels
2020-06-03 11:14:49 +02:00
Sebastiaan van Stijn
fefa96cd0e
Jenkinsfile: update node selection labels
...
Make sure we use the LTS nodes, to prevent using machines that
we prepared with cgroups v2 (which is not yet supported by docker v19.03)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-03 10:43:42 +02:00
Ulysses Souza
b49d22f053
Merge pull request #2583 from ulyssessouza/post-release-4.2.1
...
Post release 4.2.1
2020-06-02 17:25:24 +02:00
Ulysses Souza
57a8a0c561
Update version after 4.2.1 release
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-02 16:59:17 +02:00
Ulysses Souza
525ff592ee
Bump 4.2.1
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-02 16:43:27 +02:00