Skip to content

Commit 812b470

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent 3871809 commit 812b470

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ steps:
221221
resourceGroupName: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP)
222222
buildTagDefinitionIdKey: $(ACNCI_BUILDTAG_DEFINITIONID)
223223
buildTagCreatedByAppIdKey: $(ACNCI_BUILDTAG_CREATEDBYAPPID)
224+
buildTagCreatedByBuildIdKey: $(ACNCI_BUILDTAG_CREATEDBYBUILDID)
224225

225226
- template: create-or-update-resource.steps.yaml
226227
parameters:
@@ -235,7 +236,7 @@ steps:
235236
inputs:
236237
storageAccountName: '$(ACNCI_SA_PREFIX)$(LOCAL_ACNCI_UNIQUE_ID)'
237238
resourceGroupName: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP)
238-
storageAccountManagedIdentityId: $(managedidentity.ACNCI_MANAGEDIDENTITY_ID)
239+
managedIdentityResourceId: $(managedidentity.ACNCI_MANAGEDIDENTITY_ID)
239240
buildTagDefinitionIdKey: $(ACNCI_BUILDTAG_DEFINITIONID)
240241
buildTagCreatedByAppIdKey: $(ACNCI_BUILDTAG_CREATEDBYAPPID)
241242
buildTagCreatedByBuildIdKey: $(ACNCI_BUILDTAG_CREATEDBYBUILDID)

.pipelines/templates/create-or-update-resource.steps.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ steps:
5252
RESOURCEGROUP_LOCATION: '${{ parameters.inputs.resourceGroupLocation }}'
5353

5454
${{ elseif eq(parameters.resourceType, 'storageaccounts') }}:
55-
MANAGEDIDENTITY_ARMID: '${{ parameters.inputs.storageAccountManagedIdentityId }}'
55+
MANAGEDIDENTITY_ARMID: '${{ parameters.inputs.managedIdentityResourceId }}'
5656
RESOURCEGROUP_NAME: '${{ parameters.inputs.resourceGroupName }}'
5757
RESOURCEGROUP_LOCATION: '${{ parameters.inputs.resourceGroupLocation }}'
5858

@@ -96,7 +96,9 @@ steps:
9696
${{ elseif eq(parameters.resourceType, 'storageaccounts') }}:
9797
inlineScript: |
9898
set -e
99-
[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
99+
#[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
100+
az upgrade -y
101+
az storage account create --help
100102
101103
az storage account create \
102104
--name "$STORAGEACCOUNT_NAME" \

0 commit comments

Comments
 (0)