argocd-helm/scripts/lint.sh
Jason Meridth 2eb537dde0
fix(github): update chart testing action due to failure (#2324)
Getting failure when running chart testing action pulling v2.0.0 from sigstore

Updating action to see if this helps

Signed-off-by: jmeridth <jmeridth@gmail.com>
2023-10-31 12:21:05 -05:00

17 lines
583 B
Bash
Executable file

#!/bin/bash
# This script runs the chart-testing tool locally. It simulates the linting that is also done by the github action. Run this without any errors before pushing.
# Reference: https://github.com/helm/chart-testing
set -eux
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
echo -e "\n-- Linting all Helm Charts --\n"
docker run \
-v "$SRCROOT:/workdir" \
--entrypoint /bin/sh \
quay.io/helmpack/chart-testing:v3.10.0 \
-c cd /workdir \
ct lint \
--config .github/configs/ct-lint.yaml \
--lint-conf .github/configs/lintconf.yaml \
--debug