Skip to content

Commit ebfde3c

Browse files
committed
Temporarily disable submodule archive downloads.
1 parent 10f4ce3 commit ebfde3c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/ci/init_repo.sh

+11-8
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ function fetch_github_commit_archive {
4848
rm $cached
4949
}
5050

51-
included="src/llvm-project src/doc/book src/doc/rust-by-example"
51+
# Archive downloads are temporarily disabled due to sudden 504
52+
# gateway timeout errors.
53+
# included="src/llvm-project src/doc/book src/doc/rust-by-example"
54+
included=""
5255
modules="$(git config --file .gitmodules --get-regexp '\.path$' | cut -d' ' -f2)"
5356
modules=($modules)
5457
use_git=""
@@ -71,10 +74,10 @@ for i in ${!modules[@]}; do
7174
done
7275
retry sh -c "git submodule deinit -f $use_git && \
7376
git submodule sync && \
74-
git submodule update -j 16 --init --recursive $use_git"
75-
STATUS=0
76-
for pid in ${bg_pids[*]}
77-
do
78-
wait $pid || STATUS=1
79-
done
80-
exit ${STATUS}
77+
git submodule update -j 16 --init --recursive --depth 1 $use_git"
78+
# STATUS=0
79+
# for pid in ${bg_pids[*]}
80+
# do
81+
# wait $pid || STATUS=1
82+
# done
83+
# exit ${STATUS}

0 commit comments

Comments
 (0)