hassio-addons / addon-prometheus

Prometheus - Home Assistant Community Add-ons
https://addons.community
MIT License
20 stars 29 forks source link

Installing addon from the `repository-beta` installs version 2.21 instead of up-to-date one #50

Closed primeroz closed 1 year ago

primeroz commented 2 years ago

I installed the addon by adding the https://github.com/hassio-addons/repository-beta since is not available in the stable one

I am getting the version 2.21 of prometheus installed though rather than latest one pushed to this addon 2.36.1

Am i doing something wrong ?

zonorti commented 1 year ago

That repository references a docker image, if you want to install main - you can go with cloning this repo into /addons and installing it as a local addon. I had problems building it before I removed pinned python related versions from the Dockerfile.

frenck commented 1 year ago

Feel free to submit a PR to bump version or anything else. I'm closing this issue, as it is a request, not a bug report.

primeroz commented 1 year ago

I opened it as a bug because i thought the reference image https://github.com/hassio-addons/addon-prometheus/tree/main/prometheus was going to be pulled in , and in that repo the version is 2.36.1 but i guess it actually pulls the version defined in https://github.com/hassio-addons/repository-beta/blob/master/prometheus/config.json#L3

I will see to understand how it works and create a PR

thanks