From b7be24e3abb6d85e7e1745486509fdf6be010f72 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Thu, 30 May 2019 21:56:00 -0700 Subject: Fix collectd-operator build issue Fix build issues. Version control some files which were .gitignored. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan Change-Id: Ia7d1b9ef0e518c1afea5ca91103309724111028c --- vnfs/DAaaS/microservices/collectd-operator/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnfs/DAaaS/microservices/collectd-operator/Makefile') diff --git a/vnfs/DAaaS/microservices/collectd-operator/Makefile b/vnfs/DAaaS/microservices/collectd-operator/Makefile index c3c11f5e..0b07b4b7 100644 --- a/vnfs/DAaaS/microservices/collectd-operator/Makefile +++ b/vnfs/DAaaS/microservices/collectd-operator/Makefile @@ -12,7 +12,7 @@ VERSION := $(shell git describe --tags) BUILD := $(shell git rev-parse --short HEAD) PROJECTNAME := $(shell basename "$(PWD)") -GOPATH := $(shell realpath "$(PWD)/../../../../../") +GOPATH := $(shell realpath "$(PWD)/../../../../../../") COP = ${PWD}/build/_output/bin/collectd-operator IMAGE_NAME = dcr.cluster.local/collectd-operator:latest @@ -26,7 +26,7 @@ all: clean vendor GOOS=linux GOARCH=amd64 operator-sdk generate k8s --verbose operator-sdk generate openapi --verbose - #@go build -o ${COP} -gcflags all=-trimpath=${GOPATH} -asmflags all=-trimpath=${GOPATH} -mod=vendor demo/vnfs/DAaaS/collectd-operator/cmd/manager + #@go build -o ${COP} -gcflags all=-trimpath=${GOPATH} -asmflags all=-trimpath=${GOPATH} -mod=vendor demo/vnfs/DAaaS/microservices/collectd-operator/cmd/manager @operator-sdk build ${IMAGE_NAME} --verbose # The following is done this way as each patch on CI runs build and each merge runs deploy. So for build we don't need to build binary and hence @@ -67,4 +67,4 @@ help: Makefile @echo " Choose a command run in "$(PROJECTNAME)":" @echo @sed -n 's/^## //p' $< | column -t -s ':' | sed -e 's/^/ /' - @echo \ No newline at end of file + @echo -- cgit 1.2.3-korg