Use docker compose for elasticsearch/opensearch integration tests#5490
Conversation
Signed-off-by: Your Name <you@example.com>
yurishkuro
left a comment
There was a problem hiding this comment.
please make sure you're on the latest main, you are working against a stale version
Signed-off-by: Your Name <you@example.com>
Signed-off-by: mehul gautam <mehulsharma4786@gmail.com>
yurishkuro
left a comment
There was a problem hiding this comment.
Script change Lgtm overall
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
|
did you do a local run of these tests? |
|
yes locally it is running fine |
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5490 +/- ##
=======================================
Coverage 96.20% 96.20%
=======================================
Files 330 330
Lines 16151 16151
=======================================
Hits 15538 15538
Misses 437 437
Partials 176 176
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@yurishkuro do you why is this codecov test failing |
|
Thanks! |
|
@hellspawn679 one thing we forgot is to add the sections to .github/dependabot.yml so that dependabot can actually upgrade versions in those files |
|
codecov - I think it was just a delay, it now updated the comment saying 96% coverage #5490 (comment) |
|
ok i will add it
|
…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 <you@example.com> Signed-off-by: mehul gautam <mehulsharma4786@gmail.com> Co-authored-by: Your Name <you@example.com> Signed-off-by: Vamshi Maskuri <gwcchintu@gmail.com>
Which problem is this PR solving?
Part of #5485
Description of the changes
script/es-integration-test.shto use docker compose files.github/workflows/ci-elasticsearch.ymlnow it only passes the major version for elasticsearch.github/workflows/ci-opensearch.ymlnow it only passes major version for opensearchdocker-compose/elasticsearchanddocker-compose/opensearchsetup_esandsetup_opensearchfunction and a generalizedsetup_db()functionHow was this change tested?
Checklist
jaeger:make lint testjaeger-ui:yarn lintandyarn test