diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index da9f8938..e3e94a13 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -32,8 +32,8 @@ jobs: ports: - 9200:9200 - opensearch_2_11: - image: opensearchproject/opensearch:2.11.1 + opensearch_2_19: + image: opensearchproject/opensearch:2.19.3 env: cluster.name: stac-cluster node.name: os01 @@ -42,12 +42,19 @@ jobs: discovery.type: single-node http.port: 9202 http.cors.enabled: true - plugins.security.disabled: true - plugins.security.ssl.http.enabled: true + DISABLE_SECURITY_PLUGIN: true + DISABLE_INSTALL_DEMO_CONFIG: true OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m action.destructive_requires_name: false ports: - 9202:9202 + options: >- + --health-cmd="curl -f http://localhost:9202/_cluster/health || exit 1" + --health-interval=10s + --health-timeout=5s + --health-retries=10 + --ulimit nofile=65536:65536 + --ulimit memlock=-1:-1 strategy: matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index fb8b2a2e..e4f28dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Updated - 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) +- 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) +- Updated elasticsearh python library to 8.19.1 in setup.py. [#499](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/499) ## [v6.5.1] - 2025-09-30 diff --git a/compose.yml b/compose.yml index b694c7e9..5dfa92e9 100644 --- a/compose.yml +++ b/compose.yml @@ -84,7 +84,7 @@ services: opensearch: container_name: os-container - image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.11.1} + image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.19.3} hostname: opensearch environment: - discovery.type=single-node diff --git a/stac_fastapi/elasticsearch/setup.py b/stac_fastapi/elasticsearch/setup.py index 1751df78..a3b16075 100644 --- a/stac_fastapi/elasticsearch/setup.py +++ b/stac_fastapi/elasticsearch/setup.py @@ -8,7 +8,7 @@ install_requires = [ "stac-fastapi-core==6.5.1", "sfeos-helpers==6.5.1", - "elasticsearch[async]~=8.18.0", + "elasticsearch[async]~=8.19.1", "uvicorn~=0.23.0", "starlette>=0.35.0,<0.36.0", ]