Change install_script_version to script_version 07/60607/1
authorPraneta Paithankar <praneta.paithankar@intel.com>
Tue, 14 Aug 2018 13:05:42 +0000 (06:05 -0700)
committerPraneta Paithankar <praneta.paithankar@intel.com>
Tue, 14 Aug 2018 13:10:26 +0000 (06:10 -0700)
The build_vcpe_vgmux.yaml contains install_script_version parameter in
nexus artifact url. This parameter is changed to script_version.

Issue-ID: INT-615

Change-Id: I80ce688ff09b07069661d449abeb6b78da1667d3
Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
heat/vCPE/vgmux/build_vcpe_vgmux.yaml

index ea00766..f7d843d 100644 (file)
@@ -204,7 +204,7 @@ resources:
             # Download and run install script
             apt-get -y install unzip
             if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
-            curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__install_script_version__" -o /opt/vcpe-scripts-__script_version__.zip
+            curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip
             unzip -j /opt/vcpe-scripts-__script_version__.zip -d /opt v_gmux_build.sh
             cd /opt
             chmod +x v_gmux_build.sh