-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
12 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ build: generate manifests | |
go build ./... | ||
|
||
# Run tests | ||
test: shared/util/message | ||
test: | ||
go test -v ./... -coverprofile cover.out | ||
|
||
pre-commit: codegen test install lint | ||
|
@@ -96,7 +96,7 @@ api/v1alpha1/generated.%: $(shell find api/v1alpha1 -type f -name '*.go' -not -n | |
mv api/v1alpha1/groupversion_info.go.0 api/v1alpha1/groupversion_info.go | ||
go mod tidy | ||
|
||
lint: shared/util/message | ||
lint: | ||
go mod tidy | ||
golangci-lint run --fix | ||
kubectl apply --dry-run=client -f docs/examples | ||
|
@@ -126,7 +126,7 @@ scan-%: | |
changelog: | ||
git log --oneline -n10 > changelog | ||
|
||
$(GOBIN)/controller-gen: shared/util/message | ||
$(GOBIN)/controller-gen: | ||
go install sigs.k8s.io/controller-tools/cmd/[email protected] | ||
|
||
version:=2.3.2 | ||
|
@@ -150,11 +150,8 @@ config/nats/single-server-nats.yml: | |
config/stan/single-server-stan.yml: | ||
curl -o config/stan/single-server-stan.yml https://raw.githubusercontent.com/nats-io/k8s/v0.7.4/nats-streaming-server/single-server-stan.yml | ||
|
||
shared/util/message: | ||
touch shared/util/message | ||
|
||
.PHONY: test-examples | ||
test-examples: shared/util/message | ||
test-examples: | ||
go test -timeout 20m -v -tags examples -count 1 ./docs/examples | ||
|
||
argocli: | ||
|
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