-
Notifications
You must be signed in to change notification settings - Fork 1.3k
chore: Add Milvus to pr_integration_tests.yml #4891
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,10 @@ jobs: | |
| --health-interval 10s | ||
| --health-timeout 5s | ||
| --health-retries 5 | ||
| milvus: | ||
| image: milvus | ||
| ports: | ||
| - 19530:19530 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
|
|
@@ -95,6 +99,10 @@ jobs: | |
| run: | | ||
| docker pull vishnunair/docker-redis-cluster:latest | ||
| docker run -d -p 6001:6379 -p 6002:6380 -p 6003:6381 -p 6004:6382 -p 6005:6383 -p 6006:6384 --name redis-cluster vishnunair/docker-redis-cluster | ||
| - name: Setup Milvus Cluster | ||
| run: | | ||
| wget https://github.com/milvus-io/milvus/releases/download/v2.4.20/milvus-standalone-docker-compose.yml -O docker-compose.yml | ||
| docker compose up -d | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't we need to tear down the cluster before ending the job?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nope, we don't for Redis. It'll happen automatically by the action. You can confirm this in the example I linked here: https://github.com/franciscojavierarceo/testing-github-action-sandbox/actions/runs/12602548011/job/35125851535
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure why do we need both one in action and services? do we need at both places? Looks like we are following the same pattern for redis as well.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are some benefits for services but for Milvus, the service isn't necessary. I just followed what I thought was the convention but it's not necessary. I'll update the PR. 👍 |
||
| - name: Test python | ||
| if: ${{ always() }} # this will guarantee that step won't be canceled and resources won't leak | ||
| env: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.