Skip to content

Commit

Permalink
Merge pull request #238 from vania-pooh/master
Browse files Browse the repository at this point in the history
Better aws s3 cp command for regeneration
  • Loading branch information
vania-pooh authored Dec 20, 2023
2 parents f4a820a + 765ad92 commit 275c936
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ if [ -n "$regenerate" ] && [ "$regenerate" = "true" ]; then
regenerateDir="regenerate"
mkdir -p "$regenerateDir"
pushd "$regenerateDir"
keys="$path/*.tgz"
aws s3 cp "s3://$S3_BUCKET_NAME$keys" . --endpoint="$S3_ENDPOINT"
aws s3 cp "s3://$S3_BUCKET_NAME/$path" . --recursive --exclude "*" --include "*.tgz" --endpoint="$S3_ENDPOINT"
helm repo index . --url "$CHARTS_REPO"
popd
cp "$regenerateDir"/index.yaml .
Expand Down

0 comments on commit 275c936

Please sign in to comment.