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
df50df38
Kaydet (Commit)
df50df38
authored
Eyl 08, 2016
tarafından
Joffrey F
Kaydeden (comit)
GitHub
Eyl 08, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1191 from bfirsh/fix-makefile-phony
Add .PHONY for each makefile instruction
üst
717ec945
06489235
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
Makefile
Makefile
+15
-2
No files found.
Makefile
Dosyayı görüntüle @
df50df38
.PHONY
:
all build test integration-test unit-test build-py3 unit-test-py3 integration-test-py3
.PHONY
:
all
all
:
test
all
:
test
.PHONY
:
clean
clean
:
clean
:
-
docker
rm
-vf
dpy-dind
-
docker
rm
-vf
dpy-dind
find
-name
"__pycache__"
| xargs
rm
-rf
find
-name
"__pycache__"
| xargs
rm
-rf
.PHONY
:
build
build
:
build
:
docker build
-t
docker-py .
docker build
-t
docker-py .
.PHONY
:
build-py3
build-py3
:
build-py3
:
docker build
-t
docker-py3
-f
Dockerfile-py3 .
docker build
-t
docker-py3
-f
Dockerfile-py3 .
.PHONY
:
build-docs
build-docs
:
build-docs
:
docker build
-t
docker-py-docs
-f
Dockerfile-docs .
docker build
-t
docker-py-docs
-f
Dockerfile-docs .
.PHONY
:
build-dind-certs
build-dind-certs
:
build-dind-certs
:
docker build
-t
dpy-dind-certs
-f
tests/Dockerfile-dind-certs .
docker build
-t
dpy-dind-certs
-f
tests/Dockerfile-dind-certs .
.PHONY
:
test
test
:
flake8 unit-test unit-test-py3 integration-dind integration-dind-ssl
test
:
flake8 unit-test unit-test-py3 integration-dind integration-dind-ssl
.PHONY
:
unit-test
unit-test
:
build
unit-test
:
build
docker run docker-py py.test tests/unit
docker run docker-py py.test tests/unit
.PHONY
:
unit-test-py3
unit-test-py3
:
build-py3
unit-test-py3
:
build-py3
docker run docker-py3 py.test tests/unit
docker run docker-py3 py.test tests/unit
.PHONY
:
integration-test
integration-test
:
build
integration-test
:
build
docker run
-v
/var/run/docker.sock:/var/run/docker.sock docker-py py.test tests/integration
docker run
-v
/var/run/docker.sock:/var/run/docker.sock docker-py py.test tests/integration
.PHONY
:
integration-test-py3
integration-test-py3
:
build-py3
integration-test-py3
:
build-py3
docker run
-v
/var/run/docker.sock:/var/run/docker.sock docker-py3 py.test tests/integration
docker run
-v
/var/run/docker.sock:/var/run/docker.sock docker-py3 py.test tests/integration
.PHONY
:
integration-dind
integration-dind
:
build build-py3
integration-dind
:
build build-py3
docker
rm
-vf
dpy-dind
||
:
docker
rm
-vf
dpy-dind
||
:
docker run
-d
--name
dpy-dind
--privileged
dockerswarm/dind:1.12.0 docker daemon
\
docker run
-d
--name
dpy-dind
--privileged
dockerswarm/dind:1.12.0 docker daemon
\
...
@@ -42,6 +52,7 @@ integration-dind: build build-py3
...
@@ -42,6 +52,7 @@ integration-dind: build build-py3
py.test tests/integration
py.test tests/integration
docker
rm
-vf
dpy-dind
docker
rm
-vf
dpy-dind
.PHONY
:
integration-dind-ssl
integration-dind-ssl
:
build-dind-certs build build-py3
integration-dind-ssl
:
build-dind-certs build build-py3
docker run
-d
--name
dpy-dind-certs dpy-dind-certs
docker run
-d
--name
dpy-dind-certs dpy-dind-certs
docker run
-d
--env
=
"DOCKER_HOST=tcp://localhost:2375"
--env
=
"DOCKER_TLS_VERIFY=1"
\
docker run
-d
--env
=
"DOCKER_HOST=tcp://localhost:2375"
--env
=
"DOCKER_TLS_VERIFY=1"
\
...
@@ -57,8 +68,10 @@ integration-dind-ssl: build-dind-certs build build-py3
...
@@ -57,8 +68,10 @@ integration-dind-ssl: build-dind-certs build build-py3
--link
=
dpy-dind-ssl:docker docker-py3 py.test tests/integration
--link
=
dpy-dind-ssl:docker docker-py3 py.test tests/integration
docker
rm
-vf
dpy-dind-ssl dpy-dind-certs
docker
rm
-vf
dpy-dind-ssl dpy-dind-certs
.PHONY
:
flake8
flake8
:
build
flake8
:
build
docker run docker-py flake8 docker tests
docker run docker-py flake8 docker tests
.PHONY
:
docs
docs
:
build-docs
docs
:
build-docs
docker run
-v
`
pwd
`
/docs:/home/docker-py/docs/
-p
8000:8000 docker-py-docs mkdocs serve
-a
0.0.0.0:8000
docker run
-v
`
pwd
`
/docs:/home/docker-py/docs/
-p
8000:8000 docker-py-docs mkdocs serve
-a
0.0.0.0:8000
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