Permalink
Browse files

add bandwidth_proxy package

Change-Id: I21ce405f3ed27287804d5afd614db4d20b6029a4
  • Loading branch information...
andyzh committed Oct 16, 2012
1 parent 0a222f8 commit 3d0d7763cac147604e91576642359f3fed72330a
Showing with 21 additions and 0 deletions.
  1. +13 −0 packages/bandwidth_proxy/packaging
  2. +8 −0 packages/bandwidth_proxy/spec
@@ -0,0 +1,13 @@
+# abort script on any command that exit with a non zero value
+set -e
+
+cp -a services/tools/bandwidth_proxy/* ${BOSH_INSTALL_TARGET}
+(
+ GOLANG_PATH=`readlink -nf /var/vcap/packages/golang`
+ PATH=$GOLANG_PATH/bin:$PATH
+ export GOROOT=`readlink -nf /var/vcap/packages/golang`
+ export GOPATH=`readlink -nf ${BOSH_INSTALL_TARGET}`
+
+ cd ${BOSH_INSTALL_TARGET}/src
+ go install bandwidth_proxy
+)
@@ -0,0 +1,8 @@
+---
+name: bandwidth_proxy
+
+dependencies:
+- golang
+
+files:
+- services/tools/bandwidth_proxy/**/*

0 comments on commit 3d0d776

Please sign in to comment.