Commit Graph

64 Commits

Author SHA1 Message Date
Kwitsch debac9eaa8
Refactoring/linter (#1447)
* update golangci-lint to v1.57.2

* linter fixes
2024-04-12 16:44:50 -04:00
ThinkChaos b498bc5094
feat(lists): add support for wildcard lists using a custom Trie (#1233) 2023-11-17 15:58:35 +01:00
Kwitsch 8ece708fe9
devcontainer & unit test refactoring (#1220)
* extension cleanup & added ginkgo watch

* added gcov2lcov

* added test explorer and reworked scripts

* go mod tidy

* use package cache volume

* script rework

* defined tasks

* defined launch

* don't try to convert if test was canceld

* generate lcov only in devcontainer

* disable coverage upload on forks

* wip: make lcov

* fixed unit tests for parallel

* parallel test for lists

* fix serve test for parallel

* parallel test fixes

* deleted accident commit

* wip: make lcov

* restructured settings location

* start script refactoring

* added GetProcessPort

* fixed parallel ports

* race fix

* changed port for github runner binding

* fixed local list var in test

* more local vars in tests fix

* less local vars

* run test & race parallel

* removed invalid error check

* fixed error  check

* less local variables

* fixed timing problem

* removed gcov2lcov

* added generate-lcov

* added GINKGO_PROCS to makefile

* fixed workflow

* run generate-lcov on save *.go

* added tooltitude
2023-11-11 11:58:31 -05:00
Kwitsch 1a200c77e3
Fix/opencontainer labels (#1192)
* fix documentation url

* fix opencontainers created label

* fixed document path

* added link
2023-10-08 23:34:54 +02:00
Dimitri Herzog a9ec322c8d chore(test): set timeout and flake-attempts for e2e tests 2023-09-18 18:46:01 +02:00
Dimitri Herzog ed864962b2 chore: improve execution time of e2e tests 2023-09-14 15:06:10 +02:00
Dimitri Herzog 72d747c16f
feat: API-first approach for REST interface (#1129)
* feat: embed OpenAPI definition file

* feat: use OpenAPI generated server and client

* feat: provide OpenAPI interface documentation

* chore(test): add additional tests
2023-09-09 19:30:55 +02:00
Dimitri Herzog 7645ed35a3
chore(build): update golangci-lint to 1.54.2 (#1121) 2023-08-31 14:47:30 +02:00
Dimitri Herzog 74fcd500d3
chore(build): add format with gofumpt to build (#974) 2023-04-04 09:25:45 +02:00
Dimitri Herzog 8e70b8a975
chore(build): update golangci-lint (#931) 2023-03-16 07:49:09 +01:00
Kwitsch 101e2c554b
Workflow changes (#857)
* fix linter errors

* fix for flaky redis unit test

* timeout adjustment

* e2e-test -> ci-build

* setup docker buildx

* added concurrency cancelation

* changed job name

* Test comment out problematic eventually

* added comment

* workflow file rename

* workflow name changed

* skip go generate

* added make generate

* removed unused go generate

* setup golang with caches if needed

* matrix revamp

* activate gofor e2e

* fix matrix

* test

* eventually timing

* removed linter workflow in favor of make matrix

* expect -> Eventually

* renamed workflow
2023-02-07 14:00:53 +01:00
Dimitri Herzog acad4a7d7d
chore: define version of golangci-lint in makefile (#816) 2023-01-05 08:44:04 +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
Dimitri Herzog fb0810f18d
build(tests): e2e integration tests with docker and testcontainers (#753) 2022-11-24 21:54:52 +01:00
Dimitri Herzog 8fdcb6efa4 chore(build): install mkdocs-material 2022-11-23 20:47:59 +01:00
Dimitri Herzog f1d746b815 chore: move golangci-lint from tools.go to Makefile (#709) 2022-11-05 22:46:43 +01:00
Kwitsch 3eb3e6abc9 Fix idention in docker-build 2 2022-10-22 00:31:52 +02:00
Kwitsch c1da8c0c82 Fix idention in docker-build 2022-10-22 00:26:20 +02:00
Kwitsch 3a525aad6a set GOARCH & GOARM in Makefile 2022-10-21 23:59:35 +02:00
Kwitsch 6d07f59590 cleanup Makefile 2022-10-21 23:15:26 +02:00
Kwitsch e6dd093459 fix architecture 2022-10-21 21:13:54 +02:00
Kwitsch 11cf3331a6 bugfixes 2022-10-21 21:07:40 +02:00
Kwitsch efd914fafd makefile rework 2022-10-21 20:56:26 +02:00
Kwitsch bba85a8068 wf run 1 2022-09-20 18:57:02 +02:00
Kwitsch 28e8b96769 makefile fix 2022-09-17 13:34:39 +02:00
Kwitsch cfc19b1338 added cache from to docker-build 2022-09-17 13:28:33 +02:00
Kwitsch e634a1c6fc multiarch 2022-09-14 20:58:17 +02:00
Kwitsch 4c799f0fef makefile fix 2022-09-14 16:46:36 +02:00
Kwitsch 66e43375b8 removed "make build-static" 2022-09-14 16:26:24 +02:00
Kwitsch 9cbff3d180 generate outside of docker 2022-09-14 15:08:21 +02:00
Kwitsch a035197eff added VERSION & BUILD_TIME as build-arg 2022-09-12 10:33:14 +02:00
Kwitsch d824a439f8 get version outside of docker 2022-09-11 20:24:59 +02:00
Kwitsch 5bfed0e980
Docker container rework (#638) 2022-09-08 22:34:08 +02:00
Dimitri Herzog 3c5b7a20dc
chore: Managing of external tools with go modules (#616) (#617) 2022-08-03 22:10:07 +02:00
Dimitri Herzog b1973702bd chore: update golangci-lint to v1.47.3 2022-08-01 23:19:35 +02:00
Kwitsch 061419f68f
chore: use ginkgo for test executions (#537) (#562)
* go test -> ginkgo

* added FlakeAttempts to flaky test definition

Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2022-07-08 08:04:08 +02:00
FileGo 2944debf0b
Update to Go 1.18 (#540)
* Update to Go 1.18

* remove "nolint:unparam", since unparam is currently disabled with go 1.18

* update golangci-lint to 1.46.2

Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2022-05-27 22:41:11 +02:00
Dimitri Herzog a4b89537db
update golangci-lint (#510)
* update golangci-lint

* enable gomnd linter

* enable asciicheck linter

* enable bidichk linter

* enable durationcheck linter

* enable errchkjson linter

* enable errorlint linter

* enable exhaustive linter

* enable gomoddirectives linter

* enable gomodguard guard

* enable grouper linter

* enable grouper and ifshort linters

* enable importas linter

* enable makezero linter

* enable nestif linter

* enable nilerr linter

* enable nilnil linter

* enable nlreturn linter

* enable nolintlint linter

* enable predeclared linter

* enable sqlclosecheck linter

* enable tenv linter

* enable wastedassign linter
2022-05-10 09:09:50 +02:00
Dimitri Herzog 41febafd41
chore: test cleanup and refactoring (#509)
test: added additional assertions, introduced channels for bus event tests, refactoring, eliminating race conditions in tests, enable race check in tests
2022-05-06 22:34:08 +02:00
Dimitri Herzog 476dd7d0eb update go-enum to v0.4.0 2022-03-28 21:35:48 +02:00
Dimitri Herzog db6d5cf1e2 changed command order 2021-11-10 22:31:45 +01:00
Dimitri Herzog e42c495847 Moved golangci-lint to the new job 2021-11-06 22:16:34 +01:00
Dimitri Herzog ab5be703c9 use fix version of go-enum 2021-09-13 22:11:33 +02:00
Dimitri Herzog e6ca89607a write database entries async in bulk 2021-09-13 22:06:21 +02:00
Dimitri Herzog ee8f041938 refactoring: generate enums 2021-09-11 21:31:03 +02:00
Dimitri Herzog 4a554e2ca3 added golangci-lint installation 2021-09-09 08:11:45 +00:00
Dimitri Herzog 26efda23bf changed package name 2021-08-30 18:12:33 +02:00
Dimitri Herzog 9be2d4ac96 added "fmt" target 2021-08-25 22:12:12 +02:00
Joseph Harnish d8903bc9c5
#203: Added version to web interface. (#195)
* Added more data to template data, and push the version to server.go in the makefile

* moving version and build time to util package, added build time to the web interface

Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2021-05-05 22:38:22 +02:00
Dimitri Herzog 34eaf34105 #188: Add additional binaries as release artifacts 2021-04-30 22:24:32 +02:00