Skip to content

ci(stability): update values.yaml with latest tags #136

ci(stability): update values.yaml with latest tags

ci(stability): update values.yaml with latest tags #136

Workflow file for this run

name: Main Helm Chart
on:
push:
branches:
- main
paths:
- 'chart/**'
jobs:
main-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- name: Pre-populate nix-shell
run: |
export NIX_PATH=nixpkgs=$(jq '.nixpkgs.url' nix/sources.json -r)
echo "NIX_PATH=$NIX_PATH" >> $GITHUB_ENV
nix-shell --pure --run "echo" ./scripts/helm/shell.nix
- name: Update loglevel to debug
run: |
sed -Ei "s~(logLevel: .*)~logLevel: debug~" chart/values.yaml
- name: Prepare chart for publishing
run: |
branch="${{ github.ref_name }}"
nix-shell --pure --run "./scripts/helm/publish-chart-yaml.sh --app-tag "0.0.0-$branch"" ./scripts/helm/shell.nix
- name: Publish Mayastor Helm chart
uses: stefanprodan/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: .