From 3b7d228bd8e11b468aff360441999e784f1b25e3 Mon Sep 17 00:00:00 2001 From: Kamil Sobol Date: Thu, 30 Nov 2023 07:30:35 -0800 Subject: [PATCH] test: add credential refresh to long-running test --- scripts/cloud-cli-utils.sh | 2 +- scripts/cloud-pr.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cloud-cli-utils.sh b/scripts/cloud-cli-utils.sh index f76c33760b..a92fc8ba85 100644 --- a/scripts/cloud-cli-utils.sh +++ b/scripts/cloud-cli-utils.sh @@ -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 diff --git a/scripts/cloud-pr.sh b/scripts/cloud-pr.sh index 314bcdd99a..3cef48e254 100755 --- a/scripts/cloud-pr.sh +++ b/scripts/cloud-pr.sh @@ -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 \