add redis service in drone
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
9afa34504c
commit
0549529a0d
|
@ -38,7 +38,7 @@ steps:
|
||||||
- name: phpunit_tests
|
- name: phpunit_tests
|
||||||
image: php:8.1.6
|
image: php:8.1.6
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y redis-server libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev rsync texlive-base texlive-xetex texlive-lang-german texlive-fonts-extra
|
- apt-get update && apt-get install -y libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev rsync texlive-base texlive-xetex texlive-lang-german texlive-fonts-extra
|
||||||
- docker-php-ext-install pdo_mysql curl gd intl mbstring
|
- docker-php-ext-install pdo_mysql curl gd intl mbstring
|
||||||
- pecl install redis && docker-php-ext-enable redis
|
- pecl install redis && docker-php-ext-enable redis
|
||||||
- cp .docker/fonts/* /usr/share/fonts/
|
- cp .docker/fonts/* /usr/share/fonts/
|
||||||
|
@ -56,6 +56,7 @@ steps:
|
||||||
LOG_CHANNEL: stack
|
LOG_CHANNEL: stack
|
||||||
DB_CONNECTION: mysql
|
DB_CONNECTION: mysql
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
|
REDIS_HOST: redis
|
||||||
DB_PORT: 3306
|
DB_PORT: 3306
|
||||||
DB_DATABASE: db
|
DB_DATABASE: db
|
||||||
DB_USERNAME: db
|
DB_USERNAME: db
|
||||||
|
@ -140,6 +141,8 @@ services:
|
||||||
MARIADB_USER: db
|
MARIADB_USER: db
|
||||||
MARIADB_PASSWORD: db
|
MARIADB_PASSWORD: db
|
||||||
MARIADB_ALLOW_EMPTY_PASSWORD: yes
|
MARIADB_ALLOW_EMPTY_PASSWORD: yes
|
||||||
|
- name: redis
|
||||||
|
image: redis
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue