Joffrey F
7d5c1efbbe
Fix unit tests
2015-03-05 12:16:53 -08:00
Joffrey F
acfa99dd10
Auto-detect integration tests
2015-03-05 12:08:41 -08:00
Tomas Tomecek
3e0496cc16
detect server version when version="auto"
...
heavily inspired by PR#281
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2015-03-05 08:53:29 +01:00
Roman Mohr
a86bfffd89
Properly close files and sockets in unit tests
2015-02-28 21:03:15 +01:00
Joffrey F
39ee5981b4
Merge pull request #502 from cpuguy83/498_dockerignore_special_names
...
Add special cases for .dockerignore
2015-02-27 11:56:19 -08:00
Joffrey F
91985b2397
Merge pull request #509 from docker/lxc_driver_test_compat
...
Lxc driver test compat
2015-02-27 11:48:36 -08:00
Joffrey F
0fae821350
Merge pull request #508 from docker/de-i11003
...
Rename test fix to take into account docker/docker#11003
2015-02-27 11:47:57 -08:00
Aanand Prasad
b1a858a14d
Update resolve_authconfig to bring it in line with Docker client
...
Instead of expanding the registry name we're looking for to a full URL,
strip entries in the authconfig down to just the hostname.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-02-27 13:10:20 +00:00
Joffrey F
8d2b71fa7e
I suck at python
2015-02-26 17:54:19 -08:00
Joffrey F
e255c10f57
Ensure integration tests work with LXC exec driver
2015-02-26 17:39:44 -08:00
Joffrey F
21cc9916fd
Rename test fix to take into account docker/docker#11003
2015-02-26 17:16:36 -08:00
Brian Goff
ce40730b42
Add special cases for .dockerignore
...
Fixes #498
Allowing `Dockerfile` and `.dockerignore` in the exclusion filter
completely breaks the build on docker < 1.5
In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any `ADD`, `COPY`, and cache
validation.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-02-24 15:48:51 -05:00
Daniel Nephin
0713488fac
Resolves #497 - add support for dockerfile
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2015-02-20 21:20:21 -05:00
Tianon Gravi
7f49cf1279
Fix several DOCKER_HOST assumptions in integration_test.py
2015-02-16 16:42:34 -07:00
Joffrey F
7084802da2
Fix pep8 error
2015-02-16 10:56:08 -08:00
Joffrey F
c02f0ab723
Formatting
2015-02-12 15:54:16 -08:00
Joffrey F
1a7e3a2d6d
Merge branch 'add-stats-api-support' of https://github.com/nir0s/docker-py into nir0s-add-stats-api-support
2015-02-12 13:15:59 -08:00
nir0s
c50795a08a
minor
2015-02-12 10:01:42 +02:00
nir0s
52702f7da0
removed aggregation for now and added a unit test. also using stream_helper now
2015-02-12 09:48:33 +02:00
Joffrey F
cab37b604a
pid_mode integration tests
2015-02-11 12:16:36 -08:00
nir0s
f402af551d
added initial support for stats retrieval
2015-02-11 22:04:32 +02:00
Joffrey F
22dd8d78ea
Merge pull request #480 from ggtools/events
...
Add missing options to the events command
2015-02-11 11:13:52 -08:00
Christophe Labouisse
53b1bb41ac
Fix datetime issue with Python 2.6
...
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:25:59 +01:00
Christophe Labouisse
a07bd28077
Add missing options to the events command
...
- Add since, until and filters parameters to `Client.events`
- Add missing `events`command in the documentation
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:25:59 +01:00
Joffrey F
e379e8ae24
read_only parameter
2015-02-10 16:13:09 -08:00
Joffrey F
d0512028be
Merge pull request #482 from docker/rename_container
...
New Client.rename() method
2015-02-10 13:56:29 -08:00
Joffrey F
a7f7fbb0fd
rename() tests and docs
2015-02-10 12:55:44 -08:00
Vincent Giersch
f3717f5815
Fix crash when building from remote sources
...
Avoid crashing when the Docker python client is able to load
registry credentials when building using a remote source
Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
2015-02-04 16:26:55 +00:00
Joffrey F
40770878ad
Additional tests and small improvement to auth.resolve_authconfig
2015-02-01 15:36:56 -08:00
James Harris
301515ed56
Add Support for Mac Address
...
The new docker api allows specifing mac address for containers. This change is to allow docker py the same functionality.
Signed-off-by: James Harris <james@rancher.com>
2015-01-21 16:08:16 -07:00
Joffrey F
aa19d7b660
Fixed TestRestartingContainer
2015-01-13 10:32:28 -08:00
Joffrey F
1f8cde8560
Integration tests fixes
2015-01-09 14:22:55 -08:00
Joffrey F
43c334656b
Added RO volumes tests
2015-01-08 18:02:03 -08:00
Joffrey F
4d3e7eb1cb
Merge branch 'master' of https://github.com/rmohr/docker-py into rmohr-master
2015-01-08 16:23:21 -08:00
Joffrey F
09ea71971c
Fix for issue #443
2015-01-08 15:57:44 -08:00
Roman Mohr
2d34c38c4d
Keep unix socket alive with python3
2014-12-21 11:42:41 +01:00
Joffrey F
2218dbaa67
Use create_host_config in start (unifying parameter processing)
2014-12-18 18:03:27 -08:00
Joffrey F
53d61a77b6
Improved integration tests to run on python3 and close sessions after in tearDown phase
2014-12-18 17:46:41 -08:00
Joffrey F
53beba75f4
Merge pull request #427 from abanna/adding_multiple_dockercfg_support
...
adding the ability to login with different dockercfg files.
2014-12-18 10:39:59 -08:00
Joffrey F
96f66f7558
Merge pull request #435 from dims/fix-flake8-issues
...
flake8 fails with F821 for unicode under python 3.4.2
2014-12-18 10:33:40 -08:00
abanna
d3cf874938
missed a lint error
2014-12-18 10:21:02 -08:00
Alex Banna
4cbf4e312c
adding the ability to login with different dockercfg files.
2014-12-18 10:19:40 -08:00
Davanum Srinivas
d9fa43a9b7
flake8 fails with F821 for unicode under python 3.4.2
2014-12-18 11:08:37 -05:00
Marcus Cobden
17c1869304
Tidy up stream test harness & fix race conditions
2014-12-18 09:23:21 +00:00
Joffrey F
8aded4842b
Retry on connection error
2014-12-17 12:55:49 -08:00
Joffrey F
f75afc92a2
Use unicode() typecast instead of u'' literal (3.2 compat). Fixes #408
2014-12-17 12:07:35 -08:00
Joffrey F
b1e0ca0bd6
Merge branch 'master' of https://github.com/leth/docker-py into leth-master
...
Conflicts:
tests/test.py
2014-12-17 11:56:58 -08:00
Joffrey F
2b5516afab
Re-added integration tests with hostconfig in start
2014-12-17 11:44:52 -08:00
Joffrey F
12aad176b9
Re-added start with hostconfig tests
2014-12-17 11:44:52 -08:00
Joffrey F
c29a6a2841
Fixed start_container tests
2014-12-17 11:44:52 -08:00