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