Skip to content

Add binary r2 upload step to linux job - #7440

Merged
atalman merged 4 commits into
pytorch:mainfrom
atalman:dual_r2_upload
Nov 7, 2025
Merged

Add binary r2 upload step to linux job#7440
atalman merged 4 commits into
pytorch:mainfrom
atalman:dual_r2_upload

Conversation

@atalman

@atalman atalman commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

Enable Cloudflare R2 upload

@vercel

vercel Bot commented Nov 6, 2025

Copy link
Copy Markdown

@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 6, 2025

@jordanconway jordanconway left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but with a question about awscli version if it should be addressed.

Comment thread .github/workflows/_binary_upload_r2.yml Outdated
# shellcheck disable=SC1090
source "${BUILD_ENV_FILE}"

pip install awscli==1.32.18

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to use this specific, nearly 2 year old (Released: Jan 12, 2024) release of awscli?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree let me unpin this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may still be security best practices to pin in (in case of malicious takeover) but something more recent is probably better. 1.42.67 is the most recent release.

test

fix

fix

fix

upload_r2

fix

fix

test

test
@atalman
atalman merged commit 8764320 into pytorch:main Nov 7, 2025
41 of 42 checks passed
atalman added a commit that referenced this pull request Nov 10, 2025
atalman added a commit to atalman/test-infra that referenced this pull request Dec 8, 2025
atalman added a commit that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants