Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache AWS CLI install in CI #7472
We freshly install the AWS CLI program on nearly every CI shard, even though the program does not change between runs. This adds about 30 seconds to most shards.
Note that Travis does not cache symlinks, only the actual files. So, we must re-symlink the bin every time we run the script.
Overall CI time reduced by ~13.5 minutes. Each individual shard is now an average of ~19.4 seconds faster.
See https://docs.google.com/spreadsheets/d/1KWzpHnJzUpEZwx7_m-Kt_hZ-QNYFnzoFRPbi3dX0t6c/edit#gid=60516952 for a per-shard analysis of the old time and the new time with this cache.