Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
When adding a new version to repos, only download that version
Browse files Browse the repository at this point in the history
When updating many releases, we got timeouts due to this.

refs #175

Test Plan: ship this today, check the nightlies tomorrow
  • Loading branch information
fredemmott committed Jul 25, 2019
1 parent d299db7 commit cc9431d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/bin/update-repos
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ mkdir /mnt/dl.hhvm.com
mount /dev/xvdf /mnt/dl.hhvm.com

aws s3 sync s3://hhvm-downloads/ /mnt/dl.hhvm.com/ --exclude '*nightly*' --exclude "source/nightlies/*" --exclude "homebrew-bottles/*"
aws s3 sync s3://hhvm-scratch/ /var/hhvm-scratch/
mkdir -p "/var/hhvm-scratch/${VERSION}"
aws s3 sync "s3://hhvm-scratch/${VERSION}" "/var/hhvm-scratch/${VERSION}"

export PACKAGING_BRANCH
/opt/hhvm-packaging/aws/bin/create-apt-repos
Expand Down

0 comments on commit cc9431d

Please sign in to comment.