Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Nova wheel builds to OIDC #4865

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Jan 10, 2024

Learn from the previous attempt #4842:

  • Keep the secrets param for now till we clean up all domains workflow.
  • The role gha_workflow_build_wheels needs to come from pytorch account instead of fbossci (D52679407)
  • Per @malfet suggestion, I'm splitting the role into one for nightly and one for test. They require different ref conditions anyway.
  • I'll move the uploading part to a separate job in a separate PR to keep this one simple.

@facebook-github-bot facebook-github-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 Jan 10, 2024
Copy link

vercel bot commented Jan 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
torchci ⬜️ Ignored (Inspect) Visit Preview Jan 11, 2024 1:16am

@huydhn huydhn requested review from atalman and malfet January 11, 2024 00:12
@huydhn huydhn marked this pull request as ready for review January 11, 2024 00:23
@huydhn huydhn changed the title Switch Nova Linux wheel build to OIDC Switch Nova wheel builds to OIDC Jan 11, 2024
@huydhn huydhn merged commit 6a12312 into main Jan 11, 2024
40 checks passed
@huydhn huydhn deleted the switch-linux-whl-build-to-oidc branch January 11, 2024 19:57
huydhn added a commit to huydhn/audio that referenced this pull request Jan 11, 2024
huydhn added a commit to huydhn/vision that referenced this pull request Jan 11, 2024
atalman pushed a commit to atalman/test-infra that referenced this pull request Jan 11, 2024
Learn from the previous attempt
pytorch#4842:

* [x] Keep the secrets param for now till we clean up all domains
workflow.
* [x] The role `gha_workflow_build_wheels` needs to come from pytorch
account instead of fbossci (D52679407)
* [x] Per @malfet suggestion, I'm splitting the role into one for
nightly and one for test. They require different ref conditions anyway.
* [ ] I'll move the uploading part to a separate job in a separate PR to
keep this one simple.
huydhn added a commit that referenced this pull request Jan 12, 2024
This needs to be add to the test workflows after
#4865
facebook-github-bot pushed a commit to pytorch/torchrec that referenced this pull request Jan 12, 2024
Summary:
This fixes the failures when building torchrec wheel using Nova build job.

Note that the credential `AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID` has been revoked and we are not using it anymore.  I can see it is still used in `.github/workflows/release_build.yml`, so please take priority action to:

* Either switch to ODIC like how we do it in Nova pytorch/test-infra#4865.  Please reach out to me if you need help on this.
* Or remove the workflow if it has been replaced by Nova.

Pull Request resolved: #1626

Reviewed By: henrylhtsang

Differential Revision: D52737705

Pulled By: huydhn

fbshipit-source-id: 79254f42666c6a444973a6d9bd5c13c43ebed0f6
huydhn added a commit to huydhn/audio that referenced this pull request Jan 12, 2024
Summary:
This is not needed anymore after pytorch/test-infra#4865.


Reviewed By: malfet, huydhn, jeanschmidt, clee2000, NicolasHug

Differential Revision: D52735187

Pulled By: atalman
huydhn added a commit to huydhn/audio that referenced this pull request Jan 12, 2024
Summary:
This is not needed anymore after pytorch/test-infra#4865.


Reviewed By: malfet, jeanschmidt, clee2000, NicolasHug

Differential Revision: D52735187

Pulled By: huydhn
huydhn added a commit to pytorch/audio that referenced this pull request Jan 12, 2024
Summary:
This is not needed anymore after pytorch/test-infra#4865.


Reviewed By: malfet, jeanschmidt, clee2000, NicolasHug

Differential Revision: D52735187

Pulled By: huydhn
huydhn added a commit that referenced this pull request Feb 12, 2024
This needs to be add to the test workflows after
#4865
atalman pushed a commit to atalman/audio that referenced this pull request Feb 12, 2024
Summary:
This is not needed anymore after pytorch/test-infra#4865.


Reviewed By: malfet, jeanschmidt, clee2000, NicolasHug

Differential Revision: D52735187

Pulled By: huydhn
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.

4 participants