##// END OF EJS Templates
elasticsearch: bump to ES 6.x
ergo -
Show More
@@ -9,13 +9,13 b' notifications:'
9 matrix:
9 matrix:
10 include:
10 include:
11 - python: 3.5
11 - python: 3.5
12 env: TOXENV=py35
12 env: TOXENV=py35 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
13 - python: 3.6
13 - python: 3.6
14 env: TOXENV=py36
14 env: TOXENV=py36 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
15 addons:
15 addons:
16 postgresql: "9.6"
16 postgresql: "9.6"
17 - python: 3.6
17 - python: 3.6
18 env: TOXENV=py36 PGPORT=5432
18 env: TOXENV=py36 PGPORT=5432 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
19 addons:
19 addons:
20 postgresql: "10"
20 postgresql: "10"
21 apt:
21 apt:
@@ -24,6 +24,9 b' matrix:'
24 - postgresql-client-10
24 - postgresql-client-10
25
25
26 install:
26 install:
27 - wget ${ES_DOWNLOAD_URL}
28 - tar -xzf elasticsearch-${ES_VERSION}.tar.gz
29 - ./elasticsearch-${ES_VERSION}/bin/elasticsearch &
27 - travis_retry pip install -U setuptools pip tox
30 - travis_retry pip install -U setuptools pip tox
28
31
29 script:
32 script:
@@ -215,8 +215,7 b' def update_template():'
215 "settings": {
215 "settings": {
216 "index": {
216 "index": {
217 "refresh_interval": "5s",
217 "refresh_interval": "5s",
218 "translog": {"sync_interval": "5s", "durability": "async"},
218 "translog": {"sync_interval": "5s", "durability": "async"}
219 "mapping": {"single_type": True}
220 },
219 },
221 "number_of_shards": 5,
220 "number_of_shards": 5,
222 "analysis": shared_analysis,
221 "analysis": shared_analysis,
@@ -298,7 +297,6 b' def update_template():'
298 "index": {
297 "index": {
299 "refresh_interval": "5s",
298 "refresh_interval": "5s",
300 "translog": {"sync_interval": "5s", "durability": "async"},
299 "translog": {"sync_interval": "5s", "durability": "async"},
301 "mapping": {"single_type": True}
302 },
300 },
303 "number_of_shards": 5,
301 "number_of_shards": 5,
304 "analysis": shared_analysis,
302 "analysis": shared_analysis,
@@ -320,7 +318,6 b' def update_template():'
320 "index": {
318 "index": {
321 "refresh_interval": "5s",
319 "refresh_interval": "5s",
322 "translog": {"sync_interval": "5s", "durability": "async"},
320 "translog": {"sync_interval": "5s", "durability": "async"},
323 "mapping": {"single_type": True}
324 },
321 },
325 "number_of_shards": 5,
322 "number_of_shards": 5,
326 "analysis": shared_analysis,
323 "analysis": shared_analysis,
@@ -342,7 +339,6 b' def update_template():'
342 "index": {
339 "index": {
343 "refresh_interval": "5s",
340 "refresh_interval": "5s",
344 "translog": {"sync_interval": "5s", "durability": "async"},
341 "translog": {"sync_interval": "5s", "durability": "async"},
345 "mapping": {"single_type": True}
346 },
342 },
347 "number_of_shards": 5,
343 "number_of_shards": 5,
348 "analysis": shared_analysis,
344 "analysis": shared_analysis,
@@ -364,7 +360,6 b' def update_template():'
364 "index": {
360 "index": {
365 "refresh_interval": "5s",
361 "refresh_interval": "5s",
366 "translog": {"sync_interval": "5s", "durability": "async"},
362 "translog": {"sync_interval": "5s", "durability": "async"},
367 "mapping": {"single_type": True}
368 },
363 },
369 "number_of_shards": 5,
364 "number_of_shards": 5,
370 "analysis": shared_analysis,
365 "analysis": shared_analysis,
General Comments 4
Under Review
author

Auto status change to "Under Review"

Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now