Skip to content

Commit f4e922e

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 06f91cd commit f4e922e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ steps:
175175
set -e
176176
[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
177177
178-
MANAGEDIDENTITY_NAME="${ACNCI_MANAGEDIDENTITY_PREFIX}""${UNIQUE_ID}"-"${LOCATION}"
178+
MANAGEDIDENTITY_NAME="${ACNCI_MANAGEDIDENTITY_PREFIX}${LOCAL_ACNCI_UNIQUE_ID}-${LOCATION}"
179179
az identity create \
180180
--name "$MANAGEDIDENTITY_NAME" \
181181
--resource-group "$ACNCI_BUILD_RESOURCEGROUP" \
@@ -184,6 +184,8 @@ steps:
184184
"$ACNCI_BUILDTAG_CREATEDBYBUILDID"="$BUILD_BUILDID" \
185185
"$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
186186
env:
187+
LOCATION: $(ACNCI_RG_LOCATION)
188+
LOCAL_ACNCI_UNIQUE_ID: $(LOCAL_ACNCI_UNIQUE_ID)
187189
ACNCI_MANAGEDIDENTITY_PREFIX: $(ACNCI_MANAGEDIDENTITY_PREFIX)
188190
ACNCI_BUILD_RESOURCEGROUP: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP)
189191
ACNCI_BUILD_RESOURCEGROUP_ID: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP_ID)

.pipelines/templates/mi-build-role.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action",
2727
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action",
2828
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action",
29-
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read",
30-
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write",
31-
"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/delete",
3229

3330
"Microsoft.Storage/storageAccounts/tableServices/tables/entities/read",
3431
"Microsoft.Storage/storageAccounts/tableServices/tables/entities/write",
@@ -43,7 +40,6 @@
4340
"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete",
4441
"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action",
4542

46-
"Microsoft.Storage/storageAccounts/queueServices/queues/messages/*",
4743
"Microsoft.Storage/storageAccounts/queueServices/queues/messages/*"
4844
],
4945
"notDataActions": [],

0 commit comments

Comments
 (0)