Skip to content

fix(helm): make mongo init-container -ubi8 append idempotent #113

fix(helm): make mongo init-container -ubi8 append idempotent

fix(helm): make mongo init-container -ubi8 append idempotent #113

Workflow file for this run

name: Helm Unit Tests
on:
pull_request:
branches:
- release
paths:
- "deploy/helm/**"
workflow_dispatch:
jobs:
unittest:
runs-on: ubuntu-latest
defaults:
run:
working-directory: deploy/helm
shell: bash
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Setup Helm
uses: azure/setup-helm@v4
with:
version: v4.1.4
# charts/ is gitignored, so pull subcharts before running the tests.
# Done here, not in the container, which can't write to the mounted dir.
- name: Build chart dependencies
run: helm dependency build
- name: Unittest
run: |
docker run --rm -v $(pwd):/apps helmunittest/helm-unittest .