aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/periodic.sh
blob: ea2c269e84acaec2a089677a3781b3683fd7076b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/bash
##############################################################################
# Copyright (c) 2017 ZTE and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
set -e
set -x

script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

source ${script_dir}/utils/start_services.sh

if [[ "${TEST_SUITE}" =~ "compute" ]];then
    docker exec ${TEST_SUITE}_qtip_${SUT} bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh -u "${SUT}"
elif [[ "${TEST_SUITE}" =~ "network" ]];then
    :
else
    docker exec ${TEST_SUITE}_qtip bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh
fi

echo "${TEST_SUITE} QPI done!"

exit 0