-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from grepplabs/feature/listener-cert-rotation
cert rotation + refactoring
- Loading branch information
Showing
998 changed files
with
117,033 additions
and
26,969 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ VERSION ?= $(shell git describe --tags --always --dirty) | |
GOPKGS = $(shell go list ./... | grep -v /vendor/) | ||
BUILD_FLAGS ?= | ||
LDFLAGS ?= -X github.com/grepplabs/kafka-proxy/config.Version=$(VERSION) -w -s | ||
TAG ?= "v0.3.12" | ||
TAG ?= "v0.4.0" | ||
GOOS ?= $(if $(TARGETOS),$(TARGETOS),linux) | ||
GOARCH ?= $(if $(TARGETARCH),$(TARGETARCH),amd64) | ||
GOARM ?= $(TARGETVARIANT) | ||
|
@@ -22,6 +22,8 @@ PROTOC_VERSION ?= 22.2 | |
PROTOC_BIN_DIR := .tools | ||
PROTOC := $(PROTOC_BIN_DIR)/protoc | ||
|
||
GOLANGCI_LINT = go run github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
||
default: build | ||
|
||
test.race: | ||
|
@@ -33,10 +35,17 @@ test: | |
fmt: | ||
go fmt $(GOPKGS) | ||
|
||
check: | ||
golint $(GOPKGS) | ||
check: lint-code | ||
go vet $(GOPKGS) | ||
|
||
.PHONY: lint-code | ||
lint-code: | ||
$(GOLANGCI_LINT) run --timeout 5m | ||
|
||
.PHONY: lint-fix | ||
lint-fix: | ||
$(GOLANGCI_LINT) run --fix | ||
|
||
.PHONY: build | ||
build: build/$(BINARY) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.