Skip to content

Commit 18fc9ba

Browse files
authored
Update es python, opensearch (stac-utils#499)
**Related Issue(s):** - None **Description:** - Update Opensearch version to 2.19.3 - Elasticsearch python version to 8.19.5 **PR Checklist:** - [x] Code is formatted and linted (run `pre-commit run --all-files`) - [x] Tests pass (run `make test`) - [x] Documentation has been updated to reflect changes, if applicable - [x] Changes are added to the changelog
1 parent ecf0037 commit 18fc9ba

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.github/workflows/cicd.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
ports:
3333
- 9200:9200
3434

35-
opensearch_2_11:
36-
image: opensearchproject/opensearch:2.11.1
35+
opensearch_2_19:
36+
image: opensearchproject/opensearch:2.19.3
3737
env:
3838
cluster.name: stac-cluster
3939
node.name: os01
@@ -42,12 +42,19 @@ jobs:
4242
discovery.type: single-node
4343
http.port: 9202
4444
http.cors.enabled: true
45-
plugins.security.disabled: true
46-
plugins.security.ssl.http.enabled: true
45+
DISABLE_SECURITY_PLUGIN: true
46+
DISABLE_INSTALL_DEMO_CONFIG: true
4747
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
4848
action.destructive_requires_name: false
4949
ports:
5050
- 9202:9202
51+
options: >-
52+
--health-cmd="curl -f http://localhost:9202/_cluster/health || exit 1"
53+
--health-interval=10s
54+
--health-timeout=5s
55+
--health-retries=10
56+
--ulimit nofile=65536:65536
57+
--ulimit memlock=-1:-1
5158
5259
strategy:
5360
matrix:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3030
### Updated
3131

3232
- Updated Elasticsearch version to 8.19.5 in CI/CD test matrix and compose.yml. [#497](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/497)
33+
- Updated OpenSearch version to 2.19.3 in CI/CD test matrix and compose.yml. [#499](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/499)
34+
- Updated elasticsearh python library to 8.19.1 in setup.py. [#499](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/499)
3335

3436
## [v6.5.1] - 2025-09-30
3537

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484

8585
opensearch:
8686
container_name: os-container
87-
image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.11.1}
87+
image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.19.3}
8888
hostname: opensearch
8989
environment:
9090
- discovery.type=single-node

stac_fastapi/elasticsearch/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
install_requires = [
99
"stac-fastapi-core==6.5.1",
1010
"sfeos-helpers==6.5.1",
11-
"elasticsearch[async]~=8.18.0",
11+
"elasticsearch[async]~=8.19.1",
1212
"uvicorn~=0.23.0",
1313
"starlette>=0.35.0,<0.36.0",
1414
]

0 commit comments

Comments
 (0)