Skip to content

Commit

Permalink
Merge pull request #8 from librenms/develop
Browse files Browse the repository at this point in the history
Update redis and style changes
  • Loading branch information
jochbru committed Jul 5, 2024
2 parents e2986c2 + c35cbe0 commit a5f0bb7
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 14 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/set-appVersion.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions charts/librenms/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
19 changes: 8 additions & 11 deletions charts/librenms/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.5.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
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

0 comments on commit a5f0bb7

Please sign in to comment.