Skip to content

Studio: bump to v2.150.0 (#519) #375

Studio: bump to v2.150.0 (#519)

Studio: bump to v2.150.0 (#519) #375

Workflow file for this run

name: Helm
on:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true
jobs:
changes:
name: Check for updated charts
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
if: |
(github.repository == 'iterative/helm-charts')
outputs:
charts: ${{ steps.filter.outputs.charts }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dorny/[email protected]
id: filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
filters: |
charts:
- 'charts/studio/Chart.yaml'
- 'charts/studio/values.yaml'
release:
name: Release chart
runs-on: ubuntu-latest
permissions:
contents: write
needs:
- changes
if: |
(github.repository == 'iterative/helm-charts') &&
(needs.changes.outputs.charts == 'true')
steps:
- name: Checkout
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: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.10.0
- name: Add repositories for dependencies
run: |
for dir in $(ls -d charts/*/); do
helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done
done
- name: Run chart-releaser
uses: helm/[email protected]
env:
config: .github/chart-releaser-config.yaml
CR_SKIP_EXISTING: "false"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"