blob: 612cd47e6fbf1c92bbc6b47dec0e3f03da394ee7 [file] [log] [blame]
Dennis Dmitriev75776c52017-12-26 18:22:53 +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-mcp-ocata-ceph-offline
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-mcp-ocata-ceph-offline
13export CLUSTER_NAME=virtual-mcp-ocata-ovs-ceph-local
14export REPOSITORY_SUITE=stable
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030015export DISTROS_CODENAME=xenial
Tatyana Leontovich14e201d2018-07-05 13:28:54 +030016export SALT_VERSION=2017.7
Dennis Dmitriev75776c52017-12-26 18:22:53 +020017
18export TEST_GROUP=test_ocata_ceph_all_ovs_install
19export RUN_TEMPEST=true
20
21# Offline deploy parameters
22export SALT_MODELS_REF_CHANGE=refs/changes/86/13886/9
23
24export BOOTSTRAP_TIMEOUT=1200
25
26export HOST_APT=10.170.0.242
27export HOST_SALTSTACK=10.170.0.242
28export HOST_ARCHIVE_UBUNTU=10.170.0.242
29export HOST_MIRROR_MCP_MIRANTIS=10.170.0.242
30export HOST_MIRROR_FUEL_INFRA=10.170.0.242
31export HOST_PPA_LAUNCHPAD=10.170.0.242
32
33export SALT_MODELS_SYSTEM_REPOSITORY=https://gerrit.mcp.mirantis.local.test/salt-models/reclass-system
34export SALT_FORMULAS_REPO=https://gerrit.mcp.mirantis.local.test/salt-formulas
35export FORMULA_REPOSITORY="deb [arch=amd64] http://apt.mirantis.local.test/ubuntu-xenial ${REPOSITORY_SUITE} salt extra"
36export FORMULA_GPG="http://apt.mirantis.local.test/public.gpg"
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030037export SALT_REPOSITORY = "deb [arch=amd64] http://mirror.mirantis.local.test/" + REPOSITORY_SUITE+ "/saltstack-" + SALT_VERSION+ "/${DISTRIB_CODENAME} ${DISTRIB_CODENAME} main"
38
Tatyana Leontovich14e201d2018-07-05 13:28:54 +030039export SALT_REPOSITORY="deb [arch=amd64] http://apt.mirantis.local.test/ubuntu-xenial/ ${REPOSITORY_SUITE} salt/2017.7 main"
Dennis Dmitriev75776c52017-12-26 18:22:53 +020040export SALT_GPG="http://apt.mirantis.local.test/public.gpg"
41export UBUNTU_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial main universe restricted"
42export UBUNTU_UPDATES_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial-updates main universe restricted"
43export UBUNTU_SECURITY_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/ubuntu xenial-security main universe restricted"
44
45cd tcp_tests
46py.test -vvv -s -p no:django -p no:ipdb --junit-xml=nosetests.xml -k ${TEST_GROUP}