99 sh -c " echo; $( MAKE) -p no_targets__ | awk -F':' '/^[a-zA-Z0-9][^\$ $# \\ t=]*:([^=]|$$ )/ {split(\$ $1 ,A,/ /);for(i in A)print A[i]}' | grep -v '__\$ $' | grep -v 'Makefile'| sort"
1010
1111full : provision build
12+
1213all : build
13- build : bootstrap base web php php-dev hhvm service misc applications
14+
15+ build :
16+ python ./bin/console docker:build --threads=auto
1417
1518bootstrap : webdevops/bootstrap webdevops/ansible
1619base : webdevops/base webdevops/base-app webdevops/storage
@@ -26,20 +29,21 @@ applications: webdevops/typo3 webdevops/piwik
2629
2730misc : webdevops/mail-sandbox webdevops/sphinx webdevops/liquibase
2831
29- test :
30- cd " test/" && make all
32+ requirements :
33+ pip install -r ./requirements.txt
34+ cd tests/serverspec && bundle install --path=vendor
3135
32- test-hub-images :
33- DOCKER_PULL=1 make test
36+ test :
37+ python bin/console test:serverspec --threads=auto/2 -v
3438
3539baselayout :
36- BASELAYOUT=1 PROVISION=0 bash bin/provision.sh
40+ python bin/console generate: provision --baselayout
3741
3842provision :
39- python bin/buildDockerfile.py --template=template/ -- dockerfile=docker/
40- BASELAYOUT=0 PROVISION=1 bash bin/provision.sh
43+ python bin/console generate: dockerfile
44+ python bin/console generate: provision
4145
42- publish : dist-update rebuild test push
46+ publish : dist-update rebuild test old-test push
4347
4448dist-update :
4549 docker pull centos:7
@@ -53,121 +57,104 @@ dist-update:
5357 docker pull debian:stretch
5458 docker pull alpine:3.4
5559
56- rebuild :
57- # Rebuild all containers but use caching for duplicates
58- # Bootstrap
59- FORCE=1 make webdevops/bootstrap
60- FORCE=0 make webdevops/ansible
61- # Base
62- FORCE=1 make webdevops/base
63- FORCE=1 make webdevops/base-app
64- FORCE=0 make webdevops/storage
65- # Other containers
66- FORCE=1 make web
67- FORCE=1 make php
68- FORCE=1 make hhvm
69- FORCE=1 make service
70- FORCE=1 make misc
71- FORCE=1 make applications
72-
7360push :
74- BUILD_MODE=push make all
61+ python ./bin/console docker:push --threads=auto
7562
7663setup :
7764 pip install --upgrade -I -r ./requirements.txt
7865
7966graph :
80- python ./bin/diagram.py --dockerfile docker/ --filename documentation/docs/resources/images/docker-image-layout.gv
67+ python ./bin/console generate:graph
8168
8269graph-full :
83- python ./bin/diagram.py --all --dockerfile docker/ -- filename documentation/docs/resources/images/ docker-image-full-layout.gv
70+ python ./bin/console generate:graph --all --filename docker-image-full-layout.gv
8471
8572documentation :
86- docker run -t -i --rm -p 8080:8000 -v " $$ (pwd)/documentation/docs/:/opt/docs" webdevops/sphinx sphinx-autobuild --poll -H 0.0.0.0 /opt/docs html
73+ docker run -t -i --rm -p 8080:8000 -v " $$ (pwd)/documentation/docs/:/opt/docs" -e " VIRTUAL_HOST=documentation.docker " -e " VIRTUAL_PORT=8000 " webdevops/sphinx sphinx-autobuild --poll -H 0.0.0.0 /opt/docs html
8774
8875webdevops/bootstrap :
89- bash bin/build.sh bootstrap " ${DOCKER_REPOSITORY} /bootstrap" " ${DOCKER_TAG_LATEST} "
76+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /bootstrap
9077
9178webdevops/ansible :
92- bash bin/build.sh bootstrap " ${DOCKER_REPOSITORY} /ansible " " ${DOCKER_TAG_LATEST} "
79+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops/bootstrap
9380
9481webdevops/base :
95- bash bin/build.sh base " ${DOCKER_REPOSITORY} /base" " ${DOCKER_TAG_LATEST} "
82+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /base
9683
9784webdevops/base-app :
98- bash bin/build.sh base-app " ${DOCKER_REPOSITORY} /base-app" " ${DOCKER_TAG_LATEST} "
85+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /base-app
9986
10087webdevops/php :
101- bash bin/build.sh php " ${DOCKER_REPOSITORY} /php" " ${DOCKER_TAG_LATEST} "
88+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php
10289
10390webdevops/php-dev :
104- bash bin/build.sh php-dev " ${DOCKER_REPOSITORY} /php-dev" " ${DOCKER_TAG_LATEST} "
91+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php-dev
10592
10693webdevops/apache :
107- bash bin/build.sh apache " ${DOCKER_REPOSITORY} /apache" " ${DOCKER_TAG_LATEST} "
94+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /apache
10895
10996webdevops/apache-dev :
110- bash bin/build.sh apache-dev " ${DOCKER_REPOSITORY} /apache-dev" " ${DOCKER_TAG_LATEST} "
97+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /apache-dev
11198
11299webdevops/nginx :
113- bash bin/build.sh nginx " ${DOCKER_REPOSITORY} /nginx" " ${DOCKER_TAG_LATEST} "
100+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /nginx
114101
115102webdevops/nginx-dev :
116- bash bin/build.sh nginx-dev " ${DOCKER_REPOSITORY} /nginx-dev" " ${DOCKER_TAG_LATEST} "
103+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /nginx-dev
117104
118105webdevops/php-apache :
119- bash bin/build.sh php-apache " ${DOCKER_REPOSITORY} /php-apache" " ${DOCKER_TAG_LATEST} "
106+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php-apache
120107
121108webdevops/php-apache-dev :
122- bash bin/build.sh php-apache-dev " ${DOCKER_REPOSITORY} /php-apache-dev" " ${DOCKER_TAG_LATEST} "
109+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php-apache-dev
123110
124111webdevops/php-nginx :
125- bash bin/build.sh php-nginx " ${DOCKER_REPOSITORY} /php-nginx" " ${DOCKER_TAG_LATEST} "
112+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php-nginx
126113
127114webdevops/php-nginx-dev :
128- bash bin/build.sh php-nginx-dev " ${DOCKER_REPOSITORY} /php-nginx-dev" " ${DOCKER_TAG_LATEST} "
115+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /php-nginx-dev
129116
130117webdevops/hhvm :
131- bash bin/build.sh hhvm " ${DOCKER_REPOSITORY} /hhvm" " ${DOCKER_TAG_LATEST} "
118+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /hhvm
132119
133120webdevops/hhvm-apache :
134- bash bin/build.sh hhvm-apache " ${DOCKER_REPOSITORY} /hhvm-apache" " ${DOCKER_TAG_LATEST} "
121+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /hhvm-apache
135122
136123webdevops/hhvm-nginx :
137- bash bin/build.sh hhvm-nginx " ${DOCKER_REPOSITORY} /hhvm-nginx" " ${DOCKER_TAG_LATEST} "
124+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /hhvm-nginx
138125
139126webdevops/ssh :
140- bash bin/build.sh ssh " ${DOCKER_REPOSITORY} /ssh" " ${DOCKER_TAG_LATEST} "
127+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /ssh
141128
142129webdevops/storage :
143- bash bin/build.sh storage " ${DOCKER_REPOSITORY} /storage" " ${DOCKER_TAG_LATEST} "
130+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /storage
144131
145132webdevops/vsftp :
146- bash bin/build.sh vsftp " ${DOCKER_REPOSITORY} /vsftp" " ${DOCKER_TAG_LATEST} "
133+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /vsftp
147134
148135webdevops/postfix :
149- bash bin/build.sh postfix " ${DOCKER_REPOSITORY} /postfix" " ${DOCKER_TAG_LATEST} "
136+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /postfix
150137
151138webdevops/mail-sandbox :
152- bash bin/build.sh mail-sandbox " ${DOCKER_REPOSITORY} /mail-sandbox" " ${DOCKER_TAG_LATEST} "
139+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /mail-sandbox
153140
154141webdevops/typo3 :
155- bash bin/build.sh typo3 " ${DOCKER_REPOSITORY} /typo3" " ${DOCKER_TAG_LATEST} "
142+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /typo3
156143
157144webdevops/piwik :
158- bash bin/build.sh piwik " ${DOCKER_REPOSITORY} /piwik" " ${DOCKER_TAG_LATEST} "
145+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /piwik
159146
160147webdevops/samson-deployment :
161- bash bin/build.sh samson-deployment " ${DOCKER_REPOSITORY} /samson-deployment" " ${DOCKER_TAG_LATEST} "
148+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /samson-deployment
162149
163150webdevops/sphinx :
164- bash bin/build.sh sphinx " ${DOCKER_REPOSITORY} /sphinx" " ${DOCKER_TAG_LATEST} "
151+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /sphinx
165152
166153webdevops/varnish :
167- bash bin/build.sh varnish " ${DOCKER_REPOSITORY} /varnish" " ${DOCKER_TAG_LATEST} "
154+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /varnish
168155
169156webdevops/certbot :
170- bash bin/build.sh certbot " ${DOCKER_REPOSITORY} /certbot" " ${DOCKER_TAG_LATEST} "
157+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /certbot
171158
172159webdevops/liquibase :
173- bash bin/build.sh liquibase " ${DOCKER_REPOSITORY} /liquibase" " ${DOCKER_TAG_LATEST} "
160+ python ./ bin/console docker: build --threads=auto --whitelist=webdevops /liquibase
0 commit comments