forked from jaegertracing/jaeger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use docker compose for elasticsearch/opensearch integration tests (ja…
…egertracing#5490) ## Which problem is this PR solving? Part of jaegertracing#5485 ## Description of the changes * updated `script/es-integration-test.sh` to use docker compose files * updated `.github/workflows/ci-elasticsearch.yml` now it only passes the major version for elasticsearch * updated `.github/workflows/ci-opensearch.yml` now it only passes major version for opensearch * added docker compose files at `docker-compose/elasticsearch` and `docker-compose/opensearch` * removed` setup_es` and `setup_opensearch` function and a generalized `setup_db()` function ## How was this change tested? - CI ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Your Name <[email protected]> Signed-off-by: mehul gautam <[email protected]> Co-authored-by: Your Name <[email protected]> Signed-off-by: Vamshi Maskuri <[email protected]>
- Loading branch information
1 parent
a1b0dd2
commit d10998b
Showing
7 changed files
with
89 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.8' | ||
|
||
services: | ||
elasticsearch: | ||
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.0 | ||
environment: | ||
- discovery.type=single-node | ||
- http.host=0.0.0.0 | ||
- transport.host=127.0.0.1 | ||
- xpack.security.enabled=false # Disable security features | ||
- xpack.security.http.ssl.enabled=false # Disable HTTPS | ||
- xpack.monitoring.enabled=false # Disable monitoring features | ||
ports: | ||
- "9200:9200" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '3.8' | ||
|
||
services: | ||
elasticsearch: | ||
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2 | ||
environment: | ||
- discovery.type=single-node | ||
- http.host=0.0.0.0 | ||
- transport.host=127.0.0.1 | ||
- xpack.security.enabled=false # Disable security features | ||
- xpack.security.http.ssl.enabled=false # Disable HTTPS | ||
- action.destructive_requires_name=false | ||
- xpack.monitoring.collection.enabled=false # Disable monitoring features | ||
ports: | ||
- "9200:9200" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: '3.8' | ||
|
||
services: | ||
opensearch: | ||
image: opensearchproject/opensearch:1.3.9 | ||
environment: | ||
- discovery.type=single-node | ||
- plugins.security.disabled=true | ||
- http.host=0.0.0.0 | ||
- transport.host=127.0.0.1 | ||
ports: | ||
- "9200:9200" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '3.8' | ||
|
||
services: | ||
opensearch: | ||
image: opensearchproject/opensearch:2.5.0 | ||
environment: | ||
- discovery.type=single-node | ||
- plugins.security.disabled=true | ||
- http.host=0.0.0.0 | ||
- transport.host=127.0.0.1 | ||
ports: | ||
- "9200:9200" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters