This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
1 parent
998ed3c
commit 16c315b
Showing
7 changed files
with
26 additions
and
27 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
goimports := golang.org/x/tools/cmd/[email protected].5 | ||
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0 | ||
goimports := golang.org/x/tools/cmd/[email protected].10 | ||
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2 | ||
|
||
.PHONY: build.example | ||
build.example: | ||
|
@@ -15,27 +15,27 @@ build.examples: | |
|
||
.PHONY: test | ||
test: | ||
# First we test the main module because the iteration through the modules | ||
# in the lines above is very inconvenient when the folder is ".". | ||
go test -tags=proxytest $(shell go list ./... | grep -v e2e) | ||
@# First we test the main module because the iteration through the modules | ||
@# in the lines above is very inconvenient when the folder is ".". | ||
@go test -tags=proxytest $(shell go list ./... | grep -v e2e) | ||
|
||
# Now we go through the examples. | ||
@# Now we go through the examples. | ||
@find . -name "go.mod" \ | ||
| grep -v "\.\/go\.mod" \ | ||
| xargs -I {} bash -c 'dirname {}' \ | ||
| xargs -I {} bash -c 'cd {}; go test -tags=proxytest ./...' | ||
|
||
.PHONY: test.e2e | ||
test.e2e: | ||
go test -v ./e2e -count=1 | ||
@go test -v ./e2e -count=1 | ||
|
||
.PHONY: test.e2e.single | ||
test.e2e.single: | ||
go test -v ./e2e -run '/${name}' -count=1 | ||
@go test -v ./e2e -run '/${name}' -count=1 | ||
|
||
.PHONY: run | ||
run: | ||
envoy -c ./examples/${name}/envoy.yaml --concurrency 2 --log-format '%v' | ||
@envoy -c ./examples/${name}/envoy.yaml --concurrency 2 --log-format '%v' | ||
|
||
.PHONY: lint | ||
lint: | ||
|
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