Skip to content

Commit

Permalink
build: Switch helm-releaser to the main branch (#363)
Browse files Browse the repository at this point in the history
We need to use some features that are available only in the main branch
at the moment. So until the next version is released, I'd suggest
switching to the main revision.

Also, I've removed a notice about helm tests from NOTES.TXT, because we
are not rendering tests anymore by default, and hence this note might be
confusing
  • Loading branch information
allanger authored Oct 18, 2023
1 parent 4e41eff commit f105459
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/helm-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ jobs:

- name: Release charts
if: ${{ github.event.repository.default_branch && github.event_name == 'push' }}
uses: helm/chart-releaser-action@v1.5.0
uses: helm/chart-releaser-action@main
with:
charts_dir: .
mark_as_latest: false
packages_with_index: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sql-exporter
description: Database agnostic SQL exporter for Prometheus
type: application
version: 0.1.3
version: 0.1.4
appVersion: 0.12.3
keywords:
- exporter
Expand Down
8 changes: 0 additions & 8 deletions helm/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,3 @@ You need to configure either collectors or collectorFiles (or both), please have

{{- end }}

------------------------------
If you want to test if the helm release is configured correctly, you can execute

$ helm test {{ .Release.Name }}

This test will check that sql_exported metrics endpoint returns status 200


0 comments on commit f105459

Please sign in to comment.