commit | 1032e0a5244c6cb50ee382d27ec70c4daa327dea | [log] [tgz] |
---|---|---|
author | Oleksii Zhurba <ozhurba@mirantis.com> | Mon Dec 17 05:35:47 2018 +0000 |
committer | Gerrit Code Review <mail@domain.com> | Mon Dec 17 05:35:47 2018 +0000 |
tree | 33bca18dc8bcf27b6871e56b363e582de313c75f | |
parent | f1f2ffeb67ead37e8bdc1e502a03d6ffc0bb65d6 [diff] | |
parent | 903d0e4bee63e4d109351e7c8961665476d9daeb [diff] |
Merge "Switch to keystonercv3 in OS tests" into dev
This is salt-based set of tests for basic verification of MCP deployments
# root@cfg-01:~/# git clone https://github.com/Mirantis/cvp-sanity-checks # cd cvp-sanity-checks
Use git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 if needed.
# curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz # tar xvfz virtualenv-X.X.tar.gz # cd virtualenv-X.X # sudo python setup.py install
or
# apt-get install python-virtualenv
# virtualenv --system-site-packages .venv # source .venv/bin/activate # pip install --proxy http://$PROXY:8678 -r requirements.txt # python setup.py install # python setup.py develop
# vim cvp_checks/global_config.yaml
SALT credentials are mandatory for tests.
Other settings are optional (please keep uncommented with default values)
Alternatively, you can specify these settings via env variables:
export SALT_URL=http://10.0.0.1:6969
For array-type settings please do:
export skipped_nodes='ctl01.example.com,ctl02.example.com'
# pytest --tb=short -sv cvp_checks/tests/
or
# pytest -sv cvp_checks/tests/ --ignore cvp_checks/tests/test_mtu.py