deps(patch): update module helm.sh/helm/v4 to v4.2.2 #427
Workflow file for this run
This file contains hidden or 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
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: testing | |
| "on": | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: .python-version | |
| - name: Setup sops | |
| uses: nhedger/setup-sops@v3 | |
| - name: Setup testing | |
| uses: helm/chart-testing-action@main | |
| - name: Setup helm | |
| uses: azure/setup-helm@v5 | |
| - name: Import gnupg | |
| run: | | |
| curl -fsSL https://github.com/jkroepke.gpg | gpg --import | |
| gpg --export > ~/.gnupg/pubring.gpg | |
| - name: Helm plugins | |
| run: | | |
| helm plugin install https://github.com/jkroepke/helm-secrets/releases/download/v4.7.4/secrets-4.7.4.tgz | |
| helm plugin install https://github.com/jkroepke/helm-secrets/releases/download/v4.7.4/secrets-getter-4.7.4.tgz | |
| helm plugin install https://github.com/jkroepke/helm-secrets/releases/download/v4.7.4/secrets-post-renderer-4.7.4.tgz | |
| - name: Decrypt secrets | |
| env: | |
| SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} | |
| run: | | |
| for FILE in $(find stable -iname \*.enc); do | |
| helm secrets decrypt ${FILE} >| ${FILE%.enc}.yaml | |
| done | |
| - name: Detect testing | |
| id: detect | |
| run: | | |
| CHANGED=$(ct list-changed --config ct.yaml) | |
| if [[ -n "${CHANGED}" ]]; then | |
| echo "changed=true" >> "${GITHUB_OUTPUT}" | |
| fi | |
| - name: Run Linting | |
| run: | | |
| ct lint --config ct.yaml | |
| - name: Create kind | |
| if: steps.detect.outputs.changed == 'true' | |
| uses: helm/kind-action@v1.14.0 | |
| - name: Run testing | |
| if: steps.detect.outputs.changed == 'true' | |
| run: | | |
| ct install --config ct.yaml | |
| ... |