diff options
author | Victor Morales <victor.morales@intel.com> | 2018-08-28 15:09:02 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-08-30 10:11:00 -0700 |
commit | 574785c07010a494fbd1456d11e7c0449ad43c38 (patch) | |
tree | d0b8bc992752d5344a9de281e01558bd32b6071b /deployments | |
parent | 88579fa6f563a3bea8c39aa98159eb54d13d44a5 (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')
-rwxr-xr-x | deployments/build.sh | 6 |
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 |