From a56570e4fe73aa42a592230279d73bdd89a458b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 10:23:48 +0000 Subject: [PATCH 1/4] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..5db72dd --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +} From a03ca0a2165741fc1ae23dc8b2bce138d84bc0ca Mon Sep 17 00:00:00 2001 From: Jochem Date: Fri, 5 Jul 2024 14:49:15 +0200 Subject: [PATCH 2/4] Add set appversion workflow --- .github/workflows/set-appVersion.yml | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/set-appVersion.yml diff --git a/.github/workflows/set-appVersion.yml b/.github/workflows/set-appVersion.yml new file mode 100644 index 0000000..2b10ec1 --- /dev/null +++ b/.github/workflows/set-appVersion.yml @@ -0,0 +1,34 @@ +name: Updste LibreNMS appVersion +on: + push: + branches: + - renovate/* + +jobs: + set-appverions: + runs-on: ubuntu-24.04 + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write + + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + + + - name: Find image version + run: | + wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -O /tmp/yq.tgz + tar -xvf /tmp/yq.tgz --directory /tmp + chmod +x /tmp/yq_linux_amd64 + + export VERSION=$(/tmp/yq_linux_amd64 '.librenms.image.tag' charts/librenms/values.yaml) + echo "DETECTED VERSION $VERSION" + /tmp/yq_linux_amd64 -e -i '.appVersion = env(VERSION)' charts/librenms/Chart.yaml + + + # Commit all changed files back to the repository + - uses: stefanzweifel/git-auto-commit-action@v5 \ No newline at end of file From 79372bdb2fc0bc4556b3fbe0d6edd784987f8828 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:51:06 +0000 Subject: [PATCH 3/4] Update Helm release redis to ~19.6.0 --- charts/librenms/Chart.lock | 6 +++--- charts/librenms/Chart.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/librenms/Chart.lock b/charts/librenms/Chart.lock index d665d61..11d99e3 100644 --- a/charts/librenms/Chart.lock +++ b/charts/librenms/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: redis repository: https://charts.bitnami.com/bitnami - version: 19.5.5 + version: 19.6.1 - name: mysql repository: https://charts.bitnami.com/bitnami version: 10.3.0 -digest: sha256:e3cdff9ae055655aacaa8e64187b42cc1834bd5ddbbc6f9dbb01fa214586cf68 -generated: "2024-06-20T07:46:30.599412737Z" +digest: sha256:7b8a3f1182b70837c842c8a9fe7c1fa913cadd6800f1f780f94c357af7fca21f +generated: "2024-07-05T12:50:36.211666249Z" diff --git a/charts/librenms/Chart.yaml b/charts/librenms/Chart.yaml index 2a97e2f..47aab0d 100644 --- a/charts/librenms/Chart.yaml +++ b/charts/librenms/Chart.yaml @@ -9,7 +9,7 @@ appVersion: "24.5.0" dependencies: - name: redis - version: "~19.5.0" + version: "~19.6.0" repository: "https://charts.bitnami.com/bitnami" when: redis.enabled == true - name: mysql From be368a6bba37820a1e2fe336a0a2c978a591da31 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 5 Jul 2024 12:51:19 +0000 Subject: [PATCH 4/4] Apply automatic changes --- charts/librenms/Chart.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/charts/librenms/Chart.yaml b/charts/librenms/Chart.yaml index 47aab0d..55fe662 100644 --- a/charts/librenms/Chart.yaml +++ b/charts/librenms/Chart.yaml @@ -1,18 +1,15 @@ apiVersion: v2 name: librenms description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system. - type: application - version: 3.9.0 appVersion: "24.5.0" - dependencies: -- name: redis - version: "~19.6.0" - repository: "https://charts.bitnami.com/bitnami" - when: redis.enabled == true -- name: mysql - version: "~10.3.0" - repository: "https://charts.bitnami.com/bitnami" - when: mysql.enabled == true + - name: redis + version: "~19.6.0" + repository: "https://charts.bitnami.com/bitnami" + when: redis.enabled == true + - name: mysql + version: "~10.3.0" + repository: "https://charts.bitnami.com/bitnami" + when: mysql.enabled == true