Tatyana Leontovich | 50e62dd | 2018-03-28 20:59:52 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | . /home/jenkins/fuel-devops30/bin/activate |
| 4 | pip install -r ./tcp_tests/requirements.txt -U |
| 5 | pip install psycopg2 |
| 6 | |
| 7 | export ENV_NAME=virtual-offline-ssl |
| 8 | export VENV_PATH=/home/jenkins/fuel-devops30 |
| 9 | export IMAGE_PATH1604=/home/jenkins/images/xenial-server-cloudimg-amd64.qcow2 |
| 10 | export SHUTDOWN_ENV_ON_TEARDOWN=false |
| 11 | export PYTHONIOENCODING=UTF-8 |
| 12 | export LAB_CONFIG_NAME=virtual-offline-ssl |
| 13 | export CLUSTER_NAME=virtual-offline-ssl |
| 14 | export REPOSITORY_SUITE=proposed |
| 15 | |
| 16 | export TEST_GROUP=test_mcp_pike_ovs_install |
| 17 | export RUN_TEMPEST=true |
| 18 | |
| 19 | # Offline deploy parameters |
| 20 | #export SALT_MODELS_REF_CHANGE=refs/changes/44/15144/1 |
| 21 | |
| 22 | export BOOTSTRAP_TIMEOUT=1200 |
| 23 | |
| 24 | export HOST_APT=10.170.0.226 |
| 25 | export HOST_SALTSTACK=10.170.0.226 |
| 26 | export HOST_ARCHIVE_UBUNTU=10.170.0.226 |
| 27 | export HOST_MIRROR_MCP_MIRANTIS=10.170.0.226 |
| 28 | export HOST_MIRROR_FUEL_INFRA=10.170.0.226 |
| 29 | export HOST_PPA_LAUNCHPAD=10.170.0.226 |
| 30 | |
| 31 | export SALT_MODELS_SYSTEM_REPOSITORY=https://gerrit.mcp.mirantis.local.test/salt-models/reclass-system |
| 32 | export SALT_FORMULAS_REPO=https://gerrit.mcp.mirantis.local.test/salt-formulas |
| 33 | export FORMULA_REPOSITORY="deb [arch=amd64] http://apt.mirantis.local.test/ubuntu-xenial ${REPOSITORY_SUITE} salt extra" |
| 34 | export FORMULA_GPG="http://apt.mirantis.local.test/public.gpg" |
| 35 | export SALT_REPOSITORY="deb [arch=amd64] http://apt.mirantis.local.test/ubuntu-xenial/ ${REPOSITORY_SUITE} salt/2016.3 main" |
| 36 | export SALT_GPG="http://apt.mirantis.local.test/public.gpg" |
| 37 | export UBUNTU_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial main universe restricted" |
| 38 | export UBUNTU_UPDATES_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial-updates main universe restricted" |
| 39 | export UBUNTU_SECURITY_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial-security main universe restricted" |
| 40 | |
| 41 | cd tcp_tests |
| 42 | py.test -vvv -s -p no:django -p no:ipdb --junit-xml=nosetests.xml -k ${TEST_GROUP} |