Skip to content

Commit

Permalink
package bad charts during setup
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <[email protected]>
  • Loading branch information
jdolitsky committed Mar 12, 2021
1 parent c47a045 commit 65f7482
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/setup-test-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ package_test_charts() {
# add another version to repo for metric tests
helm package --sign --key helm-test --keyring ../pgp/helm-test-key.secret --version 0.2.0 -d mychart/ mychart/.
popd

pushd testdata/badcharts/
for d in $(find . -maxdepth 1 -mindepth 1 -type d); do
pushd $d
helm package --sign --key helm-test --keyring ../../pgp/helm-test-key.secret . || true
popd
done
}

main

0 comments on commit 65f7482

Please sign in to comment.