Skip to content

Commit

Permalink
Use a single module for all binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Nov 7, 2023
1 parent 1ebbc2e commit 6f6dddd
Show file tree
Hide file tree
Showing 7 changed files with 333 additions and 1,786 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ manager: generate fmt vet

# Build target allocator binary
targetallocator:
cd cmd/otel-allocator && CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(ARCH) go build -a -installsuffix cgo -o bin/targetallocator_${ARCH} .
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(ARCH) go build -a -installsuffix cgo -o cmd/otel-allocator/bin/targetallocator_${ARCH} ./cmd/otel-allocator

# Build opamp bridge binary
operator-opamp-bridge:
cd cmd/operator-opamp-bridge && CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(ARCH) go build -a -installsuffix cgo -o bin/opampbridge_${ARCH} .
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(ARCH) go build -a -installsuffix cgo -o cmd/operator-opamp-bridge/bin/opampbridge_${ARCH} ./cmd/operator-opamp-bridge

# Run against the configured Kubernetes cluster in ~/.kube/config
.PHONY: run
Expand Down
96 changes: 0 additions & 96 deletions cmd/operator-opamp-bridge/go.mod

This file was deleted.

Loading

0 comments on commit 6f6dddd

Please sign in to comment.