a0bef71d652f39306c719ec4049fa987e18597aa
[integration/csit.git] / plans / optf-has / has / setup.sh
1 #!/bin/bash
2 #
3 # Copyright 2016-2017 Huawei Technologies Co., Ltd.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17
18
19 #
20 # add here eventual scripts needed for music
21 #
22 echo "# music scripts calling";
23 source ${WORKSPACE}/test/csit/scripts/optf-has/has/music_script.sh
24
25
26 #
27 echo "# simulator scripts calling";
28 source ${WORKSPACE}/test/csit/scripts/optf-has/has/simulator_script.sh
29
30 # add here eventual scripts needed for optf/has
31 #
32 echo "# optf/has scripts calling";
33 source ${WORKSPACE}/test/csit/scripts/optf-has/has/has_script.sh
34
35 #
36 # add here below the start of all docker containers needed for optf/has CSIT testing
37 #
38 echo "# optf/has scripts docker containers spinoff";
39
40 #
41 # add here all the configuration steps eventually needed to be carried out for optf/has CSIT testing
42 #
43 echo "# optf/has configuration step";
44
45
46 #
47 # add here all ROBOT_VARIABLES settings
48 #
49 echo "# optf/has robot variables settings";
50 echo "conductor ip = ${COND_IP}"
51 echo "music ip = ${TOMCAT_IP}"
52
53 ROBOT_VARIABLES="-v MUSIC_HOSTNAME:http://${TOMCAT_IP} -v MUSIC_PORT:8080 -v COND_HOSTNAME:http://${COND_IP} -v COND_PORT:8091"
54
55 echo ${ROBOT_VARIABLES}
56
57
58