Skip to content

Commit 5dc002d

Browse files
committed
Change to the NetBSD archive URL rather than the CDN
The CDN has been down for a few hours. Switch to an alternative for the time being so we can unblock CI. It appears that the CDN is quite a bit faster, so we will likely want to switch back when available.
1 parent 7d97c59 commit 5dc002d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ci/docker/host-x86_64/dist-x86_64-netbsd/build-netbsd-toolchain.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,19 @@ mkdir -p /x-tools/x86_64-unknown-netbsd/sysroot
2727

2828
# URL=https://ci-mirrors.rust-lang.org/rustc
2929

30-
SOURCE_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/source/sets
30+
# FIXME: the archive URL is being used temporarily while the CDN is down.
31+
# We should serve this from our own CDN
32+
# SOURCE_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/source/sets
33+
SOURCE_URL=http://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/source/sets
3134
curl $SOURCE_URL/src.tgz | tar xzf -
3235
curl $SOURCE_URL/gnusrc.tgz | tar xzf -
3336
curl $SOURCE_URL/sharesrc.tgz | tar xzf -
3437
curl $SOURCE_URL/syssrc.tgz | tar xzf -
3538

36-
BINARY_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/amd64/binary/sets
39+
# FIXME: the archive URL is being used temporarily while the CDN is down.
40+
# We should serve this from our own CDN
41+
# BINARY_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/amd64/binary/sets
42+
BINARY_URL=http://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/amd64/binary/sets
3743
curl $BINARY_URL/base.tar.xz | \
3844
tar xJf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib ./lib
3945
curl $BINARY_URL/comp.tar.xz | \

0 commit comments

Comments
 (0)