From df41fab40f67c44bcae01bd2936fd5b0c4fc7531 Mon Sep 17 00:00:00 2001 From: Jochem Date: Tue, 9 Jul 2024 12:57:23 +0200 Subject: [PATCH] Make sure develop branch does cleanup Adjust testing flow Bump chart version --- .github/workflows/chart-testing.yml | 10 +++++----- charts/librenms/Chart.yaml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index 8c197bd..681942e 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -43,11 +43,11 @@ jobs: 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' + if: github.event.pull_request.base.ref == 'main' run: ct lint --target-branch main - name: Create kind cluster - if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' || github.event.pull_request.base.ref == 'main' uses: helm/kind-action@v1.10.0 - name: Run chart-testing (install) @@ -55,5 +55,5 @@ jobs: 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 + if: github.event.pull_request.base.ref == 'main' + run: ct install --target-branch main --upgrade \ No newline at end of file diff --git a/charts/librenms/Chart.yaml b/charts/librenms/Chart.yaml index 77382f8..31f09dd 100644 --- a/charts/librenms/Chart.yaml +++ b/charts/librenms/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: librenms description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system. type: application -version: 3.10.1 +version: 3.11.0 appVersion: "24.5.0" maintainers: - name: TheChef23