1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prometheus_ynh.git synced 2024-09-03 20:16:01 +02:00

Merge pull request #43 from YunoHost-Apps/testing

This commit is contained in:
tituspijean 2023-03-24 12:01:46 +01:00 committed by GitHub
commit 52842dc6ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 29 additions and 27 deletions

View file

@ -17,7 +17,7 @@
current_version=$(cat manifest.json | jq -j '.version|split("~")[0]')
repo=$(cat manifest.json | jq -j '.upstream.code|split("https://github.com/")[1]')
# Some jq magic is needed, because the latest upstream release is not always the latest version (e.g. security patches for older versions)
version=$(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '.[] | select( .prerelease != true ) | .tag_name' | sort -V | tail -1)
version=$(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '.[] | select( .prerelease != true ) | select( .tag_name | contains("+") or contains("rc") or contains("beta") or contains("alpha") | not ) | .tag_name' | sort -V | tail -1)
assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ .[] | select(.tag_name=="'$version'").assets[].browser_download_url ] | join(" ") | @sh' | tr -d "'"))
# Later down the script, we assume the version has only digits and dots

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch the source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script
@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request
id: cpr
if: ${{ env.PROCEED == 'true' }}
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }}

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Prometheus for YunoHost
[![Integration level](https://dash.yunohost.org/integration/prometheus.svg)](https://dash.yunohost.org/appci/app/prometheus) ![Working status](https://ci-apps.yunohost.org/ci/badges/prometheus.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/prometheus.maintain.svg)
[![Install Prometheus with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prometheus)
*[Lire ce readme en français.](./README_fr.md)*
@ -17,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Monitoring system and time series database
**Shipped version:** 2.41.0~ynh1
**Shipped version:** 2.43.0~ynh1
**Demo:** https://demo.do.prometheus.io
## Disclaimers / important information

View file

@ -5,19 +5,20 @@ It shall NOT be edited by hand.
# Prometheus pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/prometheus.svg)](https://dash.yunohost.org/appci/app/prometheus) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prometheus.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prometheus.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/prometheus.svg)](https://dash.yunohost.org/appci/app/prometheus) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prometheus.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prometheus.maintain.svg)
[![Installer Prometheus avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prometheus)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Prometheus rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Prometheus rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Supervision chronologique de systèmes et services
**Version incluse :** 2.41.0~ynh1
**Version incluse :** 2.43.0~ynh1
**Démo :** https://demo.do.prometheus.io
## Avertissements / informations importantes
@ -29,9 +30,9 @@ Supervision chronologique de systèmes et services
## Documentations et ressources
* Site officiel de l'app : <https://prometheus.io>
* Documentation officielle de l'admin : <https://prometheus.io/docs>
* Dépôt de code officiel de l'app : <https://github.com/prometheus/prometheus>
* Site officiel de lapp : <https://prometheus.io>
* Documentation officielle de ladmin : <https://prometheus.io/docs>
* Dépôt de code officiel de lapp : <https://github.com/prometheus/prometheus>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_prometheus>
* Signaler un bug : <https://github.com/YunoHost-Apps/prometheus_ynh/issues>
@ -47,4 +48,4 @@ ou
sudo yunohost app upgrade prometheus -u https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-386.tar.gz
SOURCE_SUM=225dd2d8f64f5341e0591c6fb5031495cc0ee85806a046bd7fc287e6ba2d89f1
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-386.tar.gz
SOURCE_SUM=2681b9a308382ec8ff94dae76397501b5e263a46bf3e2a4050240ee9e47b5603
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-amd64.tar.gz
SOURCE_SUM=9c1486f5f3e03d56433112594740ca84c6e59db061d096eeb3ea971ba25441c9
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-amd64.tar.gz
SOURCE_SUM=cfea92d07dfd9a9536d91dff6366d897f752b1068b9540b3e2669b0281bb8ebf
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-arm64.tar.gz
SOURCE_SUM=99e61feddd8e3a687f5f61c4eb5747dba0eda41f4d10eac77ea7cecb2fc36a5c
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-arm64.tar.gz
SOURCE_SUM=79c4262a27495e5dff45a2ce85495be2394d3eecd51f0366c706f6c9c729f672
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-armv5.tar.gz
SOURCE_SUM=8f882f19a64c708eee606efa71bb7fdb5bf07522930f896510cef3a104724049
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-armv5.tar.gz
SOURCE_SUM=f51463b561d20c60becad22947e37abecb22319c37ecb4e9fba6be44cf23ddb3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-armv6.tar.gz
SOURCE_SUM=f578f8786688023367a2f9c1a02f2e8822d58e53f3d3a5273ceafbccf615fc61
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-armv6.tar.gz
SOURCE_SUM=b520987da47127613a0d13f5fe86bfb03e059f064361a0992659557ca5c5ea81
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.41.0/prometheus-2.41.0.linux-armv7.tar.gz
SOURCE_SUM=ea07dd51a5d5320b9f221301013a0ac3eb413a54509df530c54865c7548da1cb
SOURCE_URL=https://github.com/prometheus/prometheus/releases/download/v2.43.0/prometheus-2.43.0.linux-armv7.tar.gz
SOURCE_SUM=2c973310a4be2792d80016102ec115800493a322c301fd51da57469374f274af
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Monitoring system and time series database",
"fr": "Supervision chronologique de systèmes et services"
},
"version": "2.41.0~ynh1",
"version": "2.43.0~ynh1",
"url": "https://prometheus.io",
"upstream": {
"license": "Apache-2.0",