Skip to content

Commit

Permalink
Update linux_job_v2.yml (#6250)
Browse files Browse the repository at this point in the history
This removes the aws credentialing since we don't need the alpine image
for the 'chown' workflow step.
  • Loading branch information
amdfaa authored Feb 3, 2025
1 parent 501b943 commit 6288b87
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/linux_job_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,21 +278,6 @@ jobs:
path: ${{ env.RUNNER_TEST_RESULTS_DIR }}
fail-on-empty: false

- name: configure aws credentials
id: aws_creds
if: ${{ inputs.gpu-arch-type == 'rocm' }}
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_s3_and_ecr_read_only
aws-region: us-east-1
role-duration-seconds: 18000

- name: Login to Amazon ECR
id: login-ecr
if: ${{ inputs.gpu-arch-type == 'rocm' }}
continue-on-error: true
uses: aws-actions/amazon-ecr-login@v2

- name: Chown repository directory
if: ${{ inputs.gpu-arch-type != 'rocm' }}
uses: ./test-infra/.github/actions/chown-directory
Expand Down

0 comments on commit 6288b87

Please sign in to comment.