blob: 420b8055300cf691f4e5ce8b9e7472d4e9e5c6b6 [file] [log] [blame]
Tatyana Leontovichd34f4102018-04-03 17:49:24 +03001#!/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-e-dpdk
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-dpdk
13export CLUSTER_NAME=virtual-offline-pike-ovs-dpdk
14export REPOSITORY_SUITE=2018.3.0
Tatyana Leontovich14e201d2018-07-05 13:28:54 +030015export SALT_VERSION=2017.7
Tatyana Leontovichd34f4102018-04-03 17:49:24 +030016
17export TEST_GROUP=test_mcp_pike_ovs_install
18export RUN_TEMPEST=true
19
20# Offline deploy parameters
Tatyana Leontovichbb29d1d2018-06-19 13:23:04 +030021#export SALT_MODELS_REF_CHANGE=refs/changes/44/15144/1
Tatyana Leontovichd34f4102018-04-03 17:49:24 +030022
23export BOOTSTRAP_TIMEOUT=1200
24
25export HOST_APT=10.170.0.226
26export HOST_SALTSTACK=10.170.0.226
27export HOST_ARCHIVE_UBUNTU=10.170.0.226
28export HOST_MIRROR_MCP_MIRANTIS=10.170.0.226
29export HOST_MIRROR_FUEL_INFRA=10.170.0.226
30export HOST_PPA_LAUNCHPAD=10.170.0.226
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030031export DISTRIB_CODENAME=xenial
Tatyana Leontovichd34f4102018-04-03 17:49:24 +030032
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#export SALT_REPOSITORY="deb [arch=amd64] http://apt.mirantis.local.test/ubuntu-xenial/ ${REPOSITORY_SUITE} salt/2017.7 main"
Tatyana Leontovichd34f4102018-04-03 17:49:24 +030039export SALT_GPG="http://apt.mirantis.local.test/public.gpg"
Tatyana Leontovichbb29d1d2018-06-19 13:23:04 +030040export UBUNTU_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/${REPOSITORY_SUITE}/ubuntu xenial main universe restricted"
41export UBUNTU_UPDATES_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/${REPOSITORY_SUITE}/ubuntu xenial-updates main universe restricted"
42export UBUNTU_SECURITY_REPOSITORY="deb http://mirror.mcp.mirantis.local.test/${REPOSITORY_SUITE}/ubuntu xenial-security main universe restricted"
Tatyana Leontovichd34f4102018-04-03 17:49:24 +030043
44cd tcp_tests
45py.test -vvv -s -p no:django -p no:ipdb --junit-xml=nosetests.xml -k ${TEST_GROUP}