Skip to content

Commit 70fed04

Browse files
authored
fix(helm): build chart dependencies before lint (#1947)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent f5e109a commit 70fed04

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tasks/helm.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ hide = true
2626
description = "Lint the openshell Helm chart (defaults + all CI configuration variants)"
2727
run = """
2828
set -e
29+
helm dependency build deploy/helm/openshell
2930
echo "--- helm lint: defaults ---"
3031
echo "values files: deploy/helm/openshell/values.yaml"
3132
helm lint deploy/helm/openshell
@@ -45,6 +46,7 @@ run = """
4546
if ! helm plugin list | grep -q unittest; then
4647
helm plugin install https://github.com/helm-unittest/helm-unittest --verify=false
4748
fi
49+
helm dependency build deploy/helm/openshell
4850
helm unittest deploy/helm/openshell
4951
"""
5052

0 commit comments

Comments
 (0)