blob: c92cb2b4625c1644681ad57c9725d01e5025ab25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# Set the working directory
working_directory="/home/sdc"
# Extract the cl_release version
version="1.13.9"
cl_release=$(echo $version | cut -d. -f1-3 | cut -d- -f1)
echo -e "\033[33mcl_release=[$cl_release]\033[0m"
# Execute the import-Conformance command
conf_dir="/home/sdc/sdctool/config"
tosca_dir="/home/sdc/sdctool/tosca"
cl_version=$(grep 'toscaConformanceLevel:' $conf_dir/configuration.yaml | awk '{print $2}')
cd /home/sdc/sdctool/scripts
chmod +x sdcSchemaFileImport.sh
echo "execute /home/sdc/sdctool/scripts/sdcSchemaFileImport.sh ${tosca_dir} ${cl_release} ${cl_version} ${conf_dir} onap"
./sdcSchemaFileImport.sh ${tosca_dir} ${cl_release} ${cl_version} ${conf_dir} onap
|