Skip to content

Commit 232226e

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 5a45957 commit 232226e

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,6 @@ steps:
229229
DEF=$(cat ./azure-container-networking/.pipelines/templates/mi-build-role.json | \
230230
jq -rc '.')
231231
232-
#'.assignableScopes[] = $RESOURCE_GROUP_ID')
233-
#--arg RESOURCE_GROUP_ID "$ACNCI_BUILD_RESOURCEGROUP_ID"
234232
echo $DEF | jq .
235233
if (( $DEFS_FOUND < 1 )); then
236234
az role definition create \

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

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@
1414
"Microsoft.Storage/storageAccounts/tableServices/tables/read",
1515
"Microsoft.Storage/storageAccounts/tableServices/tables/write",
1616
"Microsoft.Storage/storageAccounts/tableServices/tables/delete",
17-
18-
"Microsoft.Network/publicIPAddresses/read",
19-
"Microsoft.Network/virtualNetworks/read",
20-
"Microsoft.Network/loadBalancers/read",
21-
"Microsoft.Network/networkInterfaces/read",
22-
"Microsoft.Compute/virtualMachines/*/read",
23-
"Microsoft.HybridCompute/machines/*/read",
24-
"Microsoft.HybridConnectivity/endpoints/listCredentials/action",
25-
26-
"Microsoft.Compute/*/read",
27-
"Microsoft.Compute/*/write",
28-
"Microsoft.Compute/*/delete",
2917

3018
"Microsoft.ContainerRegistry/registries/pull/read",
3119
"Microsoft.ContainerRegistry/registries/push/write"
@@ -49,14 +37,7 @@
4937
"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete",
5038
"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action",
5139
"Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action",
52-
"Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action",
53-
54-
"Microsoft.Compute/virtualMachines/login/action",
55-
"Microsoft.Compute/virtualMachines/loginAsAdmin/action",
56-
"Microsoft.HybridCompute/machines/login/action",
57-
"Microsoft.HybridCompute/machines/loginAsAdmin/action",
58-
"Microsoft.Compute/virtualMachines/start/action",
59-
"Microsoft.Compute/virtualMachines/restart/action"
40+
"Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action"
6041
],
6142
"notDataActions": [],
6243
"assignableScopes": [

0 commit comments

Comments
 (0)