gitea-sonarqube-bot/internal
justusbunsi dc3969cd05
Improve configuration file flexibility
Instead of re-inventing the wheel regarding configuration location
handling and validation, this introduces a new command flag `--config`
allowing for full flexibility of configuration filename and location.
This flag can also be defined via environment variable which allows
an easy way of starting the bot from command line, inside a Docker
container or using the Helm Chart.

It makes the custom environment lookup unnecessary and reduces some
complexity during startup and for writing tests.

Resolves: #10

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-22 14:03:23 +02:00
..
actions Refactor action validation 2021-10-17 11:12:50 +02:00
api Add webhook secret validation 2022-05-21 19:05:09 +02:00
clients Open comment link in new tab 2021-10-12 14:09:24 +02:00
settings Improve configuration file flexibility 2022-05-22 14:03:23 +02:00
webhooks Refactor action validation 2021-10-17 11:12:50 +02:00