Skip to content

Commit ecb96e6

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
test: ignore latest tgz file in helm chart index verification
1 parent 18f76ad commit ecb96e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hack/verify-helm-chart-index.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ function check_url() {
3333
echo "$local exists"
3434
else
3535
echo "$local does not exist"
36+
# ignore url which contains latest
37+
if [[ "$url" == *"latest"* ]]; then
38+
echo "ignore $url"
39+
return
40+
fi
3641
exit 1
3742
fi
3843
fi

0 commit comments

Comments
 (0)