Skip to content

Commit

Permalink
Only start ES during build
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Feb 19, 2020
1 parent f08ec18 commit 5775325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build
run: dotnet build --configuration Release
- name: Start Services
run: docker-compose -f docker-compose.services.yml up -d && docker-compose -f docker-compose.services.yml up ready
run: docker-compose -f docker-compose.services.yml up -d elasticsearch && docker-compose -f docker-compose.services.yml up ready
- name: Run Tests
run: dotnet test --configuration Release --results-directory artifacts --no-build --logger:trx
- name: Build Docker Images
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.5'

services:
elasticsearch:
image: exceptionless/elasticsearch:7.5.2
image: exceptionless/elasticsearch:7.6.0
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
Expand All @@ -14,7 +14,7 @@ services:
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.5.2
image: docker.elastic.co/kibana/kibana:7.6.0
ports:
- 5601:5601

Expand All @@ -25,7 +25,7 @@ services:

ready:
image: dadarek/wait-for-dependencies
command: elasticsearch:9200 kibana:5601
command: elasticsearch:9200
depends_on:
- elasticsearch

0 comments on commit 5775325

Please sign in to comment.