Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 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 | |
Leonardo Bellini | 50ee9d6 | 2018-03-15 04:39:25 -0500 | [diff] [blame] | 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 | |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 26 | # |
Leonardo Bellini | 39334cc | 2018-03-20 11:59:34 -0500 | [diff] [blame] | 27 | echo "# simulator scripts calling"; |
| 28 | source ${WORKSPACE}/test/csit/scripts/optf-has/has/simulator_script.sh |
| 29 | |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 30 | # add here eventual scripts needed for optf/has |
| 31 | # |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 32 | echo "# optf/has scripts calling"; |
Leonardo Bellini | d280c26 | 2018-03-09 04:26:58 -0600 | [diff] [blame] | 33 | source ${WORKSPACE}/test/csit/scripts/optf-has/has/has_script.sh |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 34 | |
| 35 | # |
| 36 | # add here below the start of all docker containers needed for optf/has CSIT testing |
| 37 | # |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 38 | echo "# optf/has scripts docker containers spinoff"; |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 39 | |
| 40 | # |
| 41 | # add here all the configuration steps eventually needed to be carried out for optf/has CSIT testing |
| 42 | # |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 43 | echo "# optf/has configuration step"; |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 44 | |
| 45 | |
| 46 | # |
| 47 | # add here all ROBOT_VARIABLES settings |
| 48 | # |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 49 | echo "# optf/has robot variables settings"; |
Leonardo Bellini | 50ee9d6 | 2018-03-15 04:39:25 -0500 | [diff] [blame] | 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" |
Leonardo Bellini | d452192 | 2018-03-01 08:48:10 -0600 | [diff] [blame] | 54 | |
| 55 | echo ${ROBOT_VARIABLES} |
| 56 | |
| 57 | |
| 58 | |