Hello,
I am trying to run my functionnal tests in our bitbucket pipeline with elasticsearch an mysql as services.
But everytime, the pipeline launches, I get this error : elasticsearch exceeded memory limit.
Here is the content of my bitbucket-pipelines.yml :
image: php:7.1.1
options:
size: 2x
pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- bin/bootstrap
- ./vendor/bin/simple-phpunit
services:
- elasticsearch
- database
definitions:
services:
elasticsearch:
image: elasticsearch:alpine
database:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: root
I would be very gratefull of some help or some pointers.
Thx in advance,
Vincent.