Skip to content

Commit

Permalink
Merge branch 'release/0.0.17'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Oct 5, 2022
2 parents 2f974b1 + bee6db0 commit 40ff686
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
Export your favorite GitHub repositories to Prometheus

* Use it _as a service_: See https://gh.skuzzle.de for instructions
* Deploy it _on-premise_: `docker pull ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.16`
* Deploy it _on-premise_: `docker pull ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.17`

## On-Premise deployment with docker
This application can easily be run as a docker container in whatever environment you like:

```
docker run -p 8080:8080 \
-e WEB_ALLOWANONYMOUSSCRAPE=true \
ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.16
ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.17
```

With _anonymous scraping_ allowed, you can now easily view the scrape results directly in the browser by navigating to
Expand All @@ -38,7 +38,7 @@ scrape_configs:
In case you want to enforce authenticated scrapes only, use this configuration instead:
```
docker run -p 8080:8080 \
ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.16
ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.17
```

Scraping now requires a GitHub access token, otherwise the service will respond with 401/Unauthorized.
Expand Down
5 changes: 2 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

[![Coverage Status](https://coveralls.io/repos/github/skuzzle/gh-prom-exporter/badge.svg?branch=master)](https://coveralls.io/github/skuzzle/gh-prom-exporter?branch=master) [![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS)

* Add option to pass GitHub token via query parameter: `?token=...` (Note: this is primarily intended for local testing and should not be used in production).
* [#8](https://github.com/skuzzle/gh-prom-exporter/issues/8) Possible fix for scraping while statistics are absent.
* Upgrade to Spring-Boot 2.7.4 (coming from 2.7.3)

```
docker pull ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.16
docker pull ghcr.io/skuzzle/gh-prom-exporter/gh-prom-exporter:0.0.17
```
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>de.skuzzle.ghpromexporter</groupId>
<artifactId>gh-prom-exporter</artifactId>
<version>0.0.16</version>
<version>0.0.17</version>

<name>gh-prom-exporter</name>
<description>Export GitHub repository metrics in prometheus format</description>
Expand All @@ -36,7 +36,7 @@
<docker.registry.name>ghcr.io</docker.registry.name>
<docker.image.name>${docker.registry.name}/${github.user}/${github.name}/${project.artifactId}</docker.image.name>

<spring-boot.version>2.7.3</spring-boot.version>
<spring-boot.version>2.7.4</spring-boot.version>
<spring-cloud.version>2021.0.3</spring-cloud.version>
<guava.version>31.0.1-jre</guava.version>
<github-api.version>1.308</github-api.version>
Expand Down
3 changes: 1 addition & 2 deletions readme/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

[![Coverage Status](https://coveralls.io/repos/github/${github.user}/${github.name}/badge.svg?branch=${github.main-branch})](https://coveralls.io/github/${github.user}/${github.name}?branch=${github.main-branch}) [![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS)

* Add option to pass GitHub token via query parameter: `?token=...` (Note: this is primarily intended for local testing and should not be used in production).
* [#8](https://github.com/skuzzle/gh-prom-exporter/issues/8) Possible fix for scraping while statistics are absent.
* Upgrade to Spring-Boot 2.7.4 (coming from 2.7.3)

```
docker pull ${docker.image.name}:${project.version}
Expand Down

0 comments on commit 40ff686

Please sign in to comment.