Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-7558: Merge 1.10.1 #88

Merged
merged 160 commits into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
257ca65
GO linting bump and removal of deprecated linters (#5624)
Sep 19, 2022
8a6821c
build(deps): bump k8s.io/apimachinery from 0.25.0 to 0.25.1 (#5628)
dependabot[bot] Sep 19, 2022
3a0d5f6
build(deps): bump github/codeql-action from 2.1.22 to 2.1.24 (#5634)
dependabot[bot] Sep 19, 2022
d7ca760
build(deps): bump ossf/scorecard-action from 1.1.2 to 2.0.3 (#5633)
dependabot[bot] Sep 19, 2022
7304cd1
build(deps): bump github.com/aws/aws-sdk-go from 1.44.95 to 1.44.100 …
dependabot[bot] Sep 19, 2022
7483737
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.4 to 3.5.5 (#5629)
dependabot[bot] Sep 19, 2022
796ab92
build(deps): bump google.golang.org/api from 0.95.0 to 0.96.0 (#5631)
dependabot[bot] Sep 19, 2022
9f3a2e2
build(deps): bump k8s.io/api from 0.25.0 to 0.25.1 (#5632)
dependabot[bot] Sep 19, 2022
4e09449
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.41.0 to 1.42…
dependabot[bot] Sep 19, 2022
ba6ebbd
add id-token: write (#5637)
chrisohaver Sep 19, 2022
99098ef
Update 1.9.4 note to included missed author and entries (#5638)
yongtang Sep 19, 2022
85370b1
build(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1 (#5639)
dependabot[bot] Sep 19, 2022
d5f1c69
build(deps): bump github.com/aws/aws-sdk-go from 1.44.100 to 1.44.105…
dependabot[bot] Sep 26, 2022
da4436e
build(deps): bump google.golang.org/api from 0.96.0 to 0.97.0 (#5649)
dependabot[bot] Sep 26, 2022
c15686a
build(deps): bump k8s.io/apimachinery from 0.25.1 to 0.25.2 (#5650)
dependabot[bot] Sep 26, 2022
d4b566f
build(deps): bump github.com/matttproud/golang_protobuf_extensions (#…
dependabot[bot] Sep 26, 2022
cbe8125
build(deps): bump github/codeql-action from 2.1.24 to 2.1.25 (#5654)
dependabot[bot] Sep 26, 2022
4ba4969
build(deps): bump actions/dependency-review-action from 2.1.0 to 2.4.…
dependabot[bot] Sep 26, 2022
3c60348
add members (#5655)
chrisohaver Sep 27, 2022
ba8913d
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.42.0 to 1.42…
dependabot[bot] Oct 3, 2022
bd77f5f
build(deps): bump github/codeql-action from 2.1.25 to 2.1.26 (#5668)
dependabot[bot] Oct 3, 2022
9cead5d
build(deps): bump ossf/scorecard-action from 2.0.3 to 2.0.4 (#5667)
dependabot[bot] Oct 3, 2022
b9a31f2
build(deps): bump github.com/aws/aws-sdk-go from 1.44.105 to 1.44.109…
dependabot[bot] Oct 3, 2022
2fa9821
plugin/template : add support for extended DNS errors (#5659)
Oct 3, 2022
767daa7
build(deps): bump k8s.io/api from 0.25.1 to 0.25.2 (#5666)
dependabot[bot] Oct 3, 2022
0a8ef29
build(deps): bump google.golang.org/api from 0.97.0 to 0.98.0 (#5663)
dependabot[bot] Oct 3, 2022
11ecaf6
build(deps): bump github.com/aws/aws-sdk-go from 1.44.109 to 1.44.114…
dependabot[bot] Oct 10, 2022
d55490e
build(deps): bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#5676)
dependabot[bot] Oct 10, 2022
8d7ce0c
build(deps): bump actions/checkout from 3 to 3.1.0 (#5677)
dependabot[bot] Oct 10, 2022
2f24b51
build(deps): bump github/codeql-action from 2.1.26 to 2.1.27 (#5678)
dependabot[bot] Oct 10, 2022
4ae811a
plugin/reload : stop scheduler on shutdown (#5686)
Oct 11, 2022
c61e8f3
plugin/hosts: fix ticker leak in golang (#5690)
yongtang Oct 11, 2022
006703c
plugin/auto: fix ticker leak in golang (#5688)
yongtang Oct 11, 2022
26aae95
plugin/forward: fix ticker leak in golang (#5689)
yongtang Oct 11, 2022
c6a5435
plugin/file: fix file leak (#5687)
yongtang Oct 11, 2022
d796771
build(deps): bump github.com/openzipkin/zipkin-go from 0.4.0 to 0.4.1…
dependabot[bot] Oct 17, 2022
b785faa
build(deps): bump k8s.io/apimachinery from 0.25.2 to 0.25.3 (#5693)
dependabot[bot] Oct 17, 2022
adecc42
build(deps): bump actions/dependency-review-action from 2.4.0 to 2.5.…
dependabot[bot] Oct 17, 2022
87b445b
build(deps): bump github.com/aws/aws-sdk-go from 1.44.114 to 1.44.116…
dependabot[bot] Oct 17, 2022
80e599f
build(deps): bump google.golang.org/grpc from 1.50.0 to 1.50.1 (#5695)
dependabot[bot] Oct 17, 2022
f4e1d64
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.42.1 to 1.43…
dependabot[bot] Oct 17, 2022
10e740e
build(deps): bump google.golang.org/api from 0.98.0 to 0.99.0 (#5702)
dependabot[bot] Oct 17, 2022
0155fe1
build(deps): bump github.com/openzipkin-contrib/zipkin-go-opentracing…
dependabot[bot] Oct 17, 2022
2d7b70d
build(deps): bump k8s.io/api from 0.25.2 to 0.25.3 (#5700)
dependabot[bot] Oct 17, 2022
4e449b6
build(deps): bump github.com/Azure/azure-sdk-for-go (#5698)
dependabot[bot] Oct 17, 2022
6cb5e10
plugin/k8s_external: Fix rcode for headless services (#5657)
Miciah Oct 20, 2022
c6fa91b
Workaround for incorrect architecture (#5691)
Dreista Oct 21, 2022
403e979
plugin/cache: cache now uses source query DNSSEC option for upstream …
Oct 21, 2022
1507b04
build(deps): bump ossf/scorecard-action from 2.0.4 to 2.0.6 (#5718)
dependabot[bot] Oct 25, 2022
da13075
build(deps): bump github/codeql-action from 2.1.27 to 2.1.28 (#5717)
dependabot[bot] Oct 25, 2022
469b88a
build(deps): bump actions/setup-go from 3.3.0 to 3.3.1 (#5716)
dependabot[bot] Oct 25, 2022
eebd17a
build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (…
dependabot[bot] Oct 25, 2022
9dd42a2
build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.1 (#5714)
dependabot[bot] Oct 25, 2022
6c636b7
build(deps): bump google.golang.org/api from 0.99.0 to 0.100.0 (#5711)
dependabot[bot] Oct 25, 2022
08d9ecc
build(deps): bump github.com/aws/aws-sdk-go from 1.44.116 to 1.44.121…
dependabot[bot] Oct 25, 2022
fb14542
build(deps): bump github.com/prometheus/client_model from 0.2.0 to 0.…
dependabot[bot] Oct 25, 2022
1d96b29
build(deps): bump actions/dependency-review-action from 2.5.0 to 2.5.…
dependabot[bot] Oct 25, 2022
575825a
Add macOS arm64 binary as part of the release (#5721)
yongtang Oct 26, 2022
9497644
Fork TLSConfig for each encrypted connection (#5710)
sanyo0714 Oct 28, 2022
3b2ed66
build(deps): bump github.com/matttproud/golang_protobuf_extensions (#…
dependabot[bot] Oct 31, 2022
e4cd998
build(deps): bump github/codeql-action from 2.1.28 to 2.1.29 (#5730)
dependabot[bot] Oct 31, 2022
8bddf6d
build(deps): bump google.golang.org/api from 0.100.0 to 0.101.0 (#5729)
dependabot[bot] Oct 31, 2022
f10e60f
build(deps): bump github.com/aws/aws-sdk-go from 1.44.121 to 1.44.126…
dependabot[bot] Oct 31, 2022
faaf2b4
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.43.0 to 1.43…
dependabot[bot] Oct 31, 2022
ead84e1
plugin/acl: adding ability to drop queries (#5722)
rsclarke Nov 1, 2022
47c99dc
dont match external services when endpoint is specified (#5734)
chrisohaver Nov 4, 2022
a148b46
build(deps): bump google.golang.org/api from 0.101.0 to 0.102.0 (#5741)
dependabot[bot] Nov 8, 2022
f550c37
build(deps): bump github/codeql-action from 2.1.29 to 2.1.31 (#5738)
dependabot[bot] Nov 8, 2022
0a5e8ea
build(deps): bump github.com/prometheus/client_golang (#5739)
dependabot[bot] Nov 8, 2022
4649281
build(deps): bump github.com/aws/aws-sdk-go from 1.44.126 to 1.44.132…
dependabot[bot] Nov 8, 2022
13ac3ad
remove superfluous and nonworking github actions (#5747)
Nov 9, 2022
bd9ad69
fix readme after removing gofmt and gotidy actions (#5749)
Nov 10, 2022
cc9321f
build(deps): bump k8s.io/api from 0.25.3 to 0.25.4 (#5753)
dependabot[bot] Nov 14, 2022
e6dc270
build(deps): bump google.golang.org/api from 0.102.0 to 0.103.0 (#5757)
dependabot[bot] Nov 14, 2022
a83fd41
build(deps): bump github.com/prometheus/client_golang (#5760)
dependabot[bot] Nov 14, 2022
d1d8cd7
build(deps): bump github/codeql-action from 2.1.31 to 2.1.32 (#5756)
dependabot[bot] Nov 14, 2022
78da65d
build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (…
dependabot[bot] Nov 14, 2022
d01be1f
build(deps): bump github.com/Azure/azure-sdk-for-go (#5768)
dependabot[bot] Nov 21, 2022
47026f7
build(deps): bump google.golang.org/grpc from 1.50.1 to 1.51.0 (#5769)
dependabot[bot] Nov 21, 2022
38dc618
build(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0 (#5770)
dependabot[bot] Nov 21, 2022
bb7dffa
build(deps): bump github.com/aws/aws-sdk-go from 1.44.132 to 1.44.142…
dependabot[bot] Nov 21, 2022
c4dd9d5
build(deps): bump actions/dependency-review-action from 2.5.1 to 3.0.…
dependabot[bot] Nov 21, 2022
04a3019
plugin/dnstap: Fix behavior when multiple dnstap plugins specified (#…
chrisohaver Nov 28, 2022
5517c3f
build(deps): bump github.com/aws/aws-sdk-go from 1.44.142 to 1.44.146…
dependabot[bot] Nov 30, 2022
9b94696
plugin/edns: remove truncating of question section on bad EDNS versio…
kaplanben Dec 1, 2022
8167b01
build(deps): bump golang.org/x/sys from 0.2.0 to 0.3.0 (#5792)
dependabot[bot] Dec 6, 2022
cd71a1a
build(deps): bump github.com/aws/aws-sdk-go from 1.44.146 to 1.44.152…
dependabot[bot] Dec 6, 2022
09da88b
build(deps): bump github/codeql-action from 2.1.32 to 2.1.35 (#5790)
dependabot[bot] Dec 6, 2022
7de1b2c
build(deps): bump actions/stale from 5.1.1 to 6.0.1 (#5789)
dependabot[bot] Dec 6, 2022
3cc9866
build(deps): bump actions/setup-go from 3.3.1 to 3.4.0 (#5788)
dependabot[bot] Dec 6, 2022
4e93f54
build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.5 to 3.5.6 (#5783)
dependabot[bot] Dec 6, 2022
47e5893
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.5 to 3.5.6 (#5781)
dependabot[bot] Dec 6, 2022
7813b6e
plugin/geoip: Add GLSB example (#5795)
chrisohaver Dec 7, 2022
c322861
plugin/kubernetes: error NXDOMAIN for TXT lookups (#5737)
LAMRobinson Dec 13, 2022
60b7161
Drop obsolete client-go auth plugins (#5806)
skitt Dec 13, 2022
74160a5
build(deps): bump github.com/prometheus/common from 0.37.0 to 0.38.0 …
dependabot[bot] Dec 15, 2022
e479533
build(deps): bump github/codeql-action from 2.1.35 to 2.1.36 (#5801)
dependabot[bot] Dec 15, 2022
1e2156a
build(deps): bump google.golang.org/api from 0.103.0 to 0.104.0 (#5805)
dependabot[bot] Dec 15, 2022
3b81fc8
Update modules manually to fix build failures (#5808)
yongtang Dec 15, 2022
1d55217
Added trivy-nightly-scan for coredns images (#5810)
yashsingh74 Dec 16, 2022
611a2f0
build(deps): bump github/codeql-action from 2.1.36 to 2.1.37 (#5811)
dependabot[bot] Dec 20, 2022
dd9ee4d
build(deps): bump actions/setup-go from 3.4.0 to 3.5.0 (#5812)
dependabot[bot] Dec 20, 2022
b2ed4ba
build(deps): bump actions/dependency-review-action from 3.0.1 to 3.0.…
dependabot[bot] Dec 20, 2022
63df0a5
build(deps): bump github.com/aws/aws-sdk-go from 1.44.152 to 1.44.162…
dependabot[bot] Dec 20, 2022
5ef8508
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.43.1 to 1.45…
dependabot[bot] Dec 20, 2022
618a317
build(deps): bump google.golang.org/api from 0.104.0 to 0.105.0 (#5816)
dependabot[bot] Dec 20, 2022
682eaa9
build(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 …
dependabot[bot] Dec 20, 2022
c59489b
build(deps): bump ossf/scorecard-action from 2.0.6 to 2.1.0 (#5814)
dependabot[bot] Dec 20, 2022
6c9b49f
build(deps): bump github.com/Azure/azure-sdk-for-go (#5819)
dependabot[bot] Dec 20, 2022
e7ad486
plugin/timeouts - Allow ability to configure listening server timeout…
rlees85 Dec 28, 2022
c7583b5
build(deps): bump ossf/scorecard-action from 2.1.0 to 2.1.2 (#5824)
dependabot[bot] Dec 28, 2022
c882d0f
build(deps): bump actions/stale from 6.0.1 to 7.0.0 (#5823)
dependabot[bot] Jan 9, 2023
dce9d00
build(deps): bump actions/dependency-review-action from 3.0.2 to 3.0.…
dependabot[bot] Jan 9, 2023
315219f
build(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2 (#5838)
dependabot[bot] Jan 9, 2023
c45ada9
build(deps): bump google.golang.org/api from 0.105.0 to 0.106.0 (#5839)
dependabot[bot] Jan 9, 2023
1fc1cb9
build(deps): bump github.com/aws/aws-sdk-go from 1.44.162 to 1.44.175…
dependabot[bot] Jan 9, 2023
2594a6c
build(deps): bump golang.org/x/sys from 0.3.0 to 0.4.0 (#5841)
dependabot[bot] Jan 9, 2023
413bab6
initial 1.10.1 notes (#5844)
chrisohaver Jan 9, 2023
504e1d9
Bump version to 1.10.1 (#5845)
yongtang Jan 9, 2023
cbbe9da
plugin/etcd: update documentation (#5847)
vicoooo26 Jan 11, 2023
ab45cf8
build(deps): bump google.golang.org/grpc from 1.51.0 to 1.52.0 (#5860)
dependabot[bot] Jan 16, 2023
83f1ac0
build(deps): bump github.com/Azure/azure-sdk-for-go (#5858)
dependabot[bot] Jan 16, 2023
dd05107
build(deps): bump google.golang.org/api from 0.106.0 to 0.107.0 (#5859)
dependabot[bot] Jan 17, 2023
edddadd
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.45.1 to 1.46…
dependabot[bot] Jan 17, 2023
9d6ec97
build(deps): bump github/codeql-action from 2.1.37 to 2.1.38 (#5855)
dependabot[bot] Jan 17, 2023
1732402
build(deps): bump github.com/aws/aws-sdk-go from 1.44.175 to 1.44.180…
dependabot[bot] Jan 17, 2023
280ef6f
Move flags to coremain (#5865)
davidhadas Jan 23, 2023
e6145ad
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7 (#5874)
dependabot[bot] Jan 23, 2023
e2a3080
build(deps): bump github/codeql-action from 2.1.38 to 2.1.39 (#5871)
dependabot[bot] Jan 23, 2023
9c3de30
build(deps): bump google.golang.org/api from 0.107.0 to 0.108.0 (#5875)
dependabot[bot] Jan 23, 2023
26382dd
build(deps): bump github.com/antonmedv/expr from 1.9.0 to 1.10.3 (#5872)
dependabot[bot] Jan 23, 2023
e2c3e69
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.46.0 to 1.46…
dependabot[bot] Jan 23, 2023
0be2698
Fix links in main README (#5878)
chrisohaver Jan 23, 2023
d3e4fc7
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#…
dependabot[bot] Jan 23, 2023
bf7c2cf
plugin/cache: add a new keepttl option (#5879)
MrFreezeex Jan 27, 2023
7da2ced
Add weighted-round-robin policy to loadbalance plugin (#5662)
gabordozsa Jan 27, 2023
169da44
update notes with recent merges (#5880)
chrisohaver Jan 27, 2023
c20865e
build(deps): bump k8s.io/client-go from 0.26.0 to 0.26.1 (#5889)
dependabot[bot] Jan 30, 2023
889b0cf
build(deps): bump github.com/antonmedv/expr from 1.10.3 to 1.10.5 (#5…
dependabot[bot] Jan 30, 2023
c4e467f
build(deps): bump github.com/aws/aws-sdk-go from 1.44.180 to 1.44.189…
dependabot[bot] Jan 30, 2023
0c30da2
build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (…
dependabot[bot] Jan 30, 2023
5d0a79b
build(deps): bump github/codeql-action from 2.1.39 to 2.2.1 (#5884)
dependabot[bot] Jan 30, 2023
d6f0fbf
build(deps): bump github.com/Azure/azure-sdk-for-go (#5885)
dependabot[bot] Jan 30, 2023
68b2aa6
build(deps): bump k8s.io/klog/v2 from 2.80.1 to 2.90.0 (#5887)
dependabot[bot] Jan 30, 2023
b7279d1
plugin/forward: fix broken tap plugins when dnstap plugins specified …
koho Jan 30, 2023
04341e0
build(deps): bump aquasecurity/trivy-action from 0.8.0 to 0.9.0 (#5900)
dependabot[bot] Feb 6, 2023
2a9893d
build(deps): bump google.golang.org/grpc from 1.52.0 to 1.52.3 (#5905)
dependabot[bot] Feb 6, 2023
a7895cf
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.46.1 to 1.47…
dependabot[bot] Feb 6, 2023
949b179
build(deps): bump github.com/aws/aws-sdk-go from 1.44.189 to 1.44.194…
dependabot[bot] Feb 6, 2023
7e59b4c
build(deps): bump google.golang.org/api from 0.108.0 to 0.109.0 (#5904)
dependabot[bot] Feb 6, 2023
7f126bd
build(deps): bump github.com/antonmedv/expr from 1.10.5 to 1.12.0 (#5…
dependabot[bot] Feb 6, 2023
055b2c3
Add forward/dnstap fix to release notes (#5891)
chrisohaver Feb 6, 2023
8b626bf
merge coredns/coredns v1.10.1
gcs278 Feb 15, 2023
53e6722
UPSTREAM: <carry>: openshift: Add OWNERS
Miciah Jan 22, 2022
99b2d59
UPSTREAM: <carry>: openshift: Add product build config
openshift-ci-robot Jun 14, 2021
6455c75
UPSTREAM: <carry>: openshift: Add a `make test` target
bbrowning Feb 6, 2019
279951d
UPSTREAM: <carry>: openshift: Make coredns exclusion more specific
bcrochet Jan 22, 2020
69fc73e
UPSTREAM: <carry>: openshift: .gitignore: Properly ignore coredns binary
sgreene570 Oct 9, 2020
bc4b0e6
UPSTREAM: <carry>: openshift: Vendor required modules
Miciah Jan 24, 2022
433d377
UPSTREAM: <carry>: openshift: Disable dependabot
rfredette Jun 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ buildCoreDNSImage: &buildCoreDNSImage
command: |
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
make coredns SYSTEM="GOOS=linux" && \
docker build -t coredns . && \
DOCKER_BUILDKIT=1 docker build -t coredns . && \
kind load docker-image coredns

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Initialize CodeQL
uses: github/codeql-action/init@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/autobuild@3ebbd71c74ef574dbc558c82f70e52732c8b44fe

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
4 changes: 2 additions & 2 deletions .github/workflows/depsreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: 'Dependency Review'
uses: actions/dependency-review-action@23d1ffffb6fa5401173051ec21eba8c35242733f
uses: actions/dependency-review-action@c090f4e553673e6e505ea70d6a95362ee12adb94
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Build Docker Images
run: make VERSION=${RELEASE:1} DOCKER=coredns -f Makefile.docker release
- name: Show Docker Images
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...
Expand All @@ -27,4 +27,4 @@ jobs:
done

- name: Upload coverage to Codecov
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
36 changes: 0 additions & 36 deletions .github/workflows/go.fmt.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/go.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...
Expand All @@ -31,13 +31,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...
Expand All @@ -50,13 +50,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'
id: go

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...
Expand All @@ -74,7 +74,7 @@ jobs:
run: sudo apt-get install make curl

- name: Check out code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Test Makefile.release
run: make GITHUB_ACCESS_TOKEN=x -n release github-push -f Makefile.release
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/go.tidy.yml

This file was deleted.

13 changes: 6 additions & 7 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'
- uses: actions/checkout@v3
# See https://github.com/golangci/golangci-lint-action/issues/442#issuecomment-1203786890
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Run golangci-lint
run: golangci-lint run --version --verbose --out-format=github-actions
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.49.0
4 changes: 2 additions & 2 deletions .github/workflows/make.doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Setup Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '1.19.0'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
name: Go Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- run: find . -not -path '*/\.git/*' -type f -name '*.go' -exec gofmt -s -w {} \+
- uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e

whitespace:
name: Whitespace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- run: find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i 's/[[:space:]]\{1,\}$//' {} \+
- uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e
9 changes: 5 additions & 4 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ jobs:
security-events: write
actions: read
contents: read
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@ce330fde6b1a5c9c75b417e7efc510b822a35564
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -42,14 +43,14 @@ jobs:

# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@9c1b1c6e115ca2af09755448e0dbba24e5061cc8
- uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/trivy-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Trivy Nightly Scan
on:
schedule:
- cron: '0 2 * * 5' #Run at 2AM UTC on every Friday

permissions: read-all
jobs:
nightly-scan:
name: Trivy Scan nightly
strategy:
fail-fast: false
matrix:
# It will test for only the latest version as older version is not maintained
versions: [latest]
permissions:
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results

runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@cff3e9a7f62c41dd51975266d0ae235709e39c41 # master
with:
image-ref: 'docker.io/coredns/coredns:${{ matrix.versions }}'
severity: 'CRITICAL,HIGH'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v2.2.1
with:
sarif_file: 'trivy-results.sarif'
36 changes: 0 additions & 36 deletions .github/workflows/whitespace.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: 'Yamllint'
uses: karancode/yamllint-github-action@dd59165b84d90d37fc919c3c7dd84c7e37cd6bfb
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Corefile
*.swp
/coredns
coredns.exe
Corefile
build/
release/
Loading