aboutsummaryrefslogtreecommitdiffstats
path: root/fuel-plugin/pre_build_hook
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-06-15 18:10:19 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-06-15 18:11:17 -0700
commita2ff61e74a7de5379dc2676d9e7b2b61bab809dc (patch)
tree27b01b88522e9df9015721fbd0156669a52f06d8 /fuel-plugin/pre_build_hook
parent68fc8023c0018e8380d35540d31d410ae5c507f9 (diff)
cleanup: remove fuel plugin since fuel@opnfv uses mcp
Change-Id: Ic9fb9db5c5af517cec1e60740ce5a8fe0572c5bf Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/pre_build_hook')
-rwxr-xr-xfuel-plugin/pre_build_hook33
1 files changed, 0 insertions, 33 deletions
diff --git a/fuel-plugin/pre_build_hook b/fuel-plugin/pre_build_hook
deleted file mode 100755
index 9c0a40e65..000000000
--- a/fuel-plugin/pre_build_hook
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-set -eux
-
-BUILD_FOR=${BUILD_FOR:-ubuntu}
-DIR="$(dirname `readlink -f $0`)"
-
-function build_pkg {
- case $1 in
- ubuntu)
- rm -rf ${DIR}/repositories/ubuntu; mkdir -p ${DIR}/repositories/ubuntu
-
- # fixme: don't support offline installation now since pip in
- # deployment_scripts/install.sh needs to access to internet
- #
- # cd ${DIR}/repositories/ubuntu
- # Use aptititude; apt-get -d will skip download if package is already installed
- # sudo apt-get install aptitude -y
- # Download python packages into the repository
- # aptitude download python-virtualenv python-dev libffi-dev libssl-dev
-
- cd ${DIR}/..
- tar -czf ${DIR}/repositories/ubuntu/yardstick.tar.gz . --exclude=yardstick.tar.gz
- ;;
-
- *) echo "Not supported system"; exit 1;;
- esac
-}
-
-for system in $BUILD_FOR
-do
- build_pkg $system
-done