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
fa3082b6
Kaydet (Commit)
fa3082b6
authored
Eyl 09, 2015
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update integration-dind task
üst
abaf346b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
21 deletions
+8
-21
Makefile
Makefile
+8
-2
Dockerfile
tests/Dockerfile
+0
-19
No files found.
Makefile
Dosyayı görüntüle @
fa3082b6
...
...
@@ -4,6 +4,9 @@ HOST_TMPDIR=test -n "$(TMPDIR)" && echo $(TMPDIR) || echo /tmp
all
:
test
clean
:
docker
rm
-vf
dpy-dind
build
:
docker build
-t
docker-py .
...
...
@@ -24,6 +27,9 @@ integration-test: build
integration-test-py3
:
build-py3
docker run
-v
`
$(HOST_TMPDIR)
`
:/tmp
-v
/var/run/docker.sock:/var/run/docker.sock docker-py3 py.test
-rxs
tests/integration_test.py
integration-
ci
:
integration-
dind
:
build build-py3
docker build
-t
dpy-tests
-f
./tests/Dockerfile .
docker run
--privileged
-t
dpy-tests
docker run
-d
--name
dpy-dind
-v
/tmp
--privileged
dockerswarm/dind:1.8.1 docker
-d
-H
tcp://0.0.0.0:2375
docker run
--volumes-from
dpy-dind
--env
=
"DOCKER_HOST=tcp://docker:2375"
--link
=
dpy-dind:docker docker-py py.test
-rxs
tests/integration_test.py
docker run
--volumes-from
dpy-dind
--env
=
"DOCKER_HOST=tcp://docker:2375"
--link
=
dpy-dind:docker docker-py3 py.test
-rxs
tests/integration_test.py
docker
rm
-vf
dpy-dind
tests/Dockerfile
deleted
100644 → 0
Dosyayı görüntüle @
abaf346b
FROM
dockerswarm/dind:1.8.1
MAINTAINER
Joffrey F <joffrey@docker.com>
RUN
mkdir
/home/docker-py
WORKDIR
/home/docker-py
RUN
apt-get update
&&
apt-get
install
-y
python python-setuptools
&&
easy_install pip
ADD
requirements.txt /home/docker-py/requirements.txt
RUN
pip
install
-r
requirements.txt
ADD
test-requirements.txt /home/docker-py/test-requirements.txt
RUN
pip
install
-r
test-requirements.txt
ADD
. /home/docker-py
RUN
pip
install
-U
.
CMD
["bash", "-c", "docker daemon 2>/dev/null & py.test -rxs tests/integration_test.py"]
\ No newline at end of file
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