From 302c1e502c8d5fa1f07b8683b81c7bd762da3582 Mon Sep 17 00:00:00 2001 From: Praneta Paithankar Date: Fri, 10 Aug 2018 06:54:33 -0700 Subject: 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 --- heat/vCPE/vgmux/base_vcpe_vgmux.yaml | 1 - heat/vCPE/vgmux/build_vcpe_vgmux.yaml | 1 - heat/vCPE/vgw/base_vcpe_vgw.yaml | 1 - heat/vCPE/vgw/build_vcpe_vgw.yaml | 1 - 4 files changed, 4 deletions(-) (limited to 'heat') 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 diff --git a/heat/vCPE/vgw/base_vcpe_vgw.yaml b/heat/vCPE/vgw/base_vcpe_vgw.yaml index e58634c6..5167c0a0 100644 --- a/heat/vCPE/vgw/base_vcpe_vgw.yaml +++ b/heat/vCPE/vgw/base_vcpe_vgw.yaml @@ -236,7 +236,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_gw_install.sh - sudo su - cd /opt chmod +x v_gw_install.sh ./v_gw_install.sh diff --git a/heat/vCPE/vgw/build_vcpe_vgw.yaml b/heat/vCPE/vgw/build_vcpe_vgw.yaml index a80d1ef3..3bd8532b 100644 --- a/heat/vCPE/vgw/build_vcpe_vgw.yaml +++ b/heat/vCPE/vgw/build_vcpe_vgw.yaml @@ -188,7 +188,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_gw_build.sh - sudo su - cd /opt chmod +x v_gw_build.sh ./v_gw_build.sh -- cgit 1.2.3-korg