Commit Graph

459 Commits

Author SHA1 Message Date
Yong Tang
2d42f0e8f5 Enforce doker build test (#8271)
This PR enforce docker-build test so that every PR will check to make
sure the docker build (which reliesd on if base image, binary, etc
are still correct), is actually available and working.

Note previously, we only check a dry run of docker push, but not actually
build the docker image (as binary was fetched from release version on github).
This PR fetch local binary build instead as there maynot be the same in different
release versions of binary.

This is related 8228

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2026-07-10 00:24:39 -07:00
dependabot[bot]
b376a785ae build(deps): bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 (#8241) 2026-07-08 17:31:47 +03:00
dependabot[bot]
85d5ec7974 build(deps): bump actions/setup-go from 6.4.0 to 6.5.0 (#8219) 2026-07-01 18:16:45 +03:00
dependabot[bot]
9ac3acb006 build(deps): bump softprops/action-gh-release from 3.0.0 to 3.0.1 (#8220) 2026-07-01 18:16:27 +03:00
dependabot[bot]
6511a8cd53 build(deps): bump actions/checkout from 6.0.3 to 7.0.0 (#8194)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](df4cb1c069...9c091bb21b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-24 22:08:39 -07:00
dependabot[bot]
515085d55e build(deps): bump github/codeql-action from 4.36.1 to 4.36.2 (#8173) 2026-06-17 18:48:42 +03:00
dependabot[bot]
0a33a3d6a1 build(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#8160) 2026-06-10 17:26:59 +03:00
dependabot[bot]
9221482e2d build(deps): bump github/codeql-action from 4.36.0 to 4.36.1 (#8159) 2026-06-10 17:26:16 +03:00
dependabot[bot]
486abeffc5 build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#8156) 2026-06-10 17:25:49 +03:00
dependabot[bot]
6ae26569a2 build(deps): bump github/codeql-action from 4.35.5 to 4.36.0 (#8147) 2026-06-04 06:31:53 +03:00
dependabot[bot]
d4852224d0 build(deps): bump docker/login-action from 4.1.0 to 4.2.0 (#8146) 2026-06-04 06:30:48 +03:00
dependabot[bot]
1369324776 build(deps): bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 (#8145) 2026-06-04 06:26:25 +03:00
dependabot[bot]
fea4f2c708 build(deps): bump actions/stale from 10.2.0 to 10.3.0 (#8127)
Bumps [actions/stale](https://github.com/actions/stale) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](b5d41d4e1d...eb5cf3af3a)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 20:49:07 +03:00
dependabot[bot]
63491966e4 build(deps): bump github/codeql-action from 4.35.4 to 4.35.5 (#8126)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.4 to 4.35.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](68bde559de...9e0d7b8d25)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 20:48:08 +03:00
dependabot[bot]
4a7b286b6e build(deps): bump actions/dependency-review-action from 4.9.0 to 5.0.0 (#8111)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.9.0 to 5.0.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](2031cfc080...a1d282b36b)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-20 22:45:13 +03:00
dependabot[bot]
63736a4b08 build(deps): bump github/codeql-action from 4.35.3 to 4.35.4 (#8117)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.3 to 4.35.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e46ed2cbd0...68bde559de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-20 22:44:40 +03:00
dependabot[bot]
2214a0b72a build(deps): bump github/codeql-action from 4.35.2 to 4.35.3 (#8099)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.2 to 4.35.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](95e58e9a2c...e46ed2cbd0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-13 17:24:54 +03:00
dependabot[bot]
600d62270c build(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 (#8075) 2026-04-29 21:21:14 -07:00
Ville Vesilehto
99be1c7809 ci(verify-make-gen): limit push trigger to master (#8069)
Currently triggered on any branch push in the repo.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2026-04-28 21:02:05 -07:00
dependabot[bot]
a669d74088 build(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 (#8057)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](bbbca2ddaa...043fb46d1a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 07:23:43 -07:00
dependabot[bot]
897b111d95 build(deps): bump github/codeql-action from 4.35.1 to 4.35.2 (#8063)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.1 to 4.35.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c10b8064de...95e58e9a2c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 07:23:00 -07:00
dependabot[bot]
88f147b620 build(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 (#8055)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](c0f553fe54...5f6978faf0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 07:22:26 -07:00
dependabot[bot]
620b7b62e8 build(deps): bump softprops/action-gh-release from 2.6.1 to 3.0.0 (#8064)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.6.1 to 3.0.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](153bb8e044...b430933298)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 07:22:16 -07:00
dependabot[bot]
d28b21bff3 build(deps): bump docker/login-action from 4.0.0 to 4.1.0 (#8048) 2026-04-15 17:00:10 +03:00
Ville Vesilehto
18d692a986 ci: limit push trigger to master branch (#8033) 2026-04-09 02:53:57 -07:00
dependabot[bot]
d3fb3e58fe build(deps): bump github/codeql-action from 4.34.1 to 4.35.1 (#8021)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.34.1 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3869755554...c10b8064de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 20:14:10 +03:00
dependabot[bot]
ae338f57c0 build(deps): bump astral-sh/setup-uv from 7.6.0 to 8.0.0 (#8018)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 7.6.0 to 8.0.0.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](37802adc94...cec208311d)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 20:13:22 +03:00
dependabot[bot]
3c100561f8 build(deps): bump actions/setup-go from 6.3.0 to 6.4.0 (#7995)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4b73464bb3...4a3601121d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 20:58:47 +03:00
Ville Vesilehto
b9080d9a4d ci: verify generated files are up to date (#7987) 2026-03-31 06:24:50 -07:00
Ville Vesilehto
1df23e0e86 ci: create PR instead of push autogenerated docs (#7988) 2026-03-30 14:40:01 -07:00
Ville Vesilehto
2ba4340362 chore: bump golangci-lint to v2.11.4 (#7983) 2026-03-30 14:39:09 -07:00
John-Michael Mulesa
1c15569168 feat: add support for running CoreDNS as a Windows service (#7962)
* feat: add support for running CoreDNS as a Windows service

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* Use non-deprecated service check function.

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* refactor: remove deprecated build tags and clean up imports in service files

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* ci: add Windows test workflow and fix log field access in service_windows.go

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* test: implement cross-platform file permission restriction for Windows compatibility in run_test.go

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* refactor: remove Windows-specific icacls test logic and restrict unreadable file test to non-Windows platforms

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* docs: add documentation for -windows-service flag in man page

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

---------

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>
2026-03-26 21:10:53 +02:00
Ville Vesilehto
12131b7455 ci: remove trivy-action (#7961) 2026-03-24 13:46:32 -07:00
Ville Vesilehto
980b0fe16b ci(depsreview): add version comment to pin (#7966) 2026-03-24 10:31:25 -07:00
Ville Vesilehto
28617d8f30 ci(release): use env vars for expressions in shell (#7965) 2026-03-24 10:31:00 -07:00
Ville Vesilehto
b7948f1bac ci: add persist-credentials: false to checkouts (#7964) 2026-03-24 10:29:48 -07:00
Ville Vesilehto
734426798f ci(dependabot): add 7-day cooldown for updates (#7960) 2026-03-24 00:59:24 -07:00
Ville Vesilehto
95d6e177ee ci(yamllint): replace third-party action with uvx (#7957) 2026-03-24 00:58:19 -07:00
Ville Vesilehto
718bfe7e2d ci(docker): scope secrets to publish step only (#7959) 2026-03-24 00:57:50 -07:00
Ville Vesilehto
406be98739 ci: use go-version-file instead of GITHUB_ENV (#7958) 2026-03-24 00:57:20 -07:00
dependabot[bot]
ca124299be build(deps): bump github/codeql-action from 4.33.0 to 4.34.1 (#7952)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.33.0 to 4.34.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b1bff81932...3869755554)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 16:01:53 +02:00
John-Michael Mulesa
92a6ae7079 Update github workflow to release windows builds in zip format. (#7946)
* feat: Add GitHub Actions workflow for drafting releases and update Makefile to build Windows releases as zip archives.

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

* Generate both tgz and zip for Windows to support any existing workflows.

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>

---------

Signed-off-by: John-Michael Mulesa <jmulesa@gmail.com>
2026-03-21 20:21:12 -07:00
dependabot[bot]
2be910ef1c build(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1 (#7930)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](a06a81a03e...153bb8e044)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 17:21:00 +02:00
dependabot[bot]
43f07e78ec build(deps): bump github/codeql-action from 4.32.6 to 4.33.0 (#7929)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0d579ffd05...b1bff81932)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 17:20:44 +02:00
dependabot[bot]
cee5386eb8 build(deps): bump aquasecurity/trivy-action from 0.34.1 to 0.35.0 (#7910) 2026-03-09 09:24:35 -07:00
dependabot[bot]
452a10ecd0 build(deps): bump actions/dependency-review-action from 4.8.3 to 4.9.0 (#7909) 2026-03-09 09:23:38 -07:00
dependabot[bot]
029523b253 build(deps): bump docker/login-action from 3.7.0 to 4.0.0 (#7908) 2026-03-09 16:49:10 +02:00
dependabot[bot]
238c8bc211 build(deps): bump github/codeql-action from 4.32.5 to 4.32.6 (#7911) 2026-03-09 16:48:15 +02:00
Ville Vesilehto
90a9739478 chore(lint): bump golangci-lint to v2.11.1 (#7905)
- Added nolint to plugin/auto/walk.go to avoid a symlink/TOCTOU
  warning, as it needs to follow symlink.
- Replaced a few flagged integer conversions with safe equivalents in
  cache hashing, reuseport socket setup, and TLS arg handling
- Preallocated response rule slices in plugin/rewrite/name.go
- Replaced WriteString(fmt.Sprintf/Sprintln(...)) with direct
  fmt.Fprint* calls
- Removed stale nolint directives from code and tests that are no
  longer needed

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2026-03-06 11:50:24 -08:00
dependabot[bot]
442f106e5e build(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 (#7886) 2026-03-02 16:51:25 +02:00