aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/nbi/requirements.yaml
blob: 7062a1392c72da46ed44dcbd10a12af310781e4d (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright © 2017 Amdocs, Bell Canada
# Modifications Copyright © 2018 Orange
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

dependencies:
  - name: common
    version: ~8.x-0
    # local reference to common chart, as it is
    # a part of this chart's package and will not
    # be published independently to a repo (at this point)
    repository: '@local'
  - name: certInitializer
    version: ~8.x-0
    repository: '@local'
  - name: mongo
    version: ~8.x-0
    repository: '@local'
  - name: mariadb-galera
    version: ~8.x-0
    repository: '@local'
    condition: global.mariadbGalera.localCluster
  - name: mariadb-init
    version: ~8.x-0
    repository: '@local'
    condition: not global.mariadbGalera.localCluster
  - name: repositoryGenerator
    version: ~8.x-0
    repository: '@local'
play) DISPLAY=:$2 shift ;; --listener) LISTENERS="${LISTENER} --listener $2 " shift ;; -V) VARIABLEFILES="${VARIABLEFILES} -V $2 " shift ;; -v) VARIABLES="${VARIABLES} -v $2 " shift ;; esac shift done if [ "${ROBOT_TAGS}" = "" ];then ROBOT_TAGS=$DEFAULT_ROBOT_TEST fi # Start Xvfb echo -e "Starting Xvfb on display ${DISPLAY} with res ${RES}" Xvfb ${DISPLAY} -ac -screen 0 ${RES} +extension RANDR & XVFBPID=$! # Get pid of this spawned process to make sure we kill the correct process later export DISPLAY=${DISPLAY} # Execute tests echo -e "Executing robot tests at log level ${LOG_LEVEL}" ROBOT_LIBS=./robot/library:./robot/library/ONAPLibrary:./robot/library/vcpeutils:./robot/library/heatbridge cd /var/opt/${INSTALL_NAME} python -m robot.run -L ${LOG_LEVEL} -d ${OUTPUT_FOLDER} ${VARIABLEFILES} ${VARIABLES} ${LISTENERS} -P ${ROBOT_LIBS} ${ROBOT_TAGS} /var/opt/${INSTALL_NAME}/robot/testsuites/ RET_CODE=$? # Stop Xvfb we started earlier # select it from list of possible Xvfb pids running because # a) there may be multiple Xvfbs running and # b) the XVFBPID may not be the correct if the start did not actually work (unlikely and that may be) PIDS=$(pgrep Xvfb) for P in $PIDS do if [ $P == $XVFBPID ];then kill -9 $P fi done exit $RET_CODE