-
Notifications
You must be signed in to change notification settings - Fork 364
Clean up AWS credentials #2592
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
Clean up AWS credentials #2592
Conversation
Hi @huydhn - it seems that all of the tests are failing with |
I think I know the reason, pytorch/test-infra#4877 renames the artifacts so that it can be uniquely identified. Sorry for missing this and let me push a fix. |
Hi - thanks for the commit. It seems the same error appears, unfortunately. Another thing I noticed is that in the older CI runs, there are only two jobs within the build-package step, as here, but now there are four, as here. It looks like the artifact name, as below, is not correct: TensorRT/.github/workflows/linux-test.yml Lines 112 to 115 in fd19353
|
Well, this is a bit tricky to test this on PR because the job is setup to use I could change that for testing though, once the CI signals are green, I can switch back to main before landing the change. |
This is expected because the job has been broken up into 2 parts, building and uploading artifacts. The latter has access to the credentials and its access is protected. |
@gs-olive The test round seems to work correctly https://github.com/pytorch/TensorRT/actions/runs/7548790822, so landing this should be safe (I will switch the I'm rerunning some failures there https://github.com/pytorch/TensorRT/actions/runs/7548790822/job/20552955754 just to be sure, but they look like pre-existing failures and unrelated to this change? |
This looks good! The test failures are unrelated to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, pending the switch back to main
on the workflow.
Hi @huydhn - I am noticing the following credential error on our Docker workflow: CI link. This workflow uses the login action as here: TensorRT/.github/workflows/docker_builder.yml Lines 40 to 42 in e642f86
Does this also need to be updated in light of the new authentication changes? |
I think you're right that an update is need to grant the job the permission to push to ghcr.io. From https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs, I think we need to add the follow snippet to the job:
|
Ok thank you for the suggestion - just added it here: #2619 |
(Replace #2589)
The credential has been revoked to be replaced by OIDC pytorch/test-infra#4865