-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use docker compose for elasticsearch/opensearch integration tests #5490
Conversation
Signed-off-by: Your Name <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure you're on the latest main
, you are working against a stale version
Signed-off-by: Your Name <[email protected]>
Signed-off-by: mehul gautam <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script change Lgtm overall
docker-compose/elasticsearch/docker-compose-elasticsearch-v7.yml
Outdated
Show resolved
Hide resolved
docker-compose/elasticsearch/docker-compose-elasticsearch-v8.yml
Outdated
Show resolved
Hide resolved
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
did you do a local run of these tests? |
yes locally it is running fine |
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
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. |
Signed-off-by: Your Name <[email protected]>
Signed-off-by: Your Name <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
@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 <[email protected]> Signed-off-by: mehul gautam <[email protected]> Co-authored-by: Your Name <[email protected]> Signed-off-by: Vamshi Maskuri <[email protected]>
Which problem is this PR solving?
Part of #5485
Description of the changes
script/es-integration-test.sh
to use docker compose files.github/workflows/ci-elasticsearch.yml
now it only passes the major version for elasticsearch.github/workflows/ci-opensearch.yml
now it only passes major version for opensearchdocker-compose/elasticsearch
anddocker-compose/opensearch
setup_es
andsetup_opensearch
function and a generalizedsetup_db()
functionHow was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test