Hector
f4d6598308
build: add manual docker multistep build ( !114 )
...
- Include two Dockerfiles in the repo: one for Goreleaser and one for manual builds
- Update the Goreleaser config to use it's own Dockerfile
- The Dockerfile for manual builds uses a two step process to build the exporter - this way the base system does not need Go installed
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/114
2023-10-27 06:01:41 +00:00
Hector
31b29021c5
merge: update-dependencies
...
* Merge branch 'update-dependencies' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!113
* Merged by: Hector <hector@hjs.dev>
2023-10-27 05:34:22 +00:00
Hector
900e05fea8
chore: update dependencies ( !113 )
...
- Update project dependencies
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/113
2023-10-27 05:34:21 +00:00
Hector
2b91e58d14
merge: add-healthcheck-file-to-gorelaser-config
...
* Merge branch 'add-healthcheck-file-to-gorelaser-config' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!112
* Merged by: Hector <hector@hjs.dev>
2023-09-09 09:09:44 +00:00
Hector
b1fa45f76b
chore: add healthcheck file to gorelaser config ( !112 )
...
* Add missing goreleaser config to include the healthcheck script in the docker image
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/112
2023-09-09 09:09:44 +00:00
Hector
a2139d9774
merge: add-troubleshooting-section-to-readme
...
* Merge branch 'add-troubleshooting-section-to-readme' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!111
* Merged by: Hector <hector@hjs.dev>
2023-09-09 06:39:58 +00:00
Hector
283ce50c59
docs: add troubleshooting section to readme ( !111 )
...
* Update README with a troubleshooting section
* Describe how to solve the "no such file or directory" error
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/111
2023-09-09 06:39:58 +00:00
Hector
1333fde5ca
merge: add-health-endpoint-to-exporter
...
* Merge branch 'add-health-endpoint-to-exporter' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!110
* Merged by: Hector <hector@hjs.dev>
2023-09-09 06:15:23 +00:00
Hector
8c67b44052
feat: add health endpoint to exporter ( !110 )
...
* Add new `/health` endpoint to check if exporter is running correctly
* Update docker healthcheck to use the new endpoint
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/110
2023-09-09 06:15:23 +00:00
Hector
f92318e864
merge: add-healthcheck-to-docker-image
...
* Merge branch 'add-healthcheck-to-docker-image' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!109
* Merged by: Hector <hector@hjs.dev>
2023-09-07 21:16:20 +00:00
Hector
9738a20a82
build: add healthcheck to docker image ( !109 )
...
* Update docker image to include a healthcheck instruction using a custom script
* Replace docker base image with alpine
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/109
2023-09-07 21:16:20 +00:00
Hector
a4c48ba46f
merge: publish-arm64-based-docker-images
...
* Merge branch 'publish-arm64-based-docker-images' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!108
* Merged by: Hector <hector@hjs.dev>
2023-09-07 20:29:30 +00:00
Hector
970bbb51d4
ci: publish arm64 based docker images ( !108 )
...
* Update `goreleaser` config to publish `arm64` based docker images
* Remove manual image tagging script and replace with `goreleaser` config
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/108
2023-09-07 20:29:30 +00:00
Hector
e80e361068
merge: update-dependencies
...
* Merge branch 'update-dependencies' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!107
* Merged by: Hector <hector@hjs.dev>
2023-09-07 18:33:25 +00:00
Hector
4a344cf8d0
chore: update dependencies ( !107 )
...
* Update project dependencies
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/107
2023-09-07 18:33:24 +00:00
Hector
b1504423f4
merge: update-dependencies
...
* Merge branch 'update-dependencies' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!106
* Merged by: Hector <hector@hjs.dev>
2023-08-01 13:30:21 +00:00
Hector
ba36fdb24e
chore: update dependencies ( !106 )
...
* Update dependencies to the latest versions
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/106
2023-08-01 13:30:20 +00:00
Hector
235d34114b
merge: chore/exclude-new-merge-messages-from-changelog
...
* Merge branch 'chore/exclude-new-merge-messages-from-changelog' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!104
* Merged by: Hector <hector@hjs.dev>
2023-07-03 07:18:37 +00:00
Hector
29d03c5a88
chore: exclude new merge messages from changelog ( !104 )
...
* Update the goreleaser config to exclude the new merge commit messages
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/104
2023-07-03 07:18:37 +00:00
Hector
a388773836
merge: chore/dependency-updates
...
* Merge branch 'chore/dependency-updates' into 'main'
* See merge request hectorjsmith/fail2ban-prometheus-exporter!103
* Merged by: Hector <hector@hjs.dev>
2023-07-03 07:03:14 +00:00
Hector
fdd223c96b
chore: dependency updates ( !103 )
...
* Update dependencies to their latest versions
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/103
2023-07-03 07:03:14 +00:00
Hector
fe039c0787
Merge branch 'docs/add-go-report-card-to-readme' into 'main'
...
docs: add go report card to readme
See merge request hectorjsmith/fail2ban-prometheus-exporter!102
2023-06-23 20:42:46 +00:00
Hector
426011fe14
docs: add go report card to readme ( !102 )
...
* Add a badge with the project's go report card to the project `README` file
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/102
2023-06-23 20:42:46 +00:00
Hector
f877fcb79d
Merge branch 'ci/fix-release-step-script' into 'main'
...
ci: fix release step script
See merge request hectorjsmith/fail2ban-prometheus-exporter!101
2023-06-22 21:52:31 +00:00
Hector
8c67048868
ci: fix release step script ( !101 )
...
* Fix the yaml config for the release step to handle a multi-line command
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/101
2023-06-22 21:52:31 +00:00
Hector
0a132c83df
Merge branch 'docs/add-dry-run-command-to-readme' into 'main'
...
docs: add dry run flag to readme
See merge request hectorjsmith/fail2ban-prometheus-exporter!100
2023-06-22 18:37:01 +00:00
Hector
e46da3e7dd
docs: add dry run flag to readme ( !100 )
...
* Update `README` to include the new `--dry-run` flag
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/100
2023-06-22 18:37:01 +00:00
Hector
18000cf9ef
Merge branch 'ci/add-go-vet-to-test-stage' into 'main'
...
ci: add go vet to test stage
See merge request hectorjsmith/fail2ban-prometheus-exporter!99
2023-06-22 18:24:15 +00:00
Hector
b6cec83503
ci: add go vet to test stage ( !99 )
...
* Add `go vet` to the test stage of the Gitlab CI/CD pipeline
* Fix issues raised by `go vet`
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/99
2023-06-22 18:24:15 +00:00
Hector
8d457da2b9
Merge branch 'feat/add-new-dry-run-mode' into 'main'
...
feat: add new dry run mode
See merge request hectorjsmith/fail2ban-prometheus-exporter!98
2023-06-22 16:09:36 +00:00
Hector
9c1a10e309
feat: add new dry run mode ( !98 )
...
* Add a new *dry-run* mode to exit just before running the server
* This allows testing that the socket is working before starting the server
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/98
2023-06-22 16:09:36 +00:00
Hector
5275d280be
Merge branch 'build/disable-cgo-for-makefile-build' into 'main'
...
build: disable cgo for makefile build
See merge request hectorjsmith/fail2ban-prometheus-exporter!97
2023-06-22 15:22:42 +00:00
Hector
b9ab77d62d
build: disable cgo for makefile build ( !97 )
...
* Disable `CGO` in the makefile build to avoid dependencies on external C libraries
* This also aligns with the build done for releases and docker images
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/97
2023-06-22 15:22:42 +00:00
Hector
5f879e1921
Merge branch 'feat/print-fail2ban-version-on-startup' into 'main'
...
feat: print fail2ban version on startup
See merge request hectorjsmith/fail2ban-prometheus-exporter!96
2023-06-22 15:16:12 +00:00
Hector
8e0284d9f0
feat: print fail2ban version on startup ( !96 )
...
* Print the version reported by `fail2ban-server` when the exporter starts up
* Logs an error if the connection to the server fails
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/96
2023-06-22 15:16:12 +00:00
Hector
d1b65a2134
Merge branch 'chore/replace-ioutils-with-os-calls' into 'main'
...
chore: replace ioutil with os calls
See merge request hectorjsmith/fail2ban-prometheus-exporter!95
2023-06-22 14:33:57 +00:00
Hector
dc342e3051
chore: replace ioutil with os calls ( !95 )
...
* Replace calls to deprecated `ioutil` functions with the `os` package
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/95
2023-06-22 14:33:56 +00:00
Hector
1508693dd6
Merge branch 'chore/rename-examples-folder' into 'main'
...
chore: rename examples folder
See merge request hectorjsmith/fail2ban-prometheus-exporter!94
2023-06-22 14:22:31 +00:00
Hector
594d9f26a1
chore: rename examples folder ( !94 )
...
* Rename the `examples` folder to `_examples` to distinguish it from source code folders
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/94
2023-06-22 14:22:31 +00:00
Hector
938860d5dc
Merge branch 'set-dependency-scanning-config-1' into 'main'
...
ci: configure dependency scanning
See merge request hectorjsmith/fail2ban-prometheus-exporter!93
2023-06-21 17:50:43 +00:00
Hector
cfa20f6c1d
ci: configure dependency scanning ( !93 )
...
* Enable dependency scanning CI pipeline
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/93
2023-06-21 17:50:43 +00:00
Hector
211a5015d0
Merge branch 'chore/update-makefile-commands' into 'main'
...
chore: update makefile commands
See merge request hectorjsmith/fail2ban-prometheus-exporter!92
2023-06-21 15:02:11 +00:00
Hector
56ecc03341
chore: update makefile commands ( !92 )
...
* Tweak makefile commands and file formatting
* Remove command and build step for go mod formatting
* Add command to update project dependencies
* Add make command to list all make commands
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/92
2023-06-21 15:02:11 +00:00
Hector
b32bbeb1cd
Merge branch 'fix/set-http-server-timeouts' into 'main'
...
fix: set http server timeouts
See merge request hectorjsmith/fail2ban-prometheus-exporter!91
2023-06-21 11:09:39 +00:00
Hector
37b67643e8
fix: set http server timeouts ( !91 )
...
* Set timeout values when configuring the HTTP server to mitigate "Slowloris" vulnerability
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/91
2023-06-21 11:09:39 +00:00
Hector
1eec68b49b
Merge branch 'refactor/move-server-setup-code-to-new-package' into 'main'
...
refactor: move server setup code to new package
See merge request hectorjsmith/fail2ban-prometheus-exporter!90
2023-06-21 10:58:43 +00:00
Hector
11c4b26c0b
refactor: move server setup code to new package ( !90 )
...
* Move code setting up the HTTP server to it's own package
* This helps clean up the `main` function and make it easier to read
* Rename the `BasicAuthMiddleware` to remove reference to Basic since it can now handle any type of auth type
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/90
2023-06-21 10:58:43 +00:00
Hector
41b05f7e16
Merge branch 'refactor/rewrite-auth-handler-code' into 'main'
...
refactor: rewrite auth handler code
See merge request hectorjsmith/fail2ban-prometheus-exporter!89
2023-06-21 10:31:33 +00:00
Hector
3cff8ccd64
refactor: rewrite auth handler code ( !89 )
...
* Rewrite the code handling basic auth to make it easier to extend for other types of auth.
* The behaviour of the existing code is maintained.
* No changes to how basic auth is configured from a user's perspective.
https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/89
2023-06-21 10:31:33 +00:00
Hector
3215fe5f4c
Merge branch 'refactor/replace-cli-parser-with-kong' into 'main'
...
refactor: replace cli parser with kong
See merge request hectorjsmith/fail2ban-prometheus-exporter!88
2023-06-20 20:16:23 +00:00