Skip to content

Commit

Permalink
Excluding S3 keys in dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Dec 20, 2023
1 parent 275c936 commit 6e2b84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ -n "$regenerate" ] && [ "$regenerate" = "true" ]; then
regenerateDir="regenerate"
mkdir -p "$regenerateDir"
pushd "$regenerateDir"
aws s3 cp "s3://$S3_BUCKET_NAME/$path" . --recursive --exclude "*" --include "*.tgz" --endpoint="$S3_ENDPOINT"
aws s3 cp "s3://$S3_BUCKET_NAME/$path" . --recursive --exclude '*' --include '*.tgz' --exclude '*/*' --endpoint="$S3_ENDPOINT"
helm repo index . --url "$CHARTS_REPO"
popd
cp "$regenerateDir"/index.yaml .
Expand Down

0 comments on commit 6e2b84b

Please sign in to comment.