13 Commits

Author SHA1 Message Date
Jochem
55d9cec145 Merge branch 'develop' 2024-07-05 15:17:56 +02:00
Jochem
5d91501038 Bump version 2024-07-05 15:17:41 +02:00
Jochem
a5f0bb76c4 Merge pull request #8 from librenms/develop
Update redis and style changes
2024-07-05 15:15:01 +02:00
Jochem
c35cbe0e41 Merge pull request #6 from librenms/renovate/redis-19.x
Update Helm release redis to ~19.6.0
2024-07-05 14:52:12 +02:00
renovate[bot]
be368a6bba Apply automatic changes 2024-07-05 12:51:19 +00:00
renovate[bot]
79372bdb2f Update Helm release redis to ~19.6.0 2024-07-05 12:51:06 +00:00
Jochem
a03ca0a216 Add set appversion workflow 2024-07-05 14:49:15 +02:00
Jochem
1cc13d4997 Merge branch 'main' into develop 2024-07-05 13:54:42 +02:00
Jochem
af808336bf Merge pull request #1 from librenms/renovate/configure
Configure Renovate
2024-07-05 13:45:50 +02:00
renovate[bot]
a56570e4fe Add renovate.json 2024-07-05 10:23:48 +00:00
Jochem
e2986c2c08 Merge branch 'develop' 2024-07-05 11:23:42 +02:00
Jochem
880175b05f Bump version 2024-07-05 11:23:30 +02:00
Jochem
a846738103 Adjust README to new repo 2024-07-05 11:03:57 +02:00
5 changed files with 57 additions and 20 deletions

34
.github/workflows/set-appVersion.yml vendored Normal file
View File

@@ -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

View File

@@ -1,9 +1,9 @@
dependencies: dependencies:
- name: redis - name: redis
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 19.5.5 version: 19.6.1
- name: mysql - name: mysql
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 10.3.0 version: 10.3.0
digest: sha256:e3cdff9ae055655aacaa8e64187b42cc1834bd5ddbbc6f9dbb01fa214586cf68 digest: sha256:7b8a3f1182b70837c842c8a9fe7c1fa913cadd6800f1f780f94c357af7fca21f
generated: "2024-06-20T07:46:30.599412737Z" generated: "2024-07-05T12:50:36.211666249Z"

View File

@@ -1,18 +1,15 @@
apiVersion: v2 apiVersion: v2
name: librenms name: librenms
description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system. description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system.
type: application type: application
version: 3.10.0
version: 3.8.0
appVersion: "24.5.0" appVersion: "24.5.0"
dependencies: dependencies:
- name: redis - name: redis
version: "~19.5.0" version: "~19.6.0"
repository: "https://charts.bitnami.com/bitnami" repository: "https://charts.bitnami.com/bitnami"
when: redis.enabled == true when: redis.enabled == true
- name: mysql - name: mysql
version: "~10.3.0" version: "~10.3.0"
repository: "https://charts.bitnami.com/bitnami" repository: "https://charts.bitnami.com/bitnami"
when: mysql.enabled == true when: mysql.enabled == true

View File

@@ -6,8 +6,8 @@ data center infrastructure management (DCIM) tool.
## TL;DR ## TL;DR
```shell ```shell
$ helm repo add thechef23 https://thechef23.github.io/helm-librenms $ helm repo add librenms https://www.librenms.org/helm-charts
$ helm install my-release thechef23-librenms/librenms --set appkey=<LibreNMS Application key> $ helm install my-release librenms/librenms --set appkey=<LibreNMS Application key>
``` ```
## Prerequisites ## Prerequisites
@@ -20,12 +20,12 @@ $ helm install my-release thechef23-librenms/librenms --set appkey=<LibreNMS App
To install the chart with the release name `my-release` and default configuration: To install the chart with the release name `my-release` and default configuration:
```shell ```shell
$ helm repo add thechef23 https://thechef23.github.io/helm-librenms $ helm repo add librenms https://www.librenms.org/helm-charts
$ helm install my-release thechef23-librenms/librenms --set appkey=<LibreNMS Application key> $ helm install my-release librenms/librenms --set appkey=<LibreNMS Application key>
``` ```
## Values ## Values
Check the [values.yaml](/TheChef23/helm-librenms/blob/main/values.yaml) file for the available settings for this chart and its Check the [values.yaml](/librenms/helm-charts/charts/librenms/blob/main/values.yaml) file for the available settings for this chart and its
dependencies. dependencies.
### Required values: ### Required values:

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}