Skip to content

Commit cb2425f

Browse files
committed
fetch image hashes from ci-artifacts.rust-lang.org
Direct access to the S3 bucket will eventually be removed.
1 parent 2c2417d commit cb2425f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/fetch-rust-docker.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
TARGET="$1"
1111

1212
RUST_REPO="https://github.com/rust-lang/rust"
13-
S3_BASE_URL="https://rust-lang-ci2.s3.amazonaws.com/rustc-builds"
13+
ARTIFACTS_BASE_URL="https://ci-artifacts.rust-lang.org/rustc-builds"
1414
LOCAL_DOCKER_TAG="rust-$TARGET"
1515

1616
# Use images from rustc master
@@ -36,7 +36,7 @@ case "$TARGET" in
3636
esac
3737

3838
master=$(git ls-remote "$RUST_REPO" refs/heads/master | cut -f1)
39-
image_url="$S3_BASE_URL/$master/image-$image.txt"
39+
image_url="$ARTIFACTS_BASE_URL/$master/image-$image.txt"
4040
info="/tmp/image-$image.txt"
4141

4242
rm -f "$info"

0 commit comments

Comments
 (0)