summaryrefslogtreecommitdiffstats
path: root/deployments/build.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-08-28 15:09:02 -0700
committerVictor Morales <victor.morales@intel.com>2018-08-30 10:11:00 -0700
commit574785c07010a494fbd1456d11e7c0449ad43c38 (patch)
treed0b8bc992752d5344a9de281e01558bd32b6071b /deployments/build.sh
parent88579fa6f563a3bea8c39aa98159eb54d13d44a5 (diff)
Add KRD source code
This changes includes the source code created for the Kubernetes Reference Deployment(KRD) which helps to provide an automated mechanism to install and configure Kubernetes services required for the MultiCloud/K8s plugin. Change-Id: Ica49566fcd531e25846ed3e5062de2f92ec56f6c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
Diffstat (limited to 'deployments/build.sh')
-rwxr-xr-xdeployments/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/deployments/build.sh b/deployments/build.sh
index 667be5f5..7c2d7379 100755
--- a/deployments/build.sh
+++ b/deployments/build.sh
@@ -13,10 +13,12 @@ set -o pipefail
set -o xtrace
function generate_binary {
- GOPATH=$(go env GOPATH)
+ export GOPATH="$(pwd)/../"
rm -f k8plugin
rm -f *.so
- $GOPATH/bin/dep ensure -v
+ pushd ../src/k8splugin/
+ dep ensure -v
+ popd
for plugin in deployment namespace service; do
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -buildmode=plugin -a -tags netgo -o ./$plugin.so ../src/k8splugin/plugins/$plugin/plugin.go
done