Skip to content

Commit e5bead4

Browse files
committed
fix elastic search test
1 parent 7a5581d commit e5bead4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.drone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ services:
4545

4646
- name: elasticsearch
4747
pull: default
48+
environment:
49+
- "discovery.type=single-node"
4850
image: elastic/elasticsearch:5.6.16
4951

5052
steps:

integrations/mysql.ini.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SSL_MODE = disable
1111

1212
[indexer]
1313
ISSUE_INDEXER_TYPE = elasticsearch
14-
ISSUE_INDEXER_CONN_STR = http://127.0.0.1:9200
14+
ISSUE_INDEXER_CONN_STR = http://elasticsearch:9200
1515
ISSUE_INDEXER_QUEUE_TYPE = noqueue
1616
ISSUE_INDEXER_PATH = integrations/indexers-mysql/issues.bleve
1717
REPO_INDEXER_ENABLED = true

0 commit comments

Comments
 (0)