Skip to content

Commit

Permalink
add elasticsearch service to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed Mar 30, 2021
1 parent 1e28e21 commit 28d62b8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
default:
image: python:3.7
services:
- name: docker.elastic.co/elasticsearch/elasticsearch:7.11.2
alias: elasticsearch
command: [ "bin/elasticsearch", "-Expack.security.enabled=false", "-Ediscovery.type=single-node" ]


#cache:
Expand Down Expand Up @@ -41,21 +45,21 @@ test:datanetwork-integration:
stage: test
script:
- pip install tox-travis
- tox -e datanetwork --recreate
- ELASTIC_HOST=elasticsearch tox -e datanetwork --recreate

test:blockchain-integration:
stage: test
script:
- pip install tox-travis
- tox -e blockchain
- ELASTIC_HOST=elasticsearch tox -e blockchain

test:other-integration:
stage: test
script:
- apt-get update
- apt-get install -y --no-install-recommends ffmpeg
- pip install tox-travis
- tox -e other
- ELASTIC_HOST=elasticsearch tox -e other

test:json-api:
stage: test
Expand Down

0 comments on commit 28d62b8

Please sign in to comment.