Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Remove protobuf errors
Browse files Browse the repository at this point in the history
We are using go-log-cache now
Context: cloudfoundry/garden-runc-release#209
  • Loading branch information
winkingturtle-vmw committed Apr 25, 2023
1 parent 4573edd commit 2040709
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ help:
@echo ' test ......................... run tests (such as they are)'
@echo ' help ......................... show help menu'

IGNORE_PROTOBUF_ERROR = "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore"
build:
go build -ldflags $(IGNORE_PROTOBUF_ERROR) -mod vendor -o cpu-entitlement-plugin ./cmd/cpu-entitlement
go build -ldflags $(IGNORE_PROTOBUF_ERROR) -mod vendor -o cpu-overentitlement-instances-plugin ./cmd/cpu-overentitlement-instances
go build -mod vendor -o cpu-entitlement-plugin ./cmd/cpu-entitlement
go build -mod vendor -o cpu-overentitlement-instances-plugin ./cmd/cpu-overentitlement-instances

test:
ginkgo -ldflags $(IGNORE_PROTOBUF_ERROR) -r -p -mod vendor --skip-package e2e,integration --keep-going --randomize-all --race
ginkgo -r -p -mod vendor --skip-package e2e,integration --keep-going --randomize-all --race

install: build
cf uninstall-plugin CPUEntitlementPlugin || true
Expand All @@ -22,7 +21,7 @@ install: build
cf install-plugin ./cpu-overentitlement-instances-plugin -f

e2e-test:
ginkgo -ldflags $(IGNORE_PROTOBUF_ERROR) -mod vendor --randomize-all --race --keep-going e2e
ginkgo -mod vendor --randomize-all --race --keep-going e2e

integration-test:
ginkgo -ldflags $(IGNORE_PROTOBUF_ERROR) -mod vendor --randomize-all --race --keep-going integration
ginkgo -mod vendor --randomize-all --race --keep-going integration

0 comments on commit 2040709

Please sign in to comment.