3 # Copyright 2019 © Samsung Electronics Co., Ltd.
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
18 echo "This is ${WORKSPACE}/scripts/sdc-dcae-d/setup_sdc_dcaed.sh"
20 # I am leaving this here for explicity - but the same is already set inside setup sdc...
21 export ENV_NAME='CSIT'
24 set -- # to wipe out arguments...
25 source ${WORKSPACE}/scripts/sdc/setup_sdc_for_sanity.sh
26 export ROBOT_VARIABLES
32 mkdir -p "${WORKSPACE}/data/clone/"
33 cd "${WORKSPACE}/data/clone"
34 git clone --depth 1 "https://gerrit.onap.org/r/sdc/dcae-d/dt-be-main"
36 # set enviroment variables
37 source ${WORKSPACE}/data/clone/dt-be-main/version.properties
38 export DCAE_RELEASE=$major.$minor-STAGING-latest
40 cp ${WORKSPACE}/data/clone/dt-be-main/docker/scripts/docker_run.sh ${WORKSPACE}/scripts/sdc-dcae-d/dcaed_docker_run.sh
42 ${WORKSPACE}/scripts/sdc-dcae-d/dcaed_docker_run.sh -r ${DCAE_RELEASE} -e ${ENV_NAME} -p 10001
44 # This file is sourced in another script which is out of our control...