mirror of
https://github.com/coredns/coredns.git
synced 2026-10-08 19:45:21 -04:00
core/dnsserver: support explicit registration for embedded hosts (#8525)
* core/dnsserver: test host-plugin embedding with forward Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com> * core/dnsserver: add a directive setter for embedded hosts Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com> * core/dnsserver: support explicit server registration for embedded hosts Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com> --------- Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
12
.github/workflows/go.test.yml
vendored
12
.github/workflows/go.test.yml
vendored
@@ -32,6 +32,12 @@ jobs:
|
||||
( cd core; go test -race ./... )
|
||||
( cd coremain; go test -race ./... )
|
||||
|
||||
- name: Build manual-registration mode
|
||||
run: go build -tags=coredns_manual_registration ./...
|
||||
|
||||
- name: Test manual-registration mode
|
||||
run: go test -race -tags=coredns_manual_registration ./core/dnsserver ./coremain
|
||||
|
||||
test-windows:
|
||||
name: Test Windows
|
||||
runs-on: windows-latest
|
||||
@@ -57,6 +63,12 @@ jobs:
|
||||
( cd core; go test -race ./... )
|
||||
( cd coremain; go test -race ./... )
|
||||
|
||||
- name: Build manual-registration mode
|
||||
run: go build -tags=coredns_manual_registration ./...
|
||||
|
||||
- name: Test manual-registration mode
|
||||
run: go test -race -tags=coredns_manual_registration ./core/dnsserver ./coremain
|
||||
|
||||
test-plugins:
|
||||
name: Test Plugins
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user