Skip to content

Commit

Permalink
Make duration configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
tateexon committed Nov 2, 2023
1 parent ab0976f commit ade49c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions chainlink-testing-framework/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ inputs:
aws_registries:
required: false
description: AWS registries to log into for the test if needed
aws_role_duration_seconds:
required: false
default: "3600"
description: The duration to be logged into the aws role for
dep_chainlink_integration_tests:
required: false
description: chainlink/integration-tests commit or branch
Expand Down Expand Up @@ -111,6 +115,7 @@ runs:
cache_restore_only: ${{ inputs.cache_restore_only }}
cache_key_id: ${{ inputs.cache_key_id }}
aws_registries: ${{ inputs.aws_registries }}
aws_role_duration_seconds: ${{ inputs.aws_role_duration_seconds }}
QA_AWS_REGION: ${{ inputs.QA_AWS_REGION }}
QA_AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
QA_KUBECONFIG: ${{ inputs.QA_KUBECONFIG }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ inputs:
aws_registries:
required: false
description: AWS registries to log into for the test if needed
aws_role_duration_seconds:
required: false
default: "3600"
description: The duration to be logged into the aws role for
QA_AWS_REGION:
required: true
description: The AWS region to use
Expand Down Expand Up @@ -52,7 +56,7 @@ runs:
with:
aws-region: ${{ inputs.QA_AWS_REGION }}
role-to-assume: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 3600
role-duration-seconds: ${{ inputs.aws_role_duration_seconds }}
- name: Set Kubernetes Context
uses: azure/k8s-set-context@v3
with:
Expand Down

0 comments on commit ade49c2

Please sign in to comment.