blob: a447cf5d93d114f4f57bbdae150568b270b25db6 [file] [log] [blame]
demskeq8cb750972021-06-02 15:50:12 +02001#!/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# Modifications copyright (c) 2017 AT&T Intellectual Property
18# Modifications copyright (c) 2021 highstreet technologies GmbH Property
19#
20
highstreetherbert063addc2021-08-10 16:53:05 +020021# Remove all not needed images and clean workspace
22sudo apt clean
23docker rmi -f $(docker images onap/sdnc-dmaap-listener-image -a -q)
24docker rmi -f $(docker images onap/sdnc-ueb-listener-image -a -q)
25docker rmi -f $(docker images onap/onap/sdnc-web-image -a -q)
26docker rmi -f $(docker images onap/sdnc-ansible-server-image -a -q)
27docker rmi -f $(docker images onap/sdnc-aaf-image -a -q)
28docker rmi -f $(docker images onap/ccsdk-ansible-server-image -a -q)
29docker rmi -f $(docker images onap/ccsdk-odlsli-alpine-image -a -q)
30docker images
31
32echo "Start plan sdnr"
33
demskeq8cb750972021-06-02 15:50:12 +020034source ${WORKSPACE}/scripts/sdnr/sdnr-launch.sh
35onap_dependent_components_launch
36nts_networkfunctions_launch ${WORKSPACE}/plans/sdnr/testdata/nts-networkfunctions.csv
37sdnr_launch
38
39#Pass any variables required by Robot test suites in ROBOT_VARIABLES
40ROBOT_VARIABLES="--variablefile=${WORKSPACE}/plans/sdnr/testdata/localhost.py"
demskeq800960a32021-07-21 09:37:41 +020041ROBOT_IMAGE="hightec/sdnc-test-lib:v0.9.1"
demskeq8cb750972021-06-02 15:50:12 +020042