Skip to content

Commit

Permalink
test: add credential refresh to long-running test
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk committed Nov 30, 2023
1 parent d387b29 commit 3b7d228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/cloud-cli-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function authenticate {
role_name=$2
profile_name=$3
echo Authenticating terminal...
mwinit --aea
mwinit
echo Loading account credentials for Account $account_number with Role: $role_name...
ada cred update --profile="${profile_name}" --account="${account_number}" --role=${role_name} --provider=isengard --once
aws configure set region us-east-1 --profile $profile_name
Expand Down
2 changes: 1 addition & 1 deletion scripts/cloud-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source $scriptDir/.env set
printf 'What is your PR number ? '
read PR_NUMBER

mwinit --aea
mwinit
ada cred update --profile=cb-ci-account --account=$E2E_ACCOUNT_PROD --role=CodeBuildE2E --provider=isengard --once
RESULT=$(aws codebuild start-build-batch \
--profile=cb-ci-account \
Expand Down

0 comments on commit 3b7d228

Please sign in to comment.