Skip to content

Commit

Permalink
Merge pull request #146 from openeuropa/EWPP-516
Browse files Browse the repository at this point in the history
EWPP-516: Update docker php image.
  • Loading branch information
brummbar authored Nov 27, 2020
2 parents 2fb594a + 23755fa commit e2003d5
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
clone:
git:
image: registry.fpfis.eu/drone-plugins/git:next
when:
event: [ push, pull_request, tag ]
git:
image: registry.fpfis.eu/drone-plugins/git
when:
event: [ deployment ]

workspace:
base: /test
path: task-runner

services:
web:
image: fpfis/httpd-php-ci:${PHP_VERSION}
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
environment:
- DOCUMENT_ROOT=/test/task-runner

pipeline:
composer-install-lowest:
group: prepare
image: fpfis/httpd-php-ci:${PHP_VERSION}
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
volumes:
- /cache:/cache
commands:
Expand All @@ -25,7 +35,7 @@ pipeline:

composer-install-highest:
group: prepare
image: fpfis/httpd-php-ci:${PHP_VERSION}
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
volumes:
- /cache:/cache
commands:
Expand All @@ -36,13 +46,13 @@ pipeline:

grumphp:
group: test
image: fpfis/httpd-php-ci:${PHP_VERSION}
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/grumphp run

phpunit:
group: test
image: fpfis/httpd-php-ci:${PHP_VERSION}
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/phpunit

Expand Down

0 comments on commit e2003d5

Please sign in to comment.