Skip to content

fix(chart): Revert previous changes to the helm chart #29

fix(chart): Revert previous changes to the helm chart

fix(chart): Revert previous changes to the helm chart #29

Workflow file for this run

name: Helm Charts CI
on:
pull_request:
paths:
- "deploy/charts/**"
- ".github/workflows/chart-testing.yaml"
- ".github/workflows/setup_environment/action.yaml"
jobs:
test_list_changed:
name: Test (list changed)
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.list_changed.outputs.changed }}
steps:
- name: checkout
uses: actions/checkout@v4
# used to fetch all history for all branches and tags
with:
fetch-depth: 0
- name: setup_environment
uses: ./.github/workflows/setup_environment
- name: Run chart-testing (list-changed)
id: list_changed
run: |
changed=$(ct list-changed --config chart-testing.yaml)
echo "changed=true" >> $GITHUB_OUTPUT
test_lint:
name: Test (lint)
runs-on: ubuntu-latest
needs: test_list_changed
steps:
- name: checkout
uses: actions/checkout@v4
# used to fetch all history for all branches and tags
with:
fetch-depth: 0
- name: setup_environment
uses: ./.github/workflows/setup_environment
- name: Run chart-testing (lint)
run: ct lint --config chart-testing.yaml
if: needs.test_list_changed.outputs.changed == 'true'
test_install:
name: Test (install)
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
needs: test_list_changed
steps:
- name: checkout
uses: actions/checkout@v4
# used to fetch all history for all branches and tags
with:
fetch-depth: 0
- name: setup_environment
uses: ./.github/workflows/setup_environment
- uses: debianmaster/actions-k3s@master
id: k3s
with:
version: 'latest'
- name: Run chart-testing (install)
run: ct install --config chart-testing.yaml --helm-extra-set-args '--set=exporter.tls.disabled=true --set=auth0.domain=${{ secrets.TEST_AUTH0_DOMAIN }} --set=auth0.clientId=${{ secrets.TEST_AUTH0_CLIENT_ID }} --set=auth0.clientSecret=${{ secrets.TEST_AUTH0_CLIENT_SECRET }}'