Skip to content

feat : Karpenter version up to 1.0.1 #442

feat : Karpenter version up to 1.0.1

feat : Karpenter version up to 1.0.1 #442

Workflow file for this run

## Reference: https://github.com/helm/chart-releaser-action
name: Chart Publish
on:
push:
branches:
- main
paths:
- "charts/**"
permissions:
contents: read
jobs:
publish:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Install Helm
uses: azure/[email protected]
with:
version: v3.10.1
- name: Add helm repo
run: |
helm repo add prometheus https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
helm repo add argo https://argoproj.github.io/argo-helm
helm repo add aws-ebs-csi-driver https://kubernetes-sigs.github.io/aws-ebs-csi-driver
helm repo add ekr-charts https://aws.github.io/eks-charts/
helm repo add jetstaack https://charts.jetstack.io
helm repo add dex https://charts.dexidp.io
helm repo add karpenter https://charts.karpenter.sh/
helm repo add minio https://charts.min.io/
helm repo add datadog https://helm.datadoghq.com
helm repo add hashicorp https://helm.releases.hashicorp.com
- name: Helm build
run: |
changed_helm_packages=$(git diff --name-only HEAD~1 | grep '^charts/' | cut -d/ -f1-2)
while IFS=$'\n' read -r package_directory; do
helm dependency build $package_directory
helm package $package_directory
done <<< "$changed_helm_packages"
- name: checkout gh-pages branch and helm index
run: |
git checkout gh-pages --
helm repo index .
- name: Commit The Chart Realease
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{ github.event.head_commit.message }}
commit_options: '--no-verify --signoff'
branch: gh-pages
skip_checkout: true
repository: .
commit_user_name: XQUARE GitOps Bot
commit_user_email: [email protected]
commit_author: XQUARE GitOps Bot <[email protected]>