commit | 228c46d28d809560712fe95d4c9469ca4546dbb7 | [log] [tgz] |
---|---|---|
author | mkraynov <mkraynov@mirantis.com> | Fri Nov 30 15:09:33 2018 +0400 |
committer | Oleksii Zhurba <ozhurba@mirantis.com> | Fri Dec 14 20:31:17 2018 +0000 |
tree | f0b5f57b4292ad842704e42abb397d7e6e94996e | |
parent | 360c30d955444c179a35f50f0d7c817611b07c51 [diff] |
Add upgrade-mcp-release job to skip list in branch check Change-Id: I106c24279841c713e70c626da63914c9ad1ba836 Related-PROD: PROD-25433
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