Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EWPP-516: Update docker php image. #146

Merged
merged 1 commit into from
Nov 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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