-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #63057 - Centril:rollup-z3a3c6v, r=Centril
Rollup of 8 pull requests Successful merges: - #61207 (Allow lifetime elision in `Pin<&(mut) Self>`) - #62074 (squash of all commits for nth_back on ChunksMut) - #62771 (Break dependencies between `syntax_ext` and other crates) - #62883 (Refactoring use common code between option, result and accum) - #62949 (Re-enable assertions in PPC dist builder) - #62996 (tidy: Add a check for inline unit tests) - #63038 (Make more informative error on outer attribute after inner) - #63050 (ci: download awscli from our mirror) Failed merges: r? @ghost
- Loading branch information
Showing
89 changed files
with
2,335 additions
and
898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
# This script downloads and installs awscli from the packages mirrored in our | ||
# own S3 bucket. This follows the recommendations at: | ||
# | ||
# https://packaging.python.org/guides/index-mirrors-and-caches/#caching-with-pip | ||
# | ||
# To create a new mirrored copy you can run the command: | ||
# | ||
# pip wheel awscli | ||
# | ||
# Before compressing please make sure all the wheels end with `-none-any.whl`. | ||
# If that's not the case you'll need to remove the non-cross-platform ones and | ||
# replace them with the .tar.gz downloaded from https://pypi.org. Also make | ||
# sure it's possible to call this script with both Python 2 and Python 3. | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
MIRROR="https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror/2019-07-27-awscli.tar" | ||
DEPS_DIR="/tmp/awscli-deps" | ||
|
||
pip="pip" | ||
pipflags="" | ||
if [[ "${AGENT_OS}" == "Linux" ]]; then | ||
pip="pip3" | ||
pipflags="--user" | ||
|
||
sudo apt-get install -y python3-setuptools | ||
echo "##vso[task.prependpath]$HOME/.local/bin" | ||
fi | ||
|
||
mkdir -p "${DEPS_DIR}" | ||
curl "${MIRROR}" | tar xf - -C "${DEPS_DIR}" | ||
"${pip}" install ${pipflags} --no-index "--find-links=${DEPS_DIR}" awscli | ||
rm -rf "${DEPS_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.