From 6eb55ad0cebb17b1599aa9d0baf14ac4ffc0b38e Mon Sep 17 00:00:00 2001 From: kdestin <101366538+kdestin@users.noreply.github.com> Date: Tue, 12 Dec 2023 20:17:05 -0500 Subject: [PATCH] fix: Temporarily allow bootstrapping to proceed past acr permission granting error (#2912) --- infra/bootstrapping/bootstrap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/infra/bootstrapping/bootstrap.sh b/infra/bootstrapping/bootstrap.sh index f09bea4b8..ff3544410 100644 --- a/infra/bootstrapping/bootstrap.sh +++ b/infra/bootstrapping/bootstrap.sh @@ -83,7 +83,12 @@ if [[ ! -z "${RUN_BOOTSTRAP:-}" ]]; then "$SCRIPT_DIR"/sdk_helpers.sh ensure_vnet "vnet-mevnet" "$SCRIPT_DIR"/sdk_helpers.sh ensure_subnet "vnet-mevnet" "snet-scoring" "$SCRIPT_DIR"/sdk_helpers.sh ensure_identity "uaimevnet" - "$SCRIPT_DIR"/sdk_helpers.sh grant_permission_identity_on_acr "uaimevnet" + + ( + # TODO: Figure out why this sometimes fails + # Currently errors out and prevents script from running + "$SCRIPT_DIR"/sdk_helpers.sh grant_permission_identity_on_acr "uaimevnet" + ) || : echo_title "Ensuring Permissions on RG" "$SCRIPT_DIR"/sdk_helpers.sh grant_permission_app_id_on_rg "${APP_NAME}"