upgrade tfy-agent to 0.2.44 (#844) #659
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
permissions: | |
contents: write # to push chart release and create a release (helm/chart-releaser-action) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.9.2 | |
- name: Add Helm dependencies | |
run: | | |
helm repo add grafana https://grafana.github.io/helm-charts | |
helm repo add clickhouse-operator https://docs.altinity.com/clickhouse-operator | |
helm repo add nvidia https://helm.ngc.nvidia.com/nvidia | |
helm repo add dcgm-exporter https://nvidia.github.io/dcgm-exporter/helm-charts | |
helm repo add truefoundry https://truefoundry.github.io/infra-charts | |
helm repo add nats https://nats-io.github.io/k8s/helm/charts/ | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: '${{ secrets.TRUEFOUNDRY_HELM_TOKEN }}' | |
CR_SKIP_EXISTING: true | |
- name: Checkout to gh-pages | |
uses: actions/checkout@v4 | |
with: | |
ref: gh-pages | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.17 | |
- name: Generate index.html | |
run: | | |
go install github.com/halkeye/[email protected] | |
/home/runner/go/bin/helm-repo-html | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'Update index.html' |