Skip to content

Commit cebf74f

Browse files
authored
Revert "[CI] Add SHA256 checksum for binary uploads to S3 (#6172)"
This reverts commit 5c23404.
1 parent 3c0eb5c commit cebf74f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/actions/binary-upload/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
# shellcheck disable=SC1090
3030
source "${BUILD_ENV_FILE}"
3131
32-
pip install awscli==1.37.0
32+
pip install awscli==1.32.18
3333
yum install -y jq
3434
3535
export AWS_ROLE_ARN="arn:aws:iam::749337293305:role/gha_workflow_nightly_build_wheels"
@@ -43,5 +43,5 @@ runs:
4343
| jq -r '.value' > "${AWS_WEB_IDENTITY_TOKEN_FILE}"
4444
4545
for pkg in dist/*; do
46-
aws s3 cp "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read --checksum-algorithm SHA256
46+
aws s3 cp "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read
4747
done

.github/workflows/_binary_upload.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ jobs:
109109
# shellcheck disable=SC1090
110110
source "${BUILD_ENV_FILE}"
111111
112-
pip install awscli==1.37.0
112+
pip install awscli==1.32.18
113113
114114
AWS_CMD="aws s3 cp --dryrun"
115115
if [[ "${NIGHTLY_OR_TEST:-0}" == "1" ]]; then
116116
AWS_CMD="aws s3 cp"
117117
fi
118118
119119
for pkg in dist/*; do
120-
${AWS_CMD} "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read --checksum-algorithm SHA256
120+
${AWS_CMD} "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read
121121
done
122122
123123
- name: Upload package to pypi

.github/workflows/update_disabled_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: Upload files to s3
113113
if: github.event_name != 'pull_request'
114114
run: |
115-
python3 -mpip install awscli==1.37.0
115+
python3 -mpip install awscli==1.27.69
116116
117117
aws s3 cp disabled-tests-condensed.json s3://ossci-metrics/disabled-tests-condensed.json
118118
aws s3 cp disabled-jobs.json s3://ossci-metrics/disabled-jobs.json

0 commit comments

Comments
 (0)