Skip to content

Commit 35af91d

Browse files
author
Phil Varner
committed
try only ES 8 in CI
1 parent a0c53d6 commit 35af91d

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/cicd.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
timeout-minutes: 10
1212

1313
services:
14-
15-
elasticsearch_7_svc:
16-
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1
17-
env:
18-
node.name: es01
19-
cluster.name: stac-cluster
20-
discovery.type: single-node
21-
network.host: 0.0.0.0
22-
http.port: 9200
23-
ES_JAVA_OPTS: -Xms512m -Xmx512m
24-
ports:
25-
- 9200:9200
14+
#
15+
# elasticsearch_7_svc:
16+
# image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1
17+
# env:
18+
# node.name: es01
19+
# cluster.name: stac-cluster
20+
# discovery.type: single-node
21+
# network.host: 0.0.0.0
22+
# http.port: 9200
23+
# ES_JAVA_OPTS: -Xms512m -Xmx512m
24+
# ports:
25+
# - 9200:9200
2626

2727
elasticsearch_8_svc:
2828
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.0
@@ -31,10 +31,10 @@ jobs:
3131
cluster.name: stac-cluster
3232
discovery.type: single-node
3333
network.host: 0.0.0.0
34-
http.port: 9400
34+
http.port: 9200
3535
ES_JAVA_OPTS: -Xms512m -Xmx512m
3636
ports:
37-
- 9400:9400
37+
- 9200:9200
3838

3939
steps:
4040
- name: Check out repository code
@@ -66,13 +66,13 @@ jobs:
6666
ES_PASS: stac
6767
ES_PORT: 9200
6868
ES_HOST: 172.17.0.1
69-
70-
- name: Run test suite against Elasticsearch 8.x
71-
run: |
72-
cd stac_fastapi/elasticsearch && pipenv run pytest -svvv
73-
env:
74-
ENVIRONMENT: testing
75-
ES_USER: dev
76-
ES_PASS: stac
77-
ES_PORT: 9400
78-
ES_HOST: 172.17.0.1
69+
#
70+
# - name: Run test suite against Elasticsearch 8.x
71+
# run: |
72+
# cd stac_fastapi/elasticsearch && pipenv run pytest -svvv
73+
# env:
74+
# ENVIRONMENT: testing
75+
# ES_USER: dev
76+
# ES_PASS: stac
77+
# ES_PORT: 9400
78+
# ES_HOST: 172.17.0.1

0 commit comments

Comments
 (0)