-
Notifications
You must be signed in to change notification settings - Fork 18
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 #63 from glebkin/main
Add server-count support with random selection algorithm
- Loading branch information
Showing
19 changed files
with
846 additions
and
2,183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.21 | ||
- run: | | ||
go build -race ./... | ||
test: | ||
|
@@ -38,9 +38,9 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.21 | ||
- name: Install gotestsum | ||
run: go get gotest.tools/[email protected] | ||
run: go install gotest.tools/[email protected] | ||
- name: Run tests | ||
run: | | ||
eval $(go env) | ||
|
@@ -50,7 +50,7 @@ jobs: | |
name: golangci-lint | ||
runs-on: ubuntu-latest | ||
env: | ||
GOLANGCI_LINT_CONTAINER: golangci/golangci-lint:v1.23.2 | ||
GOLANGCI_LINT_CONTAINER: golangci/golangci-lint:v1.59.1 | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
@@ -68,7 +68,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.21 | ||
- name: build coredns binary | ||
run: | | ||
go build -o coredns/coredns coredns/main.go | ||
|
@@ -111,7 +111,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.21 | ||
- run: go mod tidy | ||
- name: Check for changes in go.mod or go.sum | ||
run: | | ||
|
@@ -124,9 +124,9 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.21 | ||
- name: Install go-header | ||
run: 'go get github.com/denis-tingajkin/[email protected]' | ||
run: 'go install github.com/denis-tingajkin/[email protected]' | ||
- name: Run go-header | ||
run: | | ||
eval $(go env) | ||
|
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
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,39 +1,46 @@ | ||
module github.com/networkservicemesh/fanout/coredns | ||
|
||
go 1.17 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/coredns/coredns v1.9.1 | ||
github.com/coredns/coredns v1.11.3 | ||
github.com/networkservicemesh/fanout v0.0.0-20200313150119-ddef81d89163 | ||
) | ||
|
||
require ( | ||
github.com/apparentlymart/go-cidr v1.1.0 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/coredns/caddy v1.1.1 // indirect | ||
github.com/dnstap/golang-dnstap v0.4.0 // indirect | ||
github.com/farsightsec/golang-framestream v0.3.0 // indirect | ||
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b // indirect | ||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/miekg/dns v1.1.46 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect | ||
github.com/miekg/dns v1.1.61 // indirect | ||
github.com/onsi/ginkgo/v2 v2.13.0 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.12.1 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.32.1 // indirect | ||
github.com/prometheus/procfs v0.7.3 // indirect | ||
golang.org/x/mod v0.4.2 // indirect | ||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect | ||
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2 // indirect | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect | ||
google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c // indirect | ||
google.golang.org/grpc v1.44.0 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
github.com/prometheus/client_golang v1.19.1 // indirect | ||
github.com/prometheus/client_model v0.6.0 // indirect | ||
github.com/prometheus/common v0.53.0 // indirect | ||
github.com/prometheus/procfs v0.12.0 // indirect | ||
github.com/quic-go/quic-go v0.42.0 // indirect | ||
go.uber.org/mock v0.4.0 // indirect | ||
golang.org/x/crypto v0.24.0 // indirect | ||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect | ||
golang.org/x/mod v0.18.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.21.0 // indirect | ||
golang.org/x/text v0.16.0 // indirect | ||
golang.org/x/tools v0.22.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect | ||
google.golang.org/grpc v1.63.2 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
) | ||
|
||
replace github.com/networkservicemesh/fanout => ../ |
Oops, something went wrong.