commit | f4169e30f1d8ebd00f2f57b06d2a534536fbcb38 | [log] [tgz] |
---|---|---|
author | Hanna Arhipova <harhipova@mirantis.com> | Fri Feb 08 11:19:41 2019 +0200 |
committer | harhipova <harhipova@mirantis.com> | Fri Mar 01 15:51:50 2019 +0000 |
tree | 10a5943088a8deb6d15ac3d926fd007afd5b9530 | |
parent | 5102750d952ad7492a0d40bda1aabdc73d010f19 [diff] |
Change jenkins_jobs_branch test to check release branches Fixes-Bug: #PROD-27768(PROD:27768) Change-Id: I2d0551f6291f79dc20b2d031e4e669c4009d0aa3
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 1```bash
3) Create virtualenv and install requirements and package: ```bash # 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