Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
c55a3300
Kaydet (Commit)
c55a3300
authored
Agu 17, 2017
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'release' of github.com:docker/docker-py
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
13b93492
8d14709c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
6 deletions
+50
-6
Jenkinsfile
Jenkinsfile
+2
-2
Makefile
Makefile
+2
-2
constants.py
docker/constants.py
+1
-1
version.py
docker/version.py
+1
-1
change-log.md
docs/change-log.md
+44
-0
No files found.
Jenkinsfile
Dosyayı görüntüle @
c55a3300
...
@@ -6,7 +6,7 @@ def imageNamePy3
...
@@ -6,7 +6,7 @@ def imageNamePy3
def
images
=
[:]
def
images
=
[:]
def
dockerVersions
=
[
"1.13.1"
,
"17.04.0-ce"
,
"17.05.0-ce"
,
"17.06.0-ce"
]
def
dockerVersions
=
[
"1.13.1"
,
"17.04.0-ce"
,
"17.05.0-ce"
,
"17.06.0-ce"
,
"17.07.0-ce-rc3"
]
def
buildImage
=
{
name
,
buildargs
,
pyTag
->
def
buildImage
=
{
name
,
buildargs
,
pyTag
->
img
=
docker
.
image
(
name
)
img
=
docker
.
image
(
name
)
...
@@ -34,7 +34,7 @@ def buildImages = { ->
...
@@ -34,7 +34,7 @@ def buildImages = { ->
}
}
def
getAPIVersion
=
{
engineVersion
->
def
getAPIVersion
=
{
engineVersion
->
def
versionMap
=
[
'1.13.'
:
'1.26'
,
'17.04'
:
'1.27'
,
'17.05'
:
'1.29'
,
'17.06'
:
'1.30'
]
def
versionMap
=
[
'1.13.'
:
'1.26'
,
'17.04'
:
'1.27'
,
'17.05'
:
'1.29'
,
'17.06'
:
'1.30'
,
'17.07'
:
'1.31'
]
return
versionMap
[
engineVersion
.
substring
(
0
,
5
)]
return
versionMap
[
engineVersion
.
substring
(
0
,
5
)]
}
}
...
...
Makefile
Dosyayı görüntüle @
c55a3300
...
@@ -41,8 +41,8 @@ integration-test: build
...
@@ -41,8 +41,8 @@ integration-test: build
integration-test-py3
:
build-py3
integration-test-py3
:
build-py3
docker run
--rm
-v
/var/run/docker.sock:/var/run/docker.sock docker-sdk-python3 py.test tests/integration/
${
file
}
docker run
--rm
-v
/var/run/docker.sock:/var/run/docker.sock docker-sdk-python3 py.test tests/integration/
${
file
}
TEST_API_VERSION
?=
1.
29
TEST_API_VERSION
?=
1.
30
TEST_ENGINE_VERSION
?=
17.0
5
.0-ce
TEST_ENGINE_VERSION
?=
17.0
6
.0-ce
.PHONY
:
integration-dind
.PHONY
:
integration-dind
integration-dind
:
build build-py3
integration-dind
:
build build-py3
...
...
docker/constants.py
Dosyayı görüntüle @
c55a3300
import
sys
import
sys
from
.version
import
version
from
.version
import
version
DEFAULT_DOCKER_API_VERSION
=
'1.
26
'
DEFAULT_DOCKER_API_VERSION
=
'1.
30
'
MINIMUM_DOCKER_API_VERSION
=
'1.21'
MINIMUM_DOCKER_API_VERSION
=
'1.21'
DEFAULT_TIMEOUT_SECONDS
=
60
DEFAULT_TIMEOUT_SECONDS
=
60
STREAM_HEADER_SIZE_BYTES
=
8
STREAM_HEADER_SIZE_BYTES
=
8
...
...
docker/version.py
Dosyayı görüntüle @
c55a3300
version
=
"2.5.0
-dev
"
version
=
"2.5.0"
version_info
=
tuple
([
int
(
d
)
for
d
in
version
.
split
(
"-"
)[
0
]
.
split
(
"."
)])
version_info
=
tuple
([
int
(
d
)
for
d
in
version
.
split
(
"-"
)[
0
]
.
split
(
"."
)])
docs/change-log.md
Dosyayı görüntüle @
c55a3300
Change log
Change log
==========
==========
2.
5.0
-----
[
List of PRs / issues for this release
](
https://github.com/docker/docker-py/milestone/34?closed=1
)
### Features
*
Added support for the
`squash`
parameter in
`APIClient.build`
and
`DockerClient.images.build`
.
*
When using API version 1.23 or above,
`load_image`
will now return a
generator of progress as JSON
`dict`
s.
*
`remove_image`
now returns the content of the API's response.
### Bugfixes
*
Fixed an issue where the
`auto_remove`
parameter in
`DockerClient.containers.run`
was not taken into account.
*
Fixed a bug where
`.dockerignore`
patterns starting with a slash
were ignored.
*
Fixed an issue with the handling of
`**`
patterns in
`.dockerignore`
*
Fixed a bug where building
`FROM`
a private Docker Hub image when not
using a cred store would fail.
*
Fixed a bug where calling
`create_service`
or
`update_service`
with
`task_template`
as a
`dict`
would raise an exception.
*
Fixed the handling of TTY-enabled containers in
`attach`
and
`exec_run`
.
*
`DockerClient.containers.run`
will no longer attempt to stream logs if the
log driver doesn't support the operation.
### Miscellaneous
*
Added extra requirements for better TLS support on some platforms.
These can be installed or required through the
`docker[tls]`
notation.
2.
4.2
-----
[
List of PRs / issues for this release
](
https://github.com/docker/docker-py/milestone/36?closed=1
)
### Bugfixes
*
Fixed a bug where the
`split_port`
utility would raise an exception when
passed a non-string argument.
2.
4.0
2.
4.0
-----
-----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment