File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
- sudo : required
2
-
3
- dist : trusty
4
1
language : python
5
- python : 3.6
2
+ python : 3.8
3
+ os : linux
6
4
7
5
services :
8
6
- docker
9
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
+
10
17
install : make bootstrap
11
18
12
19
script : make lint test integration_tests
@@ -16,10 +23,10 @@ before_deploy:
16
23
- make set_version
17
24
deploy :
18
25
provider : pypi
19
- user : $PYPI_USERNAME
26
+ username : $PYPI_USERNAME
20
27
password : $PYPI_PASSWORD
21
28
distributions : " sdist bdist_wheel"
22
- skip_cleanup : true
29
+ cleanup : false
23
30
on :
24
31
branch : master
25
32
tags : true
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