Skip to content

Commit e2a501d

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 592ee39 commit e2a501d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,18 @@ steps:
233233
jq -rc \
234234
--arg RESOURCEID "/subscriptions/$SUBSCRIPTION_ID" \
235235
'.assignableScopes[] = $RESOURCEID')
236-
cat ./azure-container-networking/.pipelines/templates/mi-build-role.json
237-
echo "next"
238-
echo $DEF | jq .
239236
240237
if (( "$DEFS_FOUND" < 1 )); then
241-
az role definition create \
242-
--role-definition @"$DEF"
238+
az role definition create --role-definition "$DEF"
239+
243240
else if (( "$DEFS_FOUND" > 0 )); then
244-
az role definition update \
245-
--role-definition @"$DEF"
241+
az role definition update --role-definition "$DEF"
242+
246243
else
247244
echo >&2 "##[error]There was an error creating/updating the role definition."
248245
exit 1
249246
fi
247+
echo $DEF | jq .
250248
env:
251249
ACNCI_BUILD_RESOURCEGROUP_ID: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP_ID)
252250

0 commit comments

Comments
 (0)