Skip to content

Commit

Permalink
Set AWS credentials lifetime to 12h (nv-morpheus#295)
Browse files Browse the repository at this point in the history
Increasing the AWS credentials lifetime from 1h to 12h

Authors:
  - Jordan Jacobelli (https://github.com/jjacobelli)

Approvers:
  - David Gardner (https://github.com/dagardner-nv)

URL: nv-morpheus#295
  • Loading branch information
jjacobelli authored Mar 7, 2023
1 parent 588a956 commit 8747af7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci_pipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: Check
shell: bash
Expand Down Expand Up @@ -110,6 +111,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: Build:linux:x86_64
shell: bash
Expand Down Expand Up @@ -150,6 +152,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: Test:linux:x86_64
shell: bash
Expand Down Expand Up @@ -188,6 +191,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: Build
shell: bash
Expand Down Expand Up @@ -226,6 +230,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: build_docs
shell: bash
Expand Down Expand Up @@ -259,6 +264,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: pre_benchmark
shell: bash
Expand Down Expand Up @@ -300,6 +306,7 @@ jobs:
with:
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 43200 # 12h

- name: conda
shell: bash
Expand Down

0 comments on commit 8747af7

Please sign in to comment.