Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Sep 5, 2023
1 parent 41abb9d commit c2453d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/r2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ jobs:
print_stats &
STATS_PID=$!
git -C checkout/ repack -a -d -f --depth=250 --window=250 --threads=2 --window-memory=3g
git -C checkout/ repack -a -d -f --depth=100 --window=250 --threads=2 --window-memory=3g
for file in checkout/.git/objects/pack/*; do
extension="${file##*.}"
mv "$file" "checkout/.git/objects/pack/$file_prefix.$extension"
done
git -C checkout/ rev-list --all --objects | gzip > "checkout/.git/objects/pack/$file_prefix.objects.gz"
aws s3 sync checkout/.git/objects/pack/ s3://pypi-data/packfiles-2/ --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress
aws s3 sync checkout/.git/objects/pack/ s3://pypi-data/packfiles/ --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress
aws s3 cp commits.txt s3://pypi-data/packfiles/$file_prefix.commits.txt --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress
kill $STATS_PID
Expand Down

0 comments on commit c2453d5

Please sign in to comment.