yellow-shine 241c71fdde enhance: use docker compose instead of docker-compose (#35208) | 2 月之前 | |
---|---|---|
.. | ||
cluster | 2 年之前 | |
scripts | 1 年之前 | |
standalone | 2 年之前 | |
testcases | 5 月之前 | |
README.md | 2 月之前 | |
__init__.py | 2 年之前 | |
base.py | 2 年之前 | |
check_healthy.sh | 2 月之前 | |
cluster-values.yaml | 6 月之前 | |
common.py | 1 年之前 | |
conftest.py | 2 年之前 | |
milvus_crd.yaml | 4 月之前 | |
monitor_rolling_update.py | 1 年之前 | |
requirements.txt | 6 月之前 | |
run.sh | 2 年之前 | |
standalone-values.yaml | 6 月之前 | |
test.sh | 2 月之前 | |
utils.sh | 2 月之前 |
To test deployment by docker-compose(Both standalone and cluster)
.
├── 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
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"
Provides a way to periodically run docker compose deployment tests through GitHub action:deploy-test