Skip to content

Commit a271955

Browse files
committed
ci(helm): skip ct maintainer validation and use CHART_DIR for unittest
Pass `--validate-maintainers=false` to `ct lint` so the chart's missing `maintainers` field doesn't fail the lint job, and reuse the `CHART_DIR` env var for the `helm unittest` invocation. Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
1 parent 37b08f4 commit a271955

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/helm.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
ct lint \
3434
--target-branch ${{ github.event.repository.default_branch }} \
3535
--all \
36+
--validate-maintainers=false \
3637
--chart-dirs ${{ env.CHART_DIR }}
3738
3839
unittest:
@@ -50,4 +51,4 @@ jobs:
5051
helm plugin install https://github.com/helm-unittest/helm-unittest.git --verify=false --version v1.0.3 # 6f82a998e0b5461762ca959f87f5dd344af5e4eb
5152
5253
- name: Run helm unittest
53-
run: helm unittest deployments/${{ env.CHART_NAME }}
54+
run: helm unittest ${{ env.CHART_DIR }}/${{ env.CHART_NAME }}

0 commit comments

Comments
 (0)