Skip to content

Commit

Permalink
merge coredns/coredns v1.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rfredette committed Jun 15, 2021
2 parents 642b46e + 053c4d5 commit 60ff4c4
Show file tree
Hide file tree
Showing 4,464 changed files with 3,129 additions and 1,213,512 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
name: Run Kubernetes tests
command: |
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/kubernetes
go mod download
go test -v ./...
workflows:
Expand Down
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!coredns
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ about: A question related to CoreDNS
labels: question

---
<!-- Please only use this template for submitting a generic question -->
<!--
Please only use this template for submitting a generic question.
Or consider using a GitHub discussion https://github.com/coredns/coredns/discussions
-->
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ When in doubt push forward and go public ASAP.

- the Fix Team will selectively choose all needed commits from the Master branch in order to create a new release on top of the current last version released.
- Release process will be as usual.
- The Fix Lead will request a CVE from [DWF](https://github.com/distributedweaknessfiling/DWF-Documentation)
- The Fix Lead will request a CVE from [DWF](https://github.com/distributedweaknessfiling/cvelist)
and include the CVSS and release details.
- The Fix Lead will inform all users, devs and integrators, now that everything is public,
announcing the new releases, the CVE number, and the relevant merged PRs to get wide distribution
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
4 changes: 1 addition & 3 deletions .github/workflows/go.coverage.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Go Coverage
on: [push, pull_request]
on: [pull_request]
jobs:
test:
name: Coverage
Expand All @@ -8,8 +8,6 @@ jobs:

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15
id: go

- name: Check out code
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/go.fmt.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Go Fmt

on:
push:
branches:
- 'master'
paths:
- '**.go'
schedule:
- cron: '22 10 * * 1'

jobs:
fix:
Expand All @@ -23,14 +20,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "coredns-auto-go-fmt[bot]"
git config user.email "coredns-auto-go-fmt[bot]@users.noreply.github.com"
git config user.name "coredns[bot]"
git config user.email "bot@bot.coredns.io"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
-
name: Commit and push changes
run: |
git add .
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m 'auto go fmt'
git commit -s -m 'auto go fmt'
git push
fi
23 changes: 16 additions & 7 deletions .github/workflows/go.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15
id: go

- name: Check out code
Expand All @@ -31,8 +29,6 @@ jobs:

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15
id: go

- name: Check out code
Expand All @@ -51,8 +47,6 @@ jobs:

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15
id: go

- name: Check out code
Expand All @@ -63,5 +57,20 @@ jobs:

- name: Test
run: |
go install github.com/fatih/faillint
go install github.com/fatih/faillint || true
( cd test; go test -race ./... )
test-makefile-release:
name: Test Makefile.release
runs-on: ubuntu-latest
steps:

- name: Install dependencies
run: |
sudo apt-get install make curl
- name: Check out code
uses: actions/checkout@v2

- name: Test Makefile
run: make DOCKER=bla GITHUB_ACCESS_TOKEN=bla -n build docker github-push docker-push -f Makefile.release
15 changes: 5 additions & 10 deletions .github/workflows/go.tidy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Go Tidy

on:
push:
branches:
- 'master'
paths:
- '.github/workflows/go.tidy.yml'
- 'go.mod'
- 'go.sum'
schedule:
- cron: '22 10 * * 3'

jobs:
fix:
Expand All @@ -26,14 +21,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "coredns-auto-go-mod-tidy[bot]"
git config user.email "coredns-auto-go-mod-tidy[bot]@users.noreply.github.com"
git config user.name "coredns[bot]"
git config user.email "bot@bot.coredns.io"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
-
name: Commit and push changes
run: |
git add .
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m 'auto go mod tidy'
git commit -s -m 'auto go mod tidy'
git push
fi
18 changes: 5 additions & 13 deletions .github/workflows/make.doc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Make Doc

on:
push:
branches:
- 'master'
paths:
- '.github/workflows/make.doc.yml'
- 'coredns.1.md'
- 'corefile.5.md'
- 'plugin/*/README.md'
schedule:
- cron: '22 10 * * 0'

jobs:
fix:
Expand All @@ -20,8 +14,6 @@ jobs:
-
name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.14.1'
-
name: Update Docs
run: |
Expand All @@ -32,14 +24,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "coredns-auto-go-mod-tidy[bot]"
git config user.email "coredns-auto-go-mod-tidy[bot]@users.noreply.github.com"
git config user.name "coredns[bot]"
git config user.email "bot@bot.coredns.io"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
-
name: Commit and push changes
run: |
git add .
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m 'auto make -f Makefile.doc'
git commit -s -m 'auto make -f Makefile.doc'
git push
fi
13 changes: 5 additions & 8 deletions .github/workflows/whitespace.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Remove Trailing Whitespaces

on:
push:
branches:
- 'master'
paths-ignore:
- '**.go'
schedule:
- cron: '22 10 * * 2'

jobs:
fix:
Expand All @@ -23,14 +20,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "coredns-auto-trailing-whitespaces[bot]"
git config user.email "coredns-auto-trailing-whitespaces[bot]@users.noreply.github.com"
git config user.name "coredns[bot]"
git config user.email "bot@bot.coredns.io"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
-
name: Commit and push changes
run: |
git add .
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m 'auto remove trailing whitespaces'
git commit -s -m 'auto remove trailing whitespaces'
git push
fi
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
query.log
Corefile
*.swp
/coredns
# only add build artifacts concerning coredns - no editor related files
coredns
coredns.exe
build/
release/
vendor/
4 changes: 3 additions & 1 deletion ADOPTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* [AdGuard](https://adguard.com/) uses CoreDNS in [AdGuard Home](https://github.com/AdguardTeam/AdGuardHome) and, therefore, in production public AdGuard DNS servers.
* [Skyscanner](https://www.skyscanner.net) uses CoreDNS within Kubernetes in production with the configuration tuned to use the Autopath plugin.
* [Zinza Technology](https://zinza.com.vn) uses CoreDNS within Kubernetes in production, with standard configuration.
* [Hualala](https://www.hualala.com/home) uses CoreDNS in Kubernetes using default configuration, in its Lab. Expected to be in production soon.
* [Hualala](https://www.hualala.com) uses CoreDNS in Kubernetes using default configuration, in its Lab. Expected to be in production soon.
* [Hellofresh](https://www.hellofresh.com/) uses CoreDNS in multiple Kubernetes clusters, with Forward plugin.
* [Render](https://render.com) uses CoreDNS in production across all its Kubernetes clusters.
* [BackMarket](https://www.backmarket.com) uses CoreDNS within Kubernetes in production, with standard configuration.
* [Absa Group](https://www.absa.africa) uses CoreDNS as an integral part of Kubernetes Global Balancer project - [k8gb](https://www.k8gb.io/).
13 changes: 0 additions & 13 deletions Dockerfile.openshift

This file was deleted.

13 changes: 0 additions & 13 deletions Dockerfile.openshift.rhel7

This file was deleted.

16 changes: 0 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,3 @@ pb:
clean:
go clean
rm -f coredns

.PHONY: dep-ensure
dep-ensure:
dep version || go get -u github.com/golang/dep/cmd/dep
dep ensure -v
dep prune -v
find vendor -name '*_test.go' -delete

.PHONY: test
test: check
( cd request ; go test -v -race ./... )
( cd core ; go test -v -race ./... )
( cd coremain ; go test -v -race ./... )
( cd test ; go test -v -race ./... )
( cd plugin ; go test -v -race ./... )

Loading

0 comments on commit 60ff4c4

Please sign in to comment.