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
2b128077
Kaydet (Commit)
2b128077
authored
Haz 22, 2017
tarafından
Joffrey F
Kaydeden (comit)
Joffrey F
Agu 17, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Shift test matrix forward
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
eb0d8064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Jenkinsfile
Jenkinsfile
+3
-3
No files found.
Jenkinsfile
Dosyayı görüntüle @
2b128077
...
...
@@ -7,7 +7,7 @@ def images = [:]
// Note: Swarm in dind seem notoriously flimsy with 1.12.1+, which is why we're
// sticking with 1.12.0 for the 1.12 series
def
dockerVersions
=
[
"1.1
2.0"
,
"1.13.1"
,
"17.04.0-ce"
,
"17.05.0-ce
"
]
def
dockerVersions
=
[
"1.1
3.1"
,
"17.04.0-ce"
,
"17.05.0-ce"
,
"17.06.0-ce-rc5
"
]
def
buildImage
=
{
name
,
buildargs
,
pyTag
->
img
=
docker
.
image
(
name
)
...
...
@@ -35,7 +35,7 @@ def buildImages = { ->
}
def
getAPIVersion
=
{
engineVersion
->
def
versionMap
=
[
'1.1
2.'
:
'1.24'
,
'1.13.'
:
'1.26'
,
'17.04'
:
'1.27'
,
'17.05'
:
'1.29
'
]
def
versionMap
=
[
'1.1
3.'
:
'1.26'
,
'17.04'
:
'1.27'
,
'17.05'
:
'1.29'
,
'17.06'
:
'1.30
'
]
return
versionMap
[
engineVersion
.
substring
(
0
,
5
)]
}
...
...
@@ -63,7 +63,7 @@ def runTests = { Map settings ->
def
testContainerName
=
"dpy-tests-\$BUILD_NUMBER-\$EXECUTOR_NUMBER-${pythonVersion}-${dockerVersion}"
try
{
sh
"""docker run -d --name ${dindContainerName} -v /tmp --privileged \\
dockerswarm/dind:${dockerVersion} docker
daemon
-H tcp://0.0.0.0:2375
dockerswarm/dind:${dockerVersion} docker
d
-H tcp://0.0.0.0:2375
"""
sh
"""docker run \\
--name ${testContainerName} --volumes-from ${dindContainerName} \\
...
...
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