Skip to content

Commit

Permalink
Retry artifact downloads (#111)
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
  • Loading branch information
steven-sheehy authored Mar 2, 2023
1 parent afea100 commit a153a59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ install_chart_testing() {
if [[ ! -d "$cache_dir" ]]; then
mkdir -p "$cache_dir"

echo "Installing chart-testing..."
curl -sSLo ct.tar.gz "https://github.com/helm/chart-testing/releases/download/$version/chart-testing_${version#v}_linux_amd64.tar.gz"
echo "Installing chart-testing ${version}..."
curl --retry 5 --retry-delay 1 -sSLo ct.tar.gz "https://github.com/helm/chart-testing/releases/download/$version/chart-testing_${version#v}_linux_amd64.tar.gz"
tar -xzf ct.tar.gz -C "$cache_dir"
rm -f ct.tar.gz

Expand Down

0 comments on commit a153a59

Please sign in to comment.