Skip to content
Snippets Groups Projects
Commit b201a9dd authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Fix elasticsearch service on gitlab-ci

Overwrite the default command to pass discovery.type=single-node
Environment variable with "." can't be exported from bash.

See https://gitlab.com/gitlab-org/gitlab-runner/issues/2410
parent cc9e01c2
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ test: ...@@ -43,6 +43,7 @@ test:
- redis:4.0 - redis:4.0
- name: docker.elastic.co/elasticsearch/elasticsearch:7.3.2 - name: docker.elastic.co/elasticsearch/elasticsearch:7.3.2
alias: elasticsearch alias: elasticsearch
command: ["bin/elasticsearch", "-Ediscovery.type=single-node"]
before_script: before_script:
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment