aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vCPE/vgmux
diff options
context:
space:
mode:
authorPraneta Paithankar <praneta.paithankar@intel.com>2018-08-10 06:54:33 -0700
committerPraneta Paithankar <praneta.paithankar@intel.com>2018-08-10 06:59:06 -0700
commit302c1e502c8d5fa1f07b8683b81c7bd762da3582 (patch)
tree992997c419d5f6d1feef4c971698692eeb860ab8 /heat/vCPE/vgmux
parent654fdf0c807e436d59b160e0bc9100e7af35eba8 (diff)
Automate vCPE vG-MUX and VG build image process
Build script is executed with its heat template. script_status.txt in /opt folder will show the status of execution of build and install script. Issue-ID: INT-620 Change-Id: I4b0b5c49ed20458b21423fc83545203e1aea02f5 Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
Diffstat (limited to 'heat/vCPE/vgmux')
-rw-r--r--heat/vCPE/vgmux/base_vcpe_vgmux.yaml1
-rw-r--r--heat/vCPE/vgmux/build_vcpe_vgmux.yaml1
2 files changed, 0 insertions, 2 deletions
diff --git a/heat/vCPE/vgmux/base_vcpe_vgmux.yaml b/heat/vCPE/vgmux/base_vcpe_vgmux.yaml
index 220c88fc..2bbf65c7 100644
--- a/heat/vCPE/vgmux/base_vcpe_vgmux.yaml
+++ b/heat/vCPE/vgmux/base_vcpe_vgmux.yaml
@@ -237,7 +237,6 @@ resources:
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=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip
unzip -j /opt/vcpe-scripts-__script_version__.zip -d /opt v_gmux_install.sh
- sudo su -
cd /opt
chmod +x v_gmux_install.sh
./v_gmux_install.sh
diff --git a/heat/vCPE/vgmux/build_vcpe_vgmux.yaml b/heat/vCPE/vgmux/build_vcpe_vgmux.yaml
index c2bd4f4d..ea007666 100644
--- a/heat/vCPE/vgmux/build_vcpe_vgmux.yaml
+++ b/heat/vCPE/vgmux/build_vcpe_vgmux.yaml
@@ -206,7 +206,6 @@ resources:
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
unzip -j /opt/vcpe-scripts-__script_version__.zip -d /opt v_gmux_build.sh
- sudo su -
cd /opt
chmod +x v_gmux_build.sh
./v_gmux_build.sh