File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
- dist : trusty
2
1
language : python
3
2
python : 3.8
4
3
os : linux
5
4
6
5
services :
7
6
- docker
8
7
8
+ env :
9
+ - DOCKER_COMPOSE_VERSION=1.24.1
10
+
11
+ before_install :
12
+ - sudo rm /usr/local/bin/docker-compose
13
+ - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
14
+ - chmod +x docker-compose
15
+ - sudo mv docker-compose /usr/local/bin
16
+
9
17
install : make bootstrap
10
18
11
19
script : make lint test integration_tests
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ integration_tests:
29
29
--network=sandbox_default \
30
30
-v $(PWD ) :/ws \
31
31
-w /ws \
32
- python:3.6 \
32
+ python:3.8 \
33
33
/bin/sh -c ' python setup.py install && pip install kafka-python && python tests/integration/integration.py'
34
34
docker-compose -f tests/integration/docker-compose.yml -p sandbox stop
35
35
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def process_response(future):
29
29
else :
30
30
logger .debug ("Successfully submitted span to haystack-agent" )
31
31
except grpc .RpcError :
32
- logger .exception (f "Dispatch failed due to RPC error" )
32
+ logger .exception ("Dispatch failed due to RPC error" )
33
33
34
34
def record_span (self , span ):
35
35
future = self ._stub .dispatch .future (span_to_proto (span ))
You can’t perform that action at this time.
0 commit comments