Skip to content

Commit 6b837d0

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 790806d commit 6b837d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ steps:
189189
set -e
190190
[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
191191
192-
MANAGEDIDENTITY_NAME="${ACNCI_MANAGEDIDENTITY_PREFIX}${LOCAL_ACNCI_UNIQUE_ID}-${LOCATION}"
192+
MANAGEDIDENTITY_NAME="${ACNCI_MANAGEDIDENTITY_PREFIX}${LOCAL_ACNCI_UNIQUE_ID}-${ACNCI_RG_LOCATION}"
193193
az identity create \
194194
--name "$MANAGEDIDENTITY_NAME" \
195195
--resource-group "$ACNCI_BUILD_RESOURCEGROUP" \
@@ -379,13 +379,15 @@ steps:
379379
--name "$SA_NAME" \
380380
--location "$ACNCI_SA_LOCATION" \
381381
--resource-group "$ACNCI_BUILD_RESOURCEGROUP" \
382-
--assign-identity "$ACNCI_MANAGEDIDENTITY_OBJECTID" \
382+
--user-identity-id "ACNCI_MANAGEDIDENTITY_ARMID" \
383+
--user-identity-type UserAssigned \
383384
--allow-blob-public-access false \
384385
--allow-shared-key-access false \
385-
--enable-files-aad-integration true \
386386
--tags "$ACNCI_BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" \
387387
"$ACNCI_BUILDTAG_CREATEDBYBUILDID"="$BUILD_BUILDID" \
388388
"$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
389+
#--enable-files-aad-integration true
390+
#--assign-identity "$ACNCI_MANAGEDIDENTITY_OBJECTID"
389391
#--default-action Deny
390392
env:
391393
LOCAL_ACNCI_UNIQUE_ID: $(LOCAL_ACNCI_UNIQUE_ID)

0 commit comments

Comments
 (0)