From 021b973d554dd713714b29ecb33ab186f38df3db Mon Sep 17 00:00:00 2001 From: He Liu Date: Fri, 18 Oct 2024 22:10:07 +0800 Subject: [PATCH] debug only --- .../create/rosa-sts-account-roles-create-commands.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci-operator/step-registry/rosa/sts/account-roles/create/rosa-sts-account-roles-create-commands.sh b/ci-operator/step-registry/rosa/sts/account-roles/create/rosa-sts-account-roles-create-commands.sh index 3ce45cd681c1..1a87b2b9d883 100755 --- a/ci-operator/step-registry/rosa/sts/account-roles/create/rosa-sts-account-roles-create-commands.sh +++ b/ci-operator/step-registry/rosa/sts/account-roles/create/rosa-sts-account-roles-create-commands.sh @@ -3,6 +3,7 @@ set -o nounset set -o errexit set -o pipefail +set -x trap 'CHILDREN=$(jobs -p); if test -n "${CHILDREN}"; then kill ${CHILDREN} && wait; fi' TERM @@ -78,6 +79,7 @@ if [[ ! -z "$PERMISSIONS_BOUNDARY" ]]; then fi # Whatever the account roles with the prefix exist or not, do creation. +echo "rosa -v $(rosa -v)" echo "Create the ${CLUSTER_SWITCH} account roles with the prefix '${ACCOUNT_ROLES_PREFIX}'" echo "rosa create account-roles -y --mode auto --prefix ${ACCOUNT_ROLES_PREFIX} ${CLUSTER_SWITCH} ${VERSION_SWITCH} ${ARN_PATH_SWITCH}" rosa create account-roles -y --mode auto \