mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 18:25:44 +00:00
#### What this PR does / why we need it: Remove unused GitHub workflow files that are either disabled or related to legacy chaos/deploy automation, and clean up README links that pointed to removed workflows. Removed workflows: - `.github/workflows/delete_comments.yaml` - `.github/workflows/deploy-test.yaml` - `.github/workflows/io-latency-chaos-test.yaml` - `.github/workflows/mem-stress-chaos-test.yaml` - `.github/workflows/network-latency-chaos-test.yaml` - `.github/workflows/network-partition-chaos-test.yaml` - `.github/workflows/pod-failure-chaos-test.yaml` - `.github/workflows/pod-kill-chaos-test-kafka-version.yaml` - `.github/workflows/pod-kill-chaos-test.yaml` - `.github/workflows/simd-compatibility-test.yaml` #### Which issue(s) this PR fixes: issue: #49574 #### Special notes for your reviewer: This is a GitHub Actions cleanup only. The removed workflow file names no longer have references under `.github` or `tests`. #### Verification: - `git diff --check` - `rg -n "delete_comments|deploy-test\.yaml|io-latency-chaos-test|mem-stress-chaos-test|network-latency-chaos-test|network-partition-chaos-test|pod-failure-chaos-test|pod-kill-chaos-test|simd-compatibility-test" .github tests` returned no matches Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
Overview
To test deployment by docker-compose(Both standalone and cluster)
- re-install milvus to check data persistence
- Deploy Milvus
- Insert data
- Build index
- Search
- Stop Milvus
- Repeat from step #1
- upgrade milvus to check data compatibility
- Deploy Milvus (Previous Release)
- Insert data
- Search
- Stop Milvus
- Deploy Milvus (Latest Release/Build)
- Build index
- Search
Project structure
.
├── README.md
├── cluster # dir to deploy cluster
│ ├── logs # dir to save logs
│ └──docker-compose.yml
├── standalone # dir to deploy standalone
│ ├── logs # dir to save logs
│ └──docker-compose.yml
├── scripts
│ ├── action_after_upgrade.py
│ ├── action_before_upgrade.py
│ ├── action_reinstall.py
│ └── utils.py
├── cluster-values.yaml # config for helm deployment
├── test.sh # script to run a single task
└── run.sh # script to run all tasks
Usage
Make sure you have installed docker,docker-compose and pymilvus!
For different version, you should modify the value of latest_tag, latest_rc_tag and Release. Password of root is needed for deleting volumes dir.
single test task
$ bash test.sh -m ${Mode} -t ${Task} -p ${Password}
# Mode, the mode of milvus deploy. standalone or cluster"
# Task, the task type of test. reinstall or upgrade
# Password, the password of root"
run all tasks
$ bash run.sh -p ${Password}
# Password, the password of root"