Skip to content

interrupt-inc/elasticsearch-bitbucket-pipelines

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Easticsearch image for Bitbucket Pipelines

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.

Version

Elasticsearch 7.4.2

Hub

https://hub.docker.com/r/interruptinc/elasticsearch-bitbucket-pipeline

Example

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

About

Dockerfile for elastic search to use it in bitbucket-pipelines

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%