Skip to content

release: update for v0.0.17 #43

release: update for v0.0.17

release: update for v0.0.17 #43

Workflow file for this run

name: Helm release
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- 'charts/k6-operator/Chart.yaml'
jobs:
generate-chart-schema:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Make changes to the file
run: |
make helm-schema
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Commit and push changes
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git add charts/k6-operator/values.schema.json
if git diff-index --quiet HEAD; then
echo "No updates to helm values schema"
else
git commit -m "gen schema json"
git push origin HEAD:helm-schema
fi
call-update-helm-repo:
needs:
- generate-chart-schema
permissions:
contents: write
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@main
with:
charts_dir: charts
cr_configfile: charts/cr.yaml
ct_configfile: charts/ct.yaml
helm_tag_prefix: helm
secrets:
github_app_id: ${{ secrets.K6_OPERATOR_HELM_RELEASE_APP_ID }}
github_app_pem: ${{ secrets.K6_OPERATOR_HELM_RELEASE_PEM_KEY }}