Commit graph

29 commits

Author SHA1 Message Date
justusbunsi 4aad9c3e17
Improve docker setup instructions
- Be clear about where to run the commands
- Provide sample command for port change

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-06-17 20:46:51 +02:00
justusbunsi eb3cb301fc
Allow changing the port
This introduces a new application option `--port`/`-p` to switch the
listening port from 3000 (default) to another port.

Docker image can be configured using the corresponding environment
variable `GITEA_SQ_BOT_PORT`.

Helm Chart allows setting `.Values.app.listeningPort`

Resolves: #25

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-06-17 13:34:06 +02:00
justusbunsi ce13a040b8
Introduce changelog
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-22 14:25:03 +02:00
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
justusbunsi ffc2086b38
Add ArtifactHub badge
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-14 01:42:14 +02:00
justusbunsi 2fa3ec8197
Prepare Helm Chart release
- Auto-generate parameters documentation
  - Provide required `make` commands
  - Update contribution environment to match new requirements

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-14 01:10:07 +02:00
justusbunsi 3c76c8d904
Fix Docker Hub link
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-13 20:51:51 +02:00
justusbunsi e4ff25a193
Add Docker image instructions
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-13 20:48:47 +02:00
justusbunsi 7f68b52076 Extend requirements for Community Edition (#16)
Fixes #15

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://codeberg.org/justusbunsi/gitea-sonarqube-bot/pulls/16
Co-authored-by: justusbunsi <justusbunsi@noreply.codeberg.org>
Co-committed-by: justusbunsi <justusbunsi@noreply.codeberg.org>
2021-12-18 23:03:47 +01:00
justusbunsi 24e4249411
Add SonarQube analysis
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-17 12:16:42 +02:00
justusbunsi d2424a3888
Migrate TODOs to Repo issues
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-17 09:17:19 +02:00
justusbunsi 90581744ff
Set analysis status on PR creation
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-13 08:54:21 +02:00
justusbunsi a2d68ccc12
Add screenshots
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-11 20:02:12 +02:00
justusbunsi 208a866a15
Restructure README
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-11 19:48:01 +02:00
justusbunsi 48b522d348
Fix bot name
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2021-10-11 19:09:29 +02:00
justusbunsi b8c86aaab8
Update docs
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-11 17:39:21 +02:00
justusbunsi ec781a5a29
Add helm chart
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-11 16:09:13 +02:00
justusbunsi 0bd65d8a1d
Allow override the provided revision
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-11 14:21:17 +02:00
justusbunsi 8678f13911
Update bot insights
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-10 19:47:54 +02:00
justusbunsi 952e094e8f
Restructure todos and possible improvements
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-10 17:03:09 +02:00
justusbunsi 8458815efe
Update dependencies
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-09 21:50:58 +02:00
justusbunsi c114d8ee0f
Care about documentation
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-09 20:46:12 +02:00
justusbunsi 86a644f31f
Use OOP-ish style for configuration loading
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-29 10:29:20 +02:00
justusbunsi e42c671689
Document TODOs
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-24 10:52:14 +02:00
justusbunsi 6d449ebb14
Respect common go project structure
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-20 15:14:26 +02:00
justusbunsi 84e9aa1152
Define configuration structure
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-06 17:15:01 +02:00
justusbunsi 30d1d6c12e
Follow advisory: Add license, DCO and contributing
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-06 17:11:38 +02:00
justusbunsi 4cb2138451
Visualize workflow
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-05-24 21:04:48 +02:00
justusbunsi 0bee87ab08
Initial commit
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-05-24 21:03:41 +02:00