diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-06-22 08:47:04 -0700 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-06-22 08:47:21 -0700 |
commit | 10e9106094d2989909eaa0015a45574137b7776c (patch) | |
tree | 8a9f3163b91a7e761497680c03fd42dabacfb009 /fuel-plugin/pre_build_hook | |
parent | 465249b61b72d33fe1fad8d43da332faef22bec0 (diff) |
cleanup: remove fuel plugin since fuel@opnfv uses mcp
Change-Id: I5e0687008c53ee03973da5a3b58880b9b7c7de1c
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/pre_build_hook')
-rwxr-xr-x | fuel-plugin/pre_build_hook | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/fuel-plugin/pre_build_hook b/fuel-plugin/pre_build_hook deleted file mode 100755 index 549bc19ff..000000000 --- a/fuel-plugin/pre_build_hook +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -set -eux - -BUILD_FOR=${BUILD_FOR:-ubuntu} -DIR="$(dirname `readlink -f $0`)" -MODULES="${DIR}/deployment_scripts/puppet/modules" - -SHELLVAR_VERSION='2.2.1' -AUGCORE_VERSION='2.1.3' - -SHELLVAR_URL="https://github.com/hercules-team/augeasproviders_shellvar/archive/${SHELLVAR_VERSION}.tar.gz" -AUGCORE_URL="https://github.com/hercules-team/augeasproviders_core/archive/${AUGCORE_VERSION}.tar.gz" - -function build_pkg { - case $1 in - ubuntu) - rm -rf repositories/ubuntu; mkdir -p repositories/ubuntu - sudo docker build -t kvm . - - # run /kvmfornfv/fuel-plugin/build_kvm.sh in docker - sudo docker run -v ${DIR}/..:/kvmfornfv -t kvm /kvmfornfv/fuel-plugin/build_kvm.sh - # debug in console by the following command - # sudo docker run -v /kvmfornfv:/kvmfornfv -ti kvm /bin/bash - cp ${DIR}/../*.deb repositories/ubuntu - ;; - *) echo "Not supported system"; exit 1;; - esac -} - -for system in $BUILD_FOR -do - build_pkg $system -done - -rm -rf ${MODULES}/* -mkdir -p ${MODULES}/shellvar ${MODULES}/augcore - -wget -qO- ${SHELLVAR_URL} | tar -C ${MODULES}/shellvar --strip-components=1 -zxvf - -wget -qO- ${AUGCORE_URL} | tar -C ${MODULES}/augcore --strip-components=1 -zxvf - |