Skip to content

Commit a4de262

Browse files
authored
fix(IDX): disable multipart upload on cloudflare (#4155)
Multipart uploads seem to be flaky on Cloudflare so we re-disable them.
1 parent 8d89adf commit a4de262

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/src/artifacts/upload.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ fi
2727

2828
if [ "${UPLOAD_BUILD_ARTIFACTS:-}" == "1" ]; then
2929
echo "uploading $f"
30-
# Multipart upload does not work trough the proxy for some reasons. Just disabling it for now.
30+
# Multipart upload does not work trough the proxy or through Cloudflare for some
31+
# reason. Just disabling it with `--s3-upload-cutoff` for now.
3132
"$RCLONE" \
3233
--config="$RCLONE_CONFIG" \
3334
--stats-one-line \
@@ -45,6 +46,7 @@ if [ "${UPLOAD_BUILD_ARTIFACTS:-}" == "1" ]; then
4546
--stats-one-line \
4647
--checksum \
4748
--immutable \
49+
--s3-upload-cutoff=5G \
4850
copy \
4951
"$f" \
5052
"public-s3-cf:dfinity-download-public/ic/${VERSION}/$REMOTE_SUBDIR/"

0 commit comments

Comments
 (0)