Easticsearch image for Bitbucket Pipelines
3.8K
Bitbucket pipelines does not allow you to use dot notation in variables. So I created my own elastic search docker image to include the discovery type.
Elasticsearch 7.4.2
https://hub.docker.com/r/interruptinc/elasticsearch-bitbucket-pipeline
definitions:
steps:
- step: &run-tests
name: Run tests
script:
- sleep 30 # Waiting elasticsearch. In your real pipeline you can not use it.
- curl -XGET localhost:9200/_cat/health
services:
- elasticsearch
services:
elasticsearch:
image: interruptinc/elasticsearch-bitbucket-pipeline
variables:
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
docker:
memory: 2048
pipelines:
pull-requests:
'**':
- step: *run-tests
Content type
Image
Digest
Size
410.9 MB
Last updated
almost 7 years ago
docker pull interruptinc/elasticsearch-bitbucket-pipelines