From b2b63e9177a55120c2cab66a3f971a2213266c18 Mon Sep 17 00:00:00 2001 From: torredil Date: Tue, 9 Apr 2024 19:56:40 +0000 Subject: [PATCH] test Signed-off-by: torredil --- hack/e2e/ecr.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hack/e2e/ecr.sh b/hack/e2e/ecr.sh index 18afd27af8..0ce7986793 100644 --- a/hack/e2e/ecr.sh +++ b/hack/e2e/ecr.sh @@ -23,6 +23,15 @@ function ecr_build_and_push() { IMAGE_TAG=${4} IMAGE_ARCH=${5} + loudecho "Retrieving caller identity" + aws sts get-caller-identity + + loudecho "echo list-user-policies" + aws iam list-role-policies --role-name aws-shared-testing-role + + loudecho "echo list-attached-user-policies" + aws iam list-attached-role-policies --role-name aws-shared-testing-role + loudecho "Building and pushing test driver image to ${IMAGE_NAME}:${IMAGE_TAG}" aws ecr get-login-password --region "${REGION}" | docker login --username AWS --password-stdin "${AWS_ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com"