about summary refs log tree commit diff
path: root/src/ci/scripts
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-05-07 23:05:40 +0200
committerRalf Jung <post@ralfj.de>2023-05-07 23:05:40 +0200
commite476f7ac36e4c77acc158aa7f7d2edc18b5b16fa (patch)
tree2ba1f523436ad377f806a1ba2f131277deac45e0 /src/ci/scripts
parentce3a2e5eb9ffe89f5d73d43b32d1108b55325d84 (diff)
parente61bb8810b26de043d3b4ba2560e78af71121a0e (diff)
downloadrust-e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa.tar.gz
rust-e476f7ac36e4c77acc158aa7f7d2edc18b5b16fa.zip
Merge from rustc
Diffstat (limited to 'src/ci/scripts')
-rwxr-xr-xsrc/ci/scripts/install-awscli.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/ci/scripts/install-awscli.sh b/src/ci/scripts/install-awscli.sh
deleted file mode 100755
index aa62407eaea..00000000000
--- a/src/ci/scripts/install-awscli.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/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.
-
-set -euo pipefail
-IFS=$'\n\t'
-
-source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
-
-MIRROR="${MIRRORS_BASE}/2023-04-28-awscli.tar"
-DEPS_DIR="/tmp/awscli-deps"
-
-pip="pip"
-pipflags=""
-if isLinux; then
-    pip="pip3"
-    pipflags="--user"
-
-    sudo apt-get install -y python3-setuptools python3-wheel
-    ciCommandAddPath "${HOME}/.local/bin"
-elif isMacOS; then
-    pip="pip3"
-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}"