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
5f0f085f
Kaydet (Commit)
5f0f085f
authored
Tem 22, 2015
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated Makefile to help with release testing
üst
81f65e92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
Makefile
Makefile
+11
-2
No files found.
Makefile
Dosyayı görüntüle @
5f0f085f
.PHONY
:
all build test integration-test unit-test
.PHONY
:
all build test integration-test unit-test
build-py3 unit-test-py3 integration-test-py3
HOST_TMPDIR
=
test
-n
"
$(TMPDIR)
"
&&
echo
$(TMPDIR)
||
echo
/tmp
...
...
@@ -7,10 +7,19 @@ all: test
build
:
docker build
-t
docker-py .
test
:
unit-test integration-test
build-py3
:
docker build
-t
docker-py3
-f
Dockerfile-py3 .
test
:
unit-test integration-test unit-test-py3 integration-test-py3
unit-test
:
build
docker run docker-py python tests/test.py
unit-test-py3
:
build-py3
docker run docker-py3 python tests/test.py
integration-test
:
build
docker run
-e
NOT_ON_HOST
=
true
-v
`
$(HOST_TMPDIR)
`
:/tmp
-v
/var/run/docker.sock:/var/run/docker.sock docker-py python tests/integration_test.py
integration-test-py3
:
build-py3
docker run
-e
NOT_ON_HOST
=
true
-v
`
$(HOST_TMPDIR)
`
:/tmp
-v
/var/run/docker.sock:/var/run/docker.sock docker-py3 python tests/integration_test.py
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