From 7518848f99db62bc2b0b7e92d6130adb0cc20dd2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:22:30 +0000 Subject: [PATCH 1/4] Update Helm release mysql to v11 --- 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 d8b29e7..54c9664 100644 --- a/charts/librenms/Chart.lock +++ b/charts/librenms/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 19.6.1 - name: mysql repository: https://charts.bitnami.com/bitnami - version: 10.3.0 -digest: sha256:f1e63eec3d96520ef7cd365ece9a281d57e48f811fd9e19d47baefa37fceee76 -generated: "2024-07-09T11:51:38.284682+02:00" + version: 11.1.8 +digest: sha256:4b82fafdf2c4c72a003d1dc6df9343a089eb5d2f686927d134821854f9633c83 +generated: "2024-07-09T10:22:10.255911997Z" diff --git a/charts/librenms/Chart.yaml b/charts/librenms/Chart.yaml index be5744f..77382f8 100644 --- a/charts/librenms/Chart.yaml +++ b/charts/librenms/Chart.yaml @@ -13,6 +13,6 @@ dependencies: repository: "https://charts.bitnami.com/bitnami" condition: redis.enabled - name: mysql - version: "~10.3.0" + version: "~11.1.0" repository: "https://charts.bitnami.com/bitnami" condition: mysql.enabled From 7486084b6b2e79d20d502b5add5a76c84dc78ea6 Mon Sep 17 00:00:00 2001 From: Jochem Date: Tue, 9 Jul 2024 12:24:03 +0200 Subject: [PATCH 2/4] Skip version increment check --- .github/workflows/chart-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index cb21966..62ca132 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -40,7 +40,7 @@ jobs: - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' - run: ct lint --target-branch ${{ github.event.repository.default_branch }} + run: ct lint --target-branch ${{ github.event.repository.default_branch }} --check-version-increment=false - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' From 6daed4ee78ed42b1988e979d690193b70ada91a1 Mon Sep 17 00:00:00 2001 From: Jochem Date: Tue, 9 Jul 2024 12:54:21 +0200 Subject: [PATCH 3/4] Adjust workflow --- .github/workflows/chart-testing.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index 62ca132..8a4f989 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -39,13 +39,21 @@ jobs: fi - name: Run chart-testing (lint) - if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/develop' run: ct lint --target-branch ${{ github.event.repository.default_branch }} --check-version-increment=false + - name: Run chart-testing (lint & version) + if: github.ref == 'refs/heads/develop' + run: ct lint --target-branch main + - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' uses: helm/kind-action@v1.10.0 - name: Run chart-testing (install) - if: steps.list-changed.outputs.changed == 'true' - run: ct install --target-branch ${{ github.event.repository.default_branch }} --skip-clean-up \ No newline at end of file + if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/develop' + run: ct install --target-branch ${{ github.event.repository.default_branch }} --skip-clean-up + + - name: Run chart-testing (install & upgrades) + if: github.ref == 'refs/heads/develop' + run: ct install --target-branch main --skip-clean-up --upgrade \ No newline at end of file From 6f020f2ba43fabc5b993eed1f624668aa4785685 Mon Sep 17 00:00:00 2001 From: Jochem Date: Tue, 9 Jul 2024 12:57:23 +0200 Subject: [PATCH 4/4] Make sure develop branch does cleanup --- .github/workflows/chart-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index 8a4f989..1ccbbf2 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -56,4 +56,4 @@ jobs: - name: Run chart-testing (install & upgrades) if: github.ref == 'refs/heads/develop' - run: ct install --target-branch main --skip-clean-up --upgrade \ No newline at end of file + run: ct install --target-branch main --upgrade \ No newline at end of file