Dennis Dmitriev | 8555996 | 2018-01-30 15:35:51 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | . /home/jenkins/fuel-devops30/bin/activate |
| 4 | |
| 5 | export ENV_NAME=model-generator |
| 6 | export VENV_PATH=/home/jenkins/fuel-devops30 |
| 7 | # Image must be uploaded to the storage pool |
| 8 | export CFG01_DAY01_VOLUME_NAME=cfg01-day01.qcow2 |
| 9 | export SHUTDOWN_ENV_ON_TEARDOWN=true |
| 10 | export PYTHONIOENCODING=UTF-8 |
| 11 | export REPOSITORY_SUITE=testing |
| 12 | |
| 13 | export LAB_CONFIG_NAME=cookied-model-generator |
| 14 | export LAB_CONTEXT_NAME=cookied-mcp-ocata-dop-sl2 |
| 15 | #export LAB_CONTEXT_NAME=cookied-mcp-ocata-dvr-vxlan |
| 16 | #export LAB_CONTEXT_NAME=cookied-bm-mcp-dvr-vxlan |
| 17 | #export LAB_CONTEXT_NAME=cookied-bm-mcp-ocata-contrail |
| 18 | |
| 19 | export DOMAIN_NAME=${LAB_CONTEXT_NAME}.local |
| 20 | export SALT_STEPS_PATH=templates/${LAB_CONFIG_NAME}/salt_${LAB_CONTEXT_NAME}.yaml |
| 21 | |
| 22 | export TEST_GROUP=test_generate_model |
| 23 | |
| 24 | export STORAGE_POOL_NAME=second_pool |
| 25 | |
| 26 | export MAKE_SNAPSHOT_STAGES=false |
| 27 | |
| 28 | dos.py erase ${ENV_NAME} |
| 29 | |
| 30 | cd tcp_tests |
| 31 | py.test -vvv -s -p no:django -p no:ipdb --junit-xml=nosetests.xml -k ${TEST_GROUP} |