Skip to content

Commit 7147549

Browse files
authored
Merge pull request #52 from devilbox/release-0.39
Adding tool: deployer
2 parents b57a7c1 + 78227bf commit 7147549

File tree

9 files changed

+39
-0
lines changed

9 files changed

+39
-0
lines changed

Dockerfiles/work/Dockerfile-5.4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -x \
133133
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
134134
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
135135
\
136+
# deployer
137+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
138+
&& chmod +x /usr/local/bin/dep \
136139
# drush
137140
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
138141
&& cd /usr/local/src/drush \
@@ -309,6 +312,7 @@ RUN set -x \
309312
&& gulp --version | grep -E '[.0-9]+' \
310313
\
311314
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
315+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
312316
&& drush --version | grep -E '[.0-9]+' \
313317
&& git-flow version | grep -E '[.0-9]+' \
314318
&& grunt --version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-5.5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -321,6 +324,7 @@ RUN set -x \
321324
&& gulp --version | grep -E '[.0-9]+' \
322325
\
323326
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
327+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
324328
&& drush --version | grep -E '[.0-9]+' \
325329
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
326330
&& git-flow version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-5.6

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -321,6 +324,7 @@ RUN set -x \
321324
&& gulp --version | grep -E '[.0-9]+' \
322325
\
323326
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
327+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
324328
&& drush --version | grep -E '[.0-9]+' \
325329
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
326330
&& git-flow version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-7.0

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -321,6 +324,7 @@ RUN set -x \
321324
&& gulp --version | grep -E '[.0-9]+' \
322325
\
323326
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
327+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
324328
&& drush --version | grep -E '[.0-9]+' \
325329
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
326330
&& git-flow version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-7.1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -321,6 +324,7 @@ RUN set -x \
321324
&& gulp --version | grep -E '[.0-9]+' \
322325
\
323326
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
327+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
324328
&& drush --version | grep -E '[.0-9]+' \
325329
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
326330
&& git-flow version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-7.2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -321,6 +324,7 @@ RUN set -x \
321324
&& gulp --version | grep -E '[.0-9]+' \
322325
\
323326
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
327+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
324328
&& drush --version | grep -E '[.0-9]+' \
325329
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
326330
&& git-flow version | grep -E '[.0-9]+' \

Dockerfiles/work/Dockerfile-7.3

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ RUN set -x \
137137
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
138138
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
139139
\
140+
# deployer
141+
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
142+
&& chmod +x /usr/local/bin/dep \
140143
# drush
141144
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
142145
&& cd /usr/local/src/drush \
@@ -310,6 +313,7 @@ RUN set -x \
310313
&& gulp --version | grep -E '[.0-9]+' \
311314
\
312315
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
316+
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
313317
&& drush --version | grep -E '[.0-9]+' \
314318
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
315319
&& git-flow version | grep -E '[.0-9]+' \

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,10 @@ You want to use tools such as `git`, `drush`, `composer`, `npm`, `eslint`, `phpc
838838
<td><a href="https://getcomposer.org">composer</a></td>
839839
<td>Dependency Manager for PHP.</td>
840840
</tr>
841+
<tr>
842+
<td><a href="https://deployer.org/">deployer</a></td>
843+
<td>Deployment tool for PHP.</td>
844+
</tr>
841845
<tr>
842846
<td><a href="https://drupalconsole.com">drupal-console</a></td>
843847
<td>The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.</td>

build/ansible/group_vars/all.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ software_enabled:
202202
- asgardcms
203203
- awesomeci
204204
- codeception
205+
- deployer
205206
- drush
206207
- drupalconsole
207208
- gitflow
@@ -333,6 +334,12 @@ software_available:
333334
check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+'
334335
all:
335336
command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
337+
deployer:
338+
disabled: [5.2, 5.3]
339+
check: dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+'
340+
all:
341+
command: curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
342+
post: chmod +x /usr/local/bin/dep
336343
drush:
337344
disabled: [5.2]
338345
check: drush --version | grep -E '[.0-9]+'

0 commit comments

Comments
 (0)