From 6ec2bb375cce50ae692c98dddaf636a8bf767b29 Mon Sep 17 00:00:00 2001 From: johnnyaug Date: Mon, 23 Nov 2020 10:35:17 +0200 Subject: [PATCH] Upgrade chart testing action version (#27) * upgrade chart testing action version * trigger action * fix typo * remove newline * bump version * fix action * - * install condition --- .github/workflows/release.yml | 22 +++++++++++++--------- charts/lakefs/Chart.yaml | 2 +- charts/lakefs/templates/NOTES.txt | 2 +- charts/lakefs/templates/configmap.yaml | 1 - 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25ab593..ef17ebb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,20 +15,24 @@ jobs: run: git fetch --prune --unshallow - name: gitLeaks uses: zricethezav/gitleaks-action@v1.1.2 + - name: Install chart-testing (lint) + uses: helm/chart-testing-action@v2.0.1 + - name: Run chart-testing (list-changed) + id: list-changed + run: | + changed=$(ct list-changed) + if [[ -n "$changed" ]]; then + echo "::set-output name=changed::true" + fi - name: Run chart-testing (lint) - id: lint - uses: helm/chart-testing-action@v1.0.0 - with: - command: lint + run: ct lint - name: Create kind cluster uses: helm/kind-action@v1.0.0 # Only build a kind cluster if there are chart changes to test. - if: ${{ steps.lint.outputs.changed == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ steps.list-changed.outputs.changed == 'true' && github.event_name == 'push' }} - name: Run chart-testing (install) - uses: helm/chart-testing-action@v1.0.0 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - with: - command: install + run: ct install + if: ${{ steps.list-changed.outputs.changed == 'true' && github.event_name == 'push' }} release: runs-on: ubuntu-latest needs: lint diff --git a/charts/lakefs/Chart.yaml b/charts/lakefs/Chart.yaml index f49aa46..295e5d9 100644 --- a/charts/lakefs/Chart.yaml +++ b/charts/lakefs/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: lakefs description: A Helm chart for Kubernetes type: application -version: 0.4.2 +version: 0.4.3 appVersion: 0.16.2 home: https://lakefs.io diff --git a/charts/lakefs/templates/NOTES.txt b/charts/lakefs/templates/NOTES.txt index 7c4db37..75fea0f 100644 --- a/charts/lakefs/templates/NOTES.txt +++ b/charts/lakefs/templates/NOTES.txt @@ -16,4 +16,4 @@ Thank you for installing lakeFS! kubectl port-forward $POD_NAME {{ .Values.deployment.port }}:{{ .Values.deployment.port }} --namespace {{ .Release.Namespace }} {{- end }} -2. See the docs on how to create your first repository: https://docs.lakefs.io/quickstart.html#setting-up-a-repository \ No newline at end of file +2. See the docs on how to create your first repository: https://docs.lakefs.io/quickstart/repository.html \ No newline at end of file diff --git a/charts/lakefs/templates/configmap.yaml b/charts/lakefs/templates/configmap.yaml index 134db08..2813b7b 100644 --- a/charts/lakefs/templates/configmap.yaml +++ b/charts/lakefs/templates/configmap.yaml @@ -7,4 +7,3 @@ data: config.yaml: {{- toYaml . | nindent 2 }} {{- end }} -