Changeset View
Changeset View
Standalone View
Standalone View
swh/objstorage/tests/winery/README.md
- This file was added.
# Installation | |||||
* ensure virsh is available | |||||
* pip install -r requirements.txt | |||||
# Create | |||||
* ansible-galaxy install geerlingguy.docker | |||||
* ./build-vms.sh | |||||
* runner=debian@10.11.12.211 | |||||
* idx=debian@10.11.12.213 | |||||
* ansible-playbook -i inventory ceph.yml osd.yml rw.yml tests.yml | |||||
# Running | |||||
* rsync -av --exclude=.git --exclude=.mypy_cache --exclude=.coverage --exclude=.eggs --exclude=swh.objstorage.egg-info --exclude=*.img --exclude=*.qcow2 --exclude=.tox --exclude='*~' --exclude=__pycache__ --exclude='*.py[co]' $(git rev-parse --show-toplevel)/ $runner:swh-objstorage/ ; ssh -t $runner bash -c "'cd swh-objstorage ; ../venv/bin/tox -e py3 -- -k test_winery'" | |||||
# Destroy | |||||
* ./build-vms.sh stop $(seq 1 8) |