Skip to content

Commit

Permalink
add changelog creation job, create changelog for every chart
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhuth committed Jan 21, 2025
1 parent dff39dc commit c836d9c
Show file tree
Hide file tree
Showing 64 changed files with 333 additions and 104 deletions.
3 changes: 1 addition & 2 deletions .github/CHANGELOG.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
{{- range $kind := $changes }}

### {{ $kind.key | strings.Title }}

{{- range $change := $kind.value }}
{{ range $change := $kind.value }}
- {{ $change.description }}
{{- end }}

Expand Down
2 changes: 2 additions & 0 deletions .github/config/chart-releasing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
release-notes-file: CHANGELOG.md
generate-release-notes: true
1 change: 0 additions & 1 deletion .github/config/chart-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- cnieg=https://cnieg.github.io/helm-charts
- christianhuth=https://charts.christianhuth.de
release-notes-file: CHANGELOG.md
Empty file modified .github/generate-chart-changelogs.sh
100644 → 100755
Empty file.
54 changes: 39 additions & 15 deletions .github/workflows/chart-preparation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,42 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# changelog:
# needs:
# - pre-commit
# runs-on: ubuntu-latest
# container: ghcr.io/chgl/kube-powertools:latest
# steps:
# - name: checkout git repository
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Update dependencies
# run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \;
# # used to test whether the changelog generation process works properly
# - name: Generate changelogs
# run: bash .github/generate-chart-changelogs.sh
changelog:
needs: [pre-commit]
runs-on: ubuntu-22.04
container: ghcr.io/chgl/kube-powertools:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Generate changelogs
run: bash .github/generate-chart-changelogs.sh
- name: Check for modified files
id: check_files
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "Files have been modified by pre-commit."
echo "changes_detected=true" >> $GITHUB_ENV
else
echo "No changes detected."
echo "changes_detected=false" >> $GITHUB_ENV
fi
- name: Commit and push changes
if: env.changes_detected == 'true'
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
# Extract the source branch of the PR
branch_name="${{ github.event.pull_request.head.ref }}"
else
# Extract branch from push event
branch_name=$(echo "${GITHUB_REF#refs/heads/}")
fi
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
git checkout ${{ github.head_ref }}
git add .
git commit -m "chore: auto-upgrade schema and readme"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/chart-releasing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
- name: Run chart-releaser
uses: helm/[email protected]
with:
config: ./.github/config/chart-releasing.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_KEY: "${{ secrets.GPG_PRIVATE_KEY_UID }}"
Expand Down
7 changes: 7 additions & 0 deletions charts/argocd-metrics-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# argocd-metrics-server

## 1.0.4

### Added

- Changelog
4 changes: 2 additions & 2 deletions charts/argocd-metrics-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-metrics-server
description: A Helm chart for installing the Argo CD Metrics Server, which connects to Prometheus and can be used to display Metrics in the Argo CD UI
type: application
version: 1.0.3
version: 1.0.4
appVersion: "v1.0.3"
home: https://github.com/christianhuth/helm-charts
icon: https://icon.icepanel.io/Technology/svg/Argo-CD.svg
Expand All @@ -14,7 +14,7 @@ sources:
annotations:
artifacthub.io/changes: |
- kind: added
description: format README
description: Changelog
artifacthub.io/signKey: |
fingerprint: EE24F8BB6D099E78FD704F83B5ECDBCDDD485D0E
url: https://charts.christianhuth.de/public.key
7 changes: 7 additions & 0 deletions charts/baserow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# baserow

## 2.5.1

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/baserow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: baserow
description: Baserow is an open source no-code database and Airtable alternative.
type: application
version: 2.5.0
version: 2.5.1
appVersion: "1.27.0"
home: https://github.com/christianknell/helm-charts
icon: https://baserow.io/img/favicon_192.png
Expand All @@ -24,8 +24,8 @@ dependencies:
annotations:
artifacthub.io/category: database
artifacthub.io/changes: |
- kind: changed
description: app version to 1.27.0
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Create your own online database without technical experience.
url: https://baserow.io/_nuxt/img/home_intro_screenshot.194c66b.png
Expand Down
7 changes: 7 additions & 0 deletions charts/cluster-api-visualizer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# cluster-api-visualizer

## 0.1.1

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/cluster-api-visualizer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cluster-api-visualizer
description: Multicluster resource visualization tool for Cluster API.
type: application
version: 0.1.0
version: 0.1.1
appVersion: "v1.5.1"
home: https://github.com/christianhuth/helm-charts
icon: https://adalogics.com/img/content/capi-fuzzing-audit.png
Expand All @@ -13,8 +13,8 @@ sources:
- https://github.com/Jont828/cluster-api-visualizer
annotations:
artifacthub.io/changes: |
- kind: changed
description: app version to 1.5.1
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Simply shorten your link using the Web UI.
url: https://github.com/Jont828/cluster-api-visualizer/raw/main/demo/demo.gif
Expand Down
7 changes: 7 additions & 0 deletions charts/etcd-defrag/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# etcd-defrag

## 1.2.2

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/etcd-defrag/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: etcd-defrag
description: A Helm chart for running a defragmentation CronJob for ETCD
type: application
version: 1.2.1
version: 1.2.2
appVersion: "3.5.17"
home: https://github.com/christianhuth/helm-charts
icon: https://cdn.worldvectorlogo.com/logos/etcd-1.svg
Expand All @@ -14,8 +14,8 @@ sources:
- https://etcd.io
annotations:
artifacthub.io/changes: |
- kind: changed
description: nodeSelector is not required anymore
- kind: added
description: Changelog
artifacthub.io/signKey: |
fingerprint: EE24F8BB6D099E78FD704F83B5ECDBCDDD485D0E
url: https://charts.christianhuth.de/public.key
7 changes: 7 additions & 0 deletions charts/headwind-mdm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# headwind-mdm

## 2.2.5

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/headwind-mdm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: headwind-mdm
description: Headwind MDM - an open source mobile device management software for Android
type: application
version: 2.2.4
version: 2.2.5
appVersion: "0.1.5"
home: https://github.com/christianhuth/helm-charts
icon: https://h-mdm.com/wp-content/uploads/2019/07/neew-logo.png
Expand All @@ -20,8 +20,8 @@ dependencies:
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |
- kind: changed
description: bumped app version to 0.1.5
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Headwind MDM is a powerful Open Source platform to manage your Enterprise Android Devices.
url: https://images.wondershare.com/drfone/article/2022/11/opensource-mdm-3.jpg
Expand Down
7 changes: 7 additions & 0 deletions charts/kube-ops-view/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kube-ops-view

## 3.6.3

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/kube-ops-view/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: kube-ops-view
description: A Helm chart for bootstrapping kube-ops-view.
type: application
version: 3.6.2
version: 3.6.3
appVersion: "23.5.0"
home: https://github.com/christianhuth/helm-charts
icon: https://codeberg.org/repo-avatars/677-c51f6426305941cab515fdd98368f0bb
Expand All @@ -20,8 +20,8 @@ dependencies:
annotations:
artifacthub.io/category: monitoring-logging
artifacthub.io/changes: |
- kind: changed
description: README format
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Dashboard overview of a Kubernetes cluster
url: https://codeberg.org/hjacobs/kube-ops-view/media/branch/main/screenshot.png
Expand Down
7 changes: 7 additions & 0 deletions charts/kubedoom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kubedoom

## 1.0.5

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/kubedoom/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
name: kubedoom
description: A Helm chart for Kubedoom
version: 1.0.4
version: 1.0.5
type: application
appVersion: "0.6.0"
home: https://github.com/christianhuth/helm-charts
Expand All @@ -14,8 +14,8 @@ sources:
- https://github.com/storax/kubedoom
annotations:
artifacthub.io/changes: |
- kind: changed
description: README format
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Kill pods inside your Kubernetes cluster by shooting them in Doom!
url: https://github.com/storax/kubedoom/raw/master/assets/doom.jpg
Expand Down
7 changes: 7 additions & 0 deletions charts/kubenav/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kubenav

## 1.0.4

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/kubenav/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: kubenav
description: A Helm chart for creating the required RBAC for kubenav
type: application
version: 1.0.3
version: 1.0.4
home: https://github.com/christianhuth/helm-charts
icon: https://raw.githubusercontent.com/kubenav/kubenav/main/utils/images/repo/github-readme-logo.png
maintainers:
Expand All @@ -13,8 +13,8 @@ sources:
- https://github.com/kubenav/kubenav
annotations:
artifacthub.io/changes: |
- kind: changed
description: README format
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: kubenav is a mobile and desktop app to manage Kubernetes clusters and to get an overview of the status of your Kubernetes resources.
url: https://raw.githubusercontent.com/kubenav/kubenav/main/utils/images/repo/github-screenshot.png
Expand Down
7 changes: 7 additions & 0 deletions charts/kubevirt-manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kubevirt-manager

## 0.0.5

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/kubevirt-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubevirt-manager
description: KubeVirt Web UI to manage the lifecycle of Virtual Machines and more
type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.4.2"
home: https://github.com/christianhuth/helm-charts
icon: https://yt3.googleusercontent.com/oTCjudmpLXspEh3g5VraUfZ_1_PZxXXI6kgorNCI9kEqnDICrWEkNUmVGkEtA6WfRbT0GCzjeA=s160-c-k-c0x00ffffff-no-rj
Expand All @@ -13,8 +13,8 @@ sources:
- https://github.com/kubevirt-manager/kubevirt-manager
annotations:
artifacthub.io/changes: |
- kind: changed
description: README format
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Manage Virtual Machines lifecycle. Support for operations like start/stop/reboot, as well as pause/resume and scaling, directly from the Web Interface.
url: https://raw.githubusercontent.com/kubevirt-manager/kubevirt-manager/refs/heads/main/images/screenshot_01.png
Expand Down
7 changes: 7 additions & 0 deletions charts/kutt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# kutt

## 4.2.5

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/kutt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kutt
description: Kutt is a free modern URL shortener.
type: application
version: 4.2.4
version: 4.2.5
appVersion: "v2.7.4"
home: https://github.com/christianhuth/helm-charts
icon: https://www.saashub.com/images/app/service_logos/15/d634f2359578/large.png
Expand All @@ -22,8 +22,8 @@ dependencies:
condition: redis.enabled
annotations:
artifacthub.io/changes: |
- kind: changed
description: format README
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: Simply shorten your link using the Web UI.
url: https://d4.alternativeto.net/v9sHosD3RiPblfBOOHZi0gwU1M0pRL6Jn53oiobJi9k/rs:fit:1200:1200:0/g:ce:0:0/YWJzOi8vZGlzdC9zL2t1dHQtaXRfNzY3MjMzX2Z1bGwucG5n.jpg
Expand Down
7 changes: 7 additions & 0 deletions charts/maildev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# maildev

## 1.3.1

### Added

- Changelog
6 changes: 3 additions & 3 deletions charts/maildev/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: maildev
description: MailDev is a simple way to test your emails during development with an easy to use web interface.
type: application
version: 1.3.0
version: 1.3.1
appVersion: "2.2.1"
home: https://github.com/christianhuth/helm-charts
icon: https://avatars1.githubusercontent.com/u/26743469
Expand All @@ -15,8 +15,8 @@ sources:
- https://hub.docker.com/r/maildev/maildev
annotations:
artifacthub.io/changes: |
- kind: changed
description: app version to 2.2.1
- kind: added
description: Changelog
artifacthub.io/screenshots: |
- title: SMTP server & web interface for viewing and testing emails during development.
url: https://maildev.github.io/maildev/assets/img/original/maildev-light.png
Expand Down
7 changes: 7 additions & 0 deletions charts/netcupscp-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# netcupscp-exporter

## 1.2.1

### Added

- Changelog
Loading

0 comments on commit c836d9c

Please sign in to comment.