Skip to content

Commit

Permalink
ci: adjust helm chart appVersion before creating release
Browse files Browse the repository at this point in the history
* ci: adjust helm chart appVersion before creating release
* chore: update chart maintainers & bump appVersion

Signed-off-by: lvlcn-t <75443136+lvlcn-t@users.noreply.github.com>
  • Loading branch information
lvlcn-t committed Nov 17, 2024
1 parent b9e9a80 commit d4b9865
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

# We don't use checkout/fetch-tags: true because it's broken
# For more information see: https://github.com/actions/checkout/issues/1471
- name: Fetch tags explicitly
run: git fetch --prune --unshallow --tags

- name: Prepare Helm chart
run: |
app_version=$(git describe --tags --abbrev=0)
sed -i "s/^appVersion: .*/appVersion: \"$app_version\"/" chart/Chart.yaml
- name: Registry login
run: |
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
Expand Down
14 changes: 10 additions & 4 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@ type: application
keywords:
- monitoring
version: 0.0.4
appVersion: "v0.3.2"
appVersion: "v0.5.0"
icon: https://github.com/caas-team/sparrow/blob/main/docs/img/sparrow.png
sources:
- https://github.com/caas-team/sparrow
maintainers:
- name: eumel8
email: f.kloeker@telekom.de
url: https://www.telekom.com
- name: y-eight
email: maximilian.schubert@telekom.de
url: https://www.telekom.com
- name: puffitos
email: bruno.bressi@telekom.de
url: https://www.telekom.com
- name: niklastreml
email: niklas.treml@telekom.de
url: https://www.telekom.com
- name: lvlcn-t
email: tom.vendolsky@telekom.de
url: https://www.telekom.com
8 changes: 6 additions & 2 deletions chart/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# sparrow

![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.2](https://img.shields.io/badge/AppVersion-v0.3.2-informational?style=flat-square)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.5.0](https://img.shields.io/badge/AppVersion-v0.5.0-informational?style=flat-square)

A Helm chart to install Sparrow

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| eumel8 | <f.kloeker@telekom.de> | <https://www.telekom.com> |
| y-eight | <maximilian.schubert@telekom.de> | <https://www.telekom.com> |
| puffitos | <bruno.bressi@telekom.de> | <https://www.telekom.com> |
| niklastreml | <niklas.treml@telekom.de> | <https://www.telekom.com> |
| lvlcn-t | <tom.vendolsky@telekom.de> | <https://www.telekom.com> |

## Source Code

Expand Down Expand Up @@ -68,3 +70,5 @@ A Helm chart to install Sparrow
| startupProbe | object | `{"enabled":false,"failureThreshold":10,"initialDelaySeconds":10,"path":"/","periodSeconds":5,"successThreshold":1,"timeoutSeconds":1}` | Specifies the configuration for a startup probe to check if the sparrow application is started. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ |
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

0 comments on commit d4b9865

Please sign in to comment.