Dimitri Herzog
acad4a7d7d
chore: define version of golangci-lint in makefile ( #816 )
2023-01-05 08:44:04 +01:00
Dimitri Herzog
0ab43da956
chore(build): fix deprecated configuration ( #817 )
2023-01-05 08:43:41 +01:00
Dimitri Herzog
53a7d4fccc
Test refactoring ( #798 )
...
* test: refactor tests
* chore: fix possible race condition in cache
2022-12-29 14:58:25 +01:00
dependabot[bot]
30086dc957
build(deps): bump actions/stale from 6 to 7 ( #809 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 22:55:25 +01:00
Kwitsch
9abeaeddea
Added gofumpt ( #805 )
...
* fix linter errors
* added gofumpt
* Makefile cleanup
* gofumpt run
* Update Makefile
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
* go mod tidy
* fmt + lint
* go mod tidy
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
2022-12-26 22:11:45 +01:00
dependabot[bot]
7874fbef0e
build(deps): bump github.com/abice/go-enum from 0.5.3 to 0.5.4 ( #810 )
...
Bumps [github.com/abice/go-enum](https://github.com/abice/go-enum ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/abice/go-enum/releases )
- [Changelog](https://github.com/abice/go-enum/blob/master/.goreleaser.yml )
- [Commits](https://github.com/abice/go-enum/compare/v0.5.3...v0.5.4 )
---
updated-dependencies:
- dependency-name: github.com/abice/go-enum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 05:49:10 +01:00
dependabot[bot]
c7f12cff0d
build(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2 ( #801 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.24.1...v1.24.2 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 07:50:43 +01:00
dependabot[bot]
4cc27f325b
build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 ( #802 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kwitsch <kwitsch@gmail.com>
2022-12-17 23:42:26 +01:00
dependabot[bot]
e754372dca
build(deps): bump github.com/swaggo/swag from 1.8.8 to 1.8.9 ( #803 )
...
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag ) from 1.8.8 to 1.8.9.
- [Release notes](https://github.com/swaggo/swag/releases )
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml )
- [Commits](https://github.com/swaggo/swag/compare/v1.8.8...v1.8.9 )
---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kwitsch <kwitsch@gmail.com>
2022-12-17 23:31:43 +01:00
Dimitri Herzog
3c40ce5d3b
fix: no initial cache refresh with "fast" start strategy ( #804 )
2022-12-17 23:06:58 +01:00
dependabot[bot]
8b137bb1ed
build(deps): bump goreleaser/goreleaser-action from 3 to 4 ( #800 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 08:27:53 +01:00
dependabot[bot]
a44e496bf2
build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 ( #796 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.5.1...v2.6.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 08:16:57 +01:00
Dimitri Herzog
87779d5839
fix(resolver): crash when using client upstream ( #791 ) ( #793 )
2022-12-09 18:42:06 +01:00
Dimitri Herzog
943d6cc944
test: use 'eventually' to avoid flaky tests ( #792 )
2022-12-09 18:37:32 +01:00
dependabot[bot]
1dead3af81
build(deps): bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 ( #789 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.7...v5.0.8 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 17:38:01 +01:00
ThinkChaos
4f01d017df
fix(resolver): query log creation cooldown not being fixed
...
Default is backoff, but documentation implies a fixed delay.
2022-12-09 11:23:28 -05:00
ThinkChaos
164e398d04
fix(resolver): upstream long retry delay
...
Default delay is 100ms which is way too much for query retries.
2022-12-09 11:23:28 -05:00
dependabot[bot]
e08e6090df
build(deps): bump golang.org/x/net from 0.2.0 to 0.4.0 ( #790 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.2.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 16:39:02 +01:00
ThinkChaos
d501d867df
style(resolver): standardize configuration disabled impls and tests
2022-12-04 20:59:12 -05:00
ThinkChaos
7fa7e2ec79
refactor(resolver): only build mocks during tests
...
This makes iterating with breaking refactors easier as you can also
break the mocks without breaking normal compilation.
Also unexport code only used in the resolver package.
Only `MockUDPUpstreamServer` is kept as non test and exported as it is
used by the server package.
2022-12-04 20:58:59 -05:00
Suhaib Malik
9be0d64885
CONFIG_FILE -> BLOCKY_CONFIG_FILE ( #784 )
2022-12-04 17:59:53 +01:00
ThinkChaos
45d96a2f49
style: fix lint ( #781 )
2022-12-03 11:40:07 +01:00
Dimitri Herzog
d2ca5a4a6f
feat: reduce bulk size in database writer ( #733 ) ( #762 )
...
* feat: reduce bulk size in database writer (#733 )
* test: added tests with sqlmock to cover the database migration
2022-12-02 22:17:41 +01:00
Kwitsch
b73cd3b5ba
Config restructuring ( #771 )
...
To declutter the global top level config options i propose the grouping of ports and logging options as child options of top level options.
New structure:
ports:
dns: 43
http: 4000
https: 4443
tls: 853
log:
level: warn
format: json
privacy: true
timestamp: false
2022-12-02 21:55:40 +01:00
Dimitri Herzog
4ad7670bf9
test(e2e): added more `startVerifyUpstream` tests
2022-12-02 12:56:44 -05:00
Dimitri Herzog
be5fce031b
test: make e2e tests more resilient
2022-12-02 12:56:44 -05:00
ThinkChaos
c06c017a1a
fix: `startVerifyUpstream` not disabling all start checks
2022-12-02 12:56:44 -05:00
ThinkChaos
add591c5a4
fix(ede-resolver): don't panic when next resolver errors ( #778 )
2022-12-02 10:10:11 +01:00
Dimitri Herzog
f78a57a94d
chore(build): add additional linters ( #774 )
...
* chore(build): add nolintlint linter
* chore(build): add usestdlibvars linter
2022-11-29 21:58:26 +01:00
Dimitri Herzog
2b49c2048f
feat(querylog): define which information should be logged ( #765 ) ( #766 )
2022-11-26 22:12:56 +01:00
Dimitri Herzog
797d71d57c
chore(build): disable deprecated linters ( #767 )
2022-11-26 22:11:15 +01:00
Dimitri Herzog
f3d96abbae
chore(build): exclude e2e dir from codecov report
2022-11-25 07:36:38 +00:00
Dimitri Herzog
fb0810f18d
build(tests): e2e integration tests with docker and testcontainers ( #753 )
2022-11-24 21:54:52 +01:00
Kwitsch
d4813a6448
feat(queryLog): log instance hostname to distinguish log entries in multi-instance installation( #319 ) ( #756 )
...
* added hostname to util
* added HostnameString
* some leftover debug output?
* added hostname to querylog
* add optional volume mounts to documentation
* changed documentation
2022-11-24 21:39:58 +01:00
Dimitri Herzog
e63d9fbdad
test: small refactoring changes, small improvements in redis test
2022-11-24 14:46:34 +01:00
Kwitsch
c19d4bd60d
feat: Support for redis sentinel( #632 )
...
Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2022-11-24 14:37:48 +01:00
dependabot[bot]
9ae009c7a0
build(deps): bump github.com/swaggo/swag from 1.8.7 to 1.8.8
...
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag ) from 1.8.7 to 1.8.8.
- [Release notes](https://github.com/swaggo/swag/releases )
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml )
- [Commits](https://github.com/swaggo/swag/compare/v1.8.7...v1.8.8 )
---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 07:56:58 +01:00
Dimitri Herzog
fac872b6e2
@0xERR0R chore(docs): minor changes
...
Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
2022-11-23 20:47:59 +01:00
Dimitri Herzog
2b0c377702
chore(docs): minor format changes, typos
2022-11-23 20:47:59 +01:00
Dimitri Herzog
8fdcb6efa4
chore(build): install mkdocs-material
2022-11-23 20:47:59 +01:00
dependabot[bot]
9d890bb2e4
build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.5.0...v2.5.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 07:52:15 +01:00
dependabot[bot]
0d63ca3ef5
build(deps): bump github.com/avast/retry-go/v4 from 4.3.0 to 4.3.1
...
Bumps [github.com/avast/retry-go/v4](https://github.com/avast/retry-go ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/avast/retry-go/releases )
- [Commits](https://github.com/avast/retry-go/compare/4.3.0...4.3.1 )
---
updated-dependencies:
- dependency-name: github.com/avast/retry-go/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 09:35:21 +01:00
dependabot[bot]
5bd5c06292
build(deps): bump github.com/mroth/weightedrand from 0.4.1 to 1.0.0
...
Bumps [github.com/mroth/weightedrand](https://github.com/mroth/weightedrand ) from 0.4.1 to 1.0.0.
- [Release notes](https://github.com/mroth/weightedrand/releases )
- [Commits](https://github.com/mroth/weightedrand/compare/v0.4.1...v1.0.0 )
---
updated-dependencies:
- dependency-name: github.com/mroth/weightedrand
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 07:47:47 +01:00
Tobias Muellerleile
a04a4180c3
Fix docs for connectIPVersion param
2022-11-14 21:35:35 +01:00
dependabot[bot]
c8058e3ec7
build(deps): bump gorm.io/driver/mysql from 1.4.3 to 1.4.4
...
Bumps [gorm.io/driver/mysql](https://github.com/go-gorm/mysql ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/go-gorm/mysql/releases )
- [Commits](https://github.com/go-gorm/mysql/compare/v1.4.3...v1.4.4 )
---
updated-dependencies:
- dependency-name: gorm.io/driver/mysql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 07:48:15 +01:00
Kwitsch
cf4e894b31
added setLocaltime
2022-11-12 21:37:01 +01:00
Dimitri Herzog
f15c7d3190
fix: add timezone data to docker container
2022-11-11 08:25:54 +01:00
dependabot[bot]
e585a8bed9
build(deps): bump github.com/alicebob/miniredis/v2 from 2.23.0 to 2.23.1
...
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.23.0...v2.23.1 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 09:11:19 +01:00
dependabot[bot]
456e43b48d
build(deps): bump github.com/onsi/gomega from 1.24.0 to 1.24.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.24.0 to 1.24.1.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.24.0...v1.24.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 09:11:10 +01:00
dependabot[bot]
817b1e07c8
build(deps): bump golang.org/x/net from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:37:52 +01:00