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